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

Peter Robinson pjr at itee.uq.edu.au
Wed Jul 10 20:51:29 EDT 2013


On 11/07/13 10:46, Russell Stuart wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and     ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
> 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
> "avconv".
>
>
>

I have used handbrake in the past to do similar things - it has a GUI 
and CLI




More information about the General mailing list