Starting with audio, important stuff only:
- Average bitrate on AAC audio must be 96 - 160 kbps.
That gives us (together with what you already found):
-oac faac -faacopts br=160:mpeg=4:object=2 -channels 2 -srate 48000
Let's see what the document specifies for video — I've stripped out the unimportant parts:
- No setting can go below what is specified by
--preset slow
- Keyframe interval (
--keyint
) must be at least 200 and at most 300.
- Constant Rate Factor (
--crf
) must be as follows
- High - 19-20 - Scripted, Talk Shows, Poker, Animation
- Medium - 21-22 - Documentary, Reality, Variety
- Low - 23-24 - Sports, Awards, Live Events, Competitive, Reality
- Level 3.1 must be respected
So, that should be about it:
-ovc x264 -x264encopts pass=1:preset=slow:keyint=200:crf=19:level_idc=31
Don't forget to change the keyframe interval and CRF accordingly, depending on your source video. You may want to add to the x264 options: colormatrix=bt709
1
I'm no mencoder expert, but they have a list of x264 options — so you'd just have to translate those. Especially audio, framerate, codec and resolution don't really have to do with x264. These should be the options you're used to from using XviD with mencoder.
– slhck – 2012-04-24T11:43:50.443nice link. Yes audio would be AAC – Manu – 2012-04-24T11:56:33.300
For the audio (AAC) I've found : -oac faac -faacopts br=192:mpeg=4:object=2 -channels 2 -srate 48000 – Manu – 2012-04-24T12:08:18.387