[MEncoder-users] Script for h264 conversion for mencoder

Cameron Just lists.mplayerhq.hu at spam.phoenixdigital.com
Sun Jan 20 14:16:56 CET 2008


Hi,

I have been trying and searching for the last two months to try and get 
mencoder to encode a file in the h264 format that works within the 
xbox360 media player but just can't seem to get it to work.

I have googled and found something close in this list however I can't 
seem to contact the people who found a solution using ffmpeg
http://lists.mplayerhq.hu/pipermail/mencoder-users/2007-May/005957.html

This is the current script I am using but it just wont play on the 360

mencoder.exe input.avi -o NUL -passlogfile "2pass.log" -nosound -ovc 
x264 -x264encopts 
subq=4:bframes=4:b_pyramid:weight_b:pass=1:psnr:bitrate=350:turbo=1

mencoder.exe "input.avi" -o "output.mp4" -aspect 16:9 -passlogfile 
"2pass.log"  -oac lavc -lavcopts acodec=ac3:abitrate=192 -ovc x264 
-x264encopts 
subq=5:4x4mv:8x8dct:frameref=3:me=2:bframes=4:b_pyramid:pass=2:psnr:bitrate=350 
-vf crop=392:568:70:3,scale=392:296

The container the 360 claims to handle can be found here 
http://blogs.msdn.com/xboxteam/archive/2007/05/09/spring-07-video-playback-faq.aspx

Xbox 360 supports the following for H.264:
·         File Extensions: .mp4, .m4v, mp4v, .mov
·         Containers: MPEG-4, QuickTime
·         Video Profiles: Baseline, main, and high (up to Level 4.1) 
profiles.
·         Video Bitrate: 10 Mbps with resolutions of 1920 x 1080 at 
30fps. See question number 6 for more information.
·         Audio Profiles: 2 channel AAC low complexity (LC)
·         Audio Max Bitrate: No restrictions. See question number 6 for 
more information.


Does anyone have a script or any idea what is wrong with my current method?


Thankyou



More information about the MEncoder-users mailing list