[H-GEN] command to convert a video file to mp4 format
David Harrison
davidharrison at gmail.com
Wed Jul 10 21:35:59 EDT 2013
Try:
ffmpeg -threads [NUMTHREADS] -y -preset slow -i [SOURCEFILE] -s 640x360 -r
25 -b 600K -ab 96K -strict experimental [DESTFILE]
(Customise resolution, framerate, bitrate and audio bitrate to suit.)
I'm using this now with a semi-recent build of ffmepg, so depending on what
era your binary was released it might just magically work. Unfortunately
they seem to change command line options regularly.
Another poster suggested Handbrake; it has a good CLI mode and is basically
just a wrapper around ffmpeg/x264 - it will simplify a lot of encodes if
you don't mind installing another application.
--
dave
On Thu, Jul 11, 2013 at 10:23 AM, Nick Lawrence <n1cklawr3nc3 at gmail.com>wrote:
> [ Humbug *General* list - semi-serious discussions about Humbug and ]
> [ Unix-related topics. Posts from non-subscribed addresses will vanish. ]
>
>
> Hi all,
>
> 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"
>
> This worked fine on my debian system.
>
> But now I've got Ubuntu, and the same command doesn't work any more.
>
> Is there a way of getting it to work? Or a different method of achieving
> the same result?
>
> Ta,
> nick
>
> _______________________________________________
> General mailing list
> General at lists.humbug.org.au
> http://lists.humbug.org.au/mailman/listinfo/general
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.humbug.org.au/pipermail/general/attachments/20130711/00c67cf8/attachment.html>
More information about the General
mailing list