Convert media files with ffmpeg and GNU parallel, sync them via rsync to a mountpoint

GallaFrancesco authored on 8 Apr
README.md c 7 months ago
install.sh install + dir creation 5 months ago
rconvert install + dir creation 5 months ago
README.md

rconvert

Use ffmpeg to convert a set of media files from one format (IN) to another (OUT), then send them to a mountpoint via rsync.

Usage: rconvert [dir1] [dir2] ... [dirN]

Each directory must contain some 'files.IN' to convert to 'files.OUT'.

Each file in [dir...] matching the .IN extension will be converted inside [dir...].

The conversion process uses GNU parallel with NPROC tasks.

[dir...] will be replicated to the destination target with files matching the .OUT extension.

Default behavior is flac to mp3 conversion.

Configuration: edit $IN, $OUT, $TARGET, $BASEDIR, $NPROC in 'rconvert'