]> code.delx.au - transcoding/commitdiff
Added a new profile: ipod264 (note: this is still a work in progress)
authorGreg Darke <greg+laptop@tsukasa.net.au>
Sat, 11 Oct 2008 05:21:02 +0000 (16:21 +1100)
committerGreg Darke <greg+laptop@tsukasa.net.au>
Sat, 11 Oct 2008 05:21:02 +0000 (16:21 +1100)
encode.py

index 74b6f981d3a3c3a944f9aa05b3bf58d8e52395fb..17222a416b4ef0952206f6cc077953fe58eae0c5 100755 (executable)
--- a/encode.py
+++ b/encode.py
@@ -94,6 +94,14 @@ profiles = {
                acodec="faac",
                aopts="br=%(abitrate)d:mpeg=4:object=2",
        ),
+       "ipod264" :
+       Profile(
+               CommandClass=MencoderCommand,
+               vcodec="x264",
+               vopts="bitrate=%(vbitrate)d:me=umh:threads=auto:partitions=all:trellis=1:subq=7:bframes=1:direct_pred=auto",
+               vcodec="faac",
+               aopts="br=%(abitrate)d:mpeg=4:object=2",# "-channels", "2", "-srate", "48000",
+       ),
 }