[x264-devel] Generating H264 for iPad?

Reindl Harald h.reindl at thelounge.net
Thu Feb 23 16:24:07 CET 2012



Am 23.02.2012 16:13, schrieb Jason Garrett-Glaser:
>> ffmpeg -i 'inputfile.mp4' -y -vb '448k' -ab '96k' -ar '44100' -ac '2' -r '25' -async '1' -maxrate '544k' -f 'ipod'
>> -vcodec 'libx264' -acodec 'libfaac' -flags '+loop+mv4' -cmp '256' -partitions
>> '+parti4x4+parti8x8+partp4x4+partp8x8+partb8x8' -me_method 'hex' -me_range '16' -subq '7' -trellis '1' -refs '5' -g
>> '250' -keyint_min '25' -sc_threshold '40' -i_qfactor '0.71' -qcomp '0.6' -qmin '0' -qmax '69' -qdiff '4' -bufsize
>> '2M' -directpred '3' -rc_lookahead '50' -threads '2' -coder '0' -bf '0' -flags2 '-wpred-dct8x8' -wpredp '0'
>> 'outputfile.mp4'
> 
> This commandline is a massive pile of junk and anyone who uses it is
> beyond clueless.
> 
> Use the -preset, -profile, etc options, not a huge pile of cargo-cult options.

but it works

the damned -preset / -profile parameters including their
x264-values are changing permanently - this way you can
NEVER make a useful wrapper without maintain hughe
code-switches and ways control them by a specific
ffmpeg-version

> A bunch of these options don't even apply to x264, i.e. they do
> nothing at all.  Read the documentation!

which?
most of them are FROM teh preset-files previously existed!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20120223/76f558ec/attachment.pgp>


More information about the x264-devel mailing list