ffmpeg command line for reduce video for a smartphone
Preston Hagar
prestonh at gmail.com
Wed Aug 14 15:47:21 UTC 2013
I use
/usr/local/bin/ffmpeg -threads 4 -i $i -f mp4 -vcodec libx264 -r 29.97 -b:v
900k -s 720x404 -acodec libfaac -ar 48000 -ab 128k -ac 2 -async 48000 "$o"
Where $i is the input file and $o is the output filename.
to transcode files for my android tablet. The file size ends up pretty
small and it is still decent quality for the 10" screen. You might could
start from that and play with the -b:v (video bitrate) and -s (size).
Bigger numbers is better quality, but larger file size.
On Tue, Aug 13, 2013 at 1:48 PM, Luis Miguel Cruz Miranda <luismcm at imasd.net
> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Any recommendation?
> I would like to reduce some videos to carry them on my smartphone.
> I am not really interested on 720p, I am interested on size mostly.
>
> - --
> Luis Miguel Cruz Miranda
> GPG 0x6C08F418
>
> -----BEGIN PGP SIGNATURE-----
>
> iQEcBAEBAgAGBQJSCn9rAAoJEBosOHBsCPQYf+0IAL3w98Wz0iBwtMShc9GI8DMI
> EEssNNDDVsIGc7tpqzQJuw6isxvsTXljuoGq50ZjL2DBBvHu6zacdTQAlSwNy7P2
> rf+bWA8OiGySU5lHHIXlucACq9FCeLVQgzfgPS2c1d9eMPDuXamuOw/7UyiJDtcl
> ACIB0z4wS9NppAS1SZ44p9+Hi9RRxQTSuL25+ynl4FpkDI5HQ4lNqvwTuPr+UPT8
> RVAw5d4I/P07+LH1hG0biqriZZwMZHek1+AQheOX0PRph6rRQSGAJcZRrajnBECG
> glFwhujtXIgVKIGcSfIJ1f6CT8oHewIe/2POhMoTybwiOFKEPStEDUX2xK5C7yg=
> =dRVW
> -----END PGP SIGNATURE-----
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20130814/a8ee44a2/attachment.html>
More information about the ubuntu-users
mailing list