From: Greg Darke Date: Sun, 12 Oct 2008 02:33:40 +0000 (+1100) Subject: Fixed the ipod264 profile, it is now able to encode files that work on an iPod touch... X-Git-Url: https://code.delx.au/transcoding/commitdiff_plain/c05a687ea8350dbeca6021b823c0f8aab8237026 Fixed the ipod264 profile, it is now able to encode files that work on an iPod touch (in h264) --- diff --git a/encode.py b/encode.py index 35a95e4..fc3b7c8 100755 --- a/encode.py +++ b/encode.py @@ -102,9 +102,10 @@ profiles = { Profile( CommandClass=MencoderCommand, vcodec="x264", - vopts="bitrate=%(vbitrate)d:me=umh:threads=auto:partitions=all:trellis=1:subq=7:bframes=1:direct_pred=auto", + vopts="bitrate=%(vbitrate)d:vbv_maxrate=1500:vbv_bufsize=2000:nocabac:me=umh:partitions=all:trellis=1:subq=7:bframes=0:direct_pred=auto:level_idc=30:global_header:turbo", acodec="faac", - aopts="br=%(abitrate)d:mpeg=4:object=2",# "-channels", "2", "-srate", "48000", + aopts="br=%(abitrate)d:mpeg=4:object=2:raw", + extra=['-of', 'lavf', '-lavfopts', 'format=mp4', '-channels', '2', '-srate', '48000'] ), }