[H-GEN] command to convert a video file to mp4 format

Russell Stuart russell-humbug at stuart.id.au
Wed Jul 10 20:46:59 EDT 2013

On Thu, 2013-07-11 at 10:23 +1000, Nick Lawrence wrote:
> A friend once gave me a command to run in a bash script that converted
> a video file to mp4 format.
> ffmpeg -i "${TARGET}" -r 25 -vcodec libx264 -acodec libfaac -threads 0
> -ar 48000 -ab 128k -ac 2 -y -crf 18 "${TARGET%.*}.iPad.mp4"

ffmpeg has been forked by it's debian maintainer to a new package called
avconv.  Avconv hasn't diverged too much from ffmpeg yet, so the command
line parameters are almost identical.  Ie, just replace "ffmpeg" with

More information about the General mailing list