lconvert

Crates.iolconvert
lib.rslconvert
version0.2.1
sourcesrc
created_at2024-10-07 18:17:25.256496
updated_at2024-10-26 23:49:36.349364
descriptionA cli tool for converting multiple files (with different extensions) at once
homepagehttps://github.com/hodojek/lconvert
repositoryhttps://github.com/hodojek/lconvert
max_upload_size
id1400329
size57,733
(hodojek)

documentation

README

lconvert Crates.io Version Crates.io Total Downloads

A cli tool that simplifies usage of FFmpeg for multiple files

Features

Multiple file conversion

  • files with an extension to another extension
  • files with different extensions to another extension
  • files with different extensions to different extensions
  • files in directories

Output patterns

You can control where the output files go with patterns like "outdir/{{out-ext}}/{{file}}". The placeholders in {{curly brackets}} will be replaced and a subdirectory for every output extension will be created with only the files that have that extension in it. See more placeholders with '--help'

Custom FFmpeg options

Allows you to apply FFmpeg options (such as changing bitrate, resolution, etc...) to multiple files at once

glob expansion

Expands glob expressions

Parallel execution

Runs multiple FFmpeg instances at once for fast conversion time

Progress bar

And it has a progress bar, yes

Requirements

You will need ffmpeg and ffprobe executables downloaded and avalable through the PATH variable

You will need cargo if you want to install lconvert from source (not needed for binary releases)

Installation

Binary

Download binary release for your os from releases

Install with cargo

cargo install lconvert

Build yourself

git clone https://github.com/hodojek/lconvert.git 
cd lconvert
cargo build --release

You will find lconvert executable in ./target/release directory

Examples

Simple Pattern

Commit count: 30

cargo fmt