[MEncoder-users] XBOX 360 transcode

Michael Archibeque michael.archibeque at gmail.com
Tue May 22 20:29:36 CEST 2007


Hello,

I have a script I use using FFMPEG and it works on the 360.  Lert me know
and I'll post it if you want.

Michael

On 5/22/07, Pawel Pietkiewicz <pawel.pietkiewicz at gmail.com> wrote:
>
> Has anyone figured a way to make compliant movies for the 360? If the link
> does not work than here is another working one:
> http://platen.ath.cx/files/hotfuzzsample.mp4
>
> Thanks,
> Pawel
>
> On 5/15/07, Pawel Pietkiewicz <pawel.pietkiewicz at gmail.com> wrote:
> >
> > A sample which plays perfectly under XBOX 360 (converted using VisualHub
> > for Mac) can be found at:
> > http://platinum.emulate.us/files/hotfuzzsample.mp4
> >
> > These are the tech specs I've gathered from the XBOX dev team's blog
> > (
> 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.
> >
> > ·          Audio Profiles: 2 channel AAC low complexity (LC)
> >             ·          Audio Max Bitrate: No restrictions.
> >
> > Not sure if this is going to help, but here is data from the head of
> > VisualHub's log file:
> >
> > FFmpeg version SVN-r8335, Copyright (c) 2000-2007 Fabrice Bellard, et
> al.
> > libavutil: 49.3.0, libavcodec: 51.38.0, libavformat: 51.10.0
> > built:Mar 11 2007 19:51:18, gcc: 4.0.1 (Apple Computer, Inc. build
> 5367),
> > i386
> > Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/pawel/Desktop/p-
> > hf-sample.mp4':
> > Duration-75
> > start-0.000000
> > bitrate-990
> >
> > 0.0,,,(und),,Video,h264,yuv420p,640,272,25.00
> > 0.1,,,(und),,Audio,aac,48000,2
> >
> > '/Applications/VisualHub.app'/Contents/Resources/movtoy4m -w 640 -h 272
> -F
> > 25:1 -a 640:272 '/Users/platen/Desktop/''p-hf-sample.mp4' |
> > '/Applications/VisualHub.app'/Contents/Resources/yuvcorrect -Y
> > LUMINANCE_1.15_0_255_0_255 -Y CHROMINANCE_0_1.04_128_1.04_128_0_255 2>
> > /dev/null | '''/Library/Application Support/Techspansion/'vh123ffmpeg
> -y  -f
> > yuv4mpegpipe  -i - -threads 4  -t 120      -s 640x272 -aspect 640:272
> -r
> > 25   -vcodec h264  -g 200  -qmin 8  -b 870k  -bf 1 -level 41  -loop 1
> > -sc_threshold 40 -partp4x4 1 -rc_eq 'blurCplx^(1-qComp)' -refs 3  -qmax
> > 51    -async 50  -i /tmp/vhtemp/1179286057/' p-hf-sample.mp4
> '.wav  -acodec
> > aac  -ar 48000 -ac 2 -ab 128k    '/Users/pawel/Desktop/'/'
> p-hf-sample.mp4'.temp.mp4
> > 2>> /tmp/vhtemp/1179286057/visualhub_time  ; echo done >
> > /tmp/vhtemp/1179286057/visualhub_working
> > FFmpeg version SVN-r8335, Copyright (c) 2000-2007 Fabrice Bellard, et
> al.
> > libavutil: 49.3.0, libavcodec: 51.38.0, libavformat: 51.10.0
> > built:Mar 11 2007 19:51:18, gcc: 4.0.1 (Apple Computer, Inc. build
> 5367),
> > i386
> > Input #0, yuv4mpegpipe, from 'pipe:':
> > Duration-NA
> > bitrate-NA
> >
> > 0.0,,,,,Video,rawvideo,yuv420p,640,272,25.00
> > Input #1, wav, from '/tmp/vhtemp/1179286057/p-hf-sample.mp4.wav':
> > Duration-75
> > start-0.000000
> > bitrate-1536
> >
> > 1.0,,,,,Audio,pcm_s16le,48000,2,1536
> > Output #0, mp4, to '/Users/pawel/Desktop//p-hf-sample.mp4.temp.mp4':
> > 0.0,,,,,Video,h264,yuv420p,640,272, q=8-51,25.00
> > 0.1,,,,,Audio,aac,48000,2,128
> > Stream mapping:
> >   Stream #0.0 -> #0.0
> >   Stream #1.0 -> #0.1
> > [h264 @ 0x573f94]using SAR=1/1
> > [h264 @ 0x573f94]using cpu capabilities MMX MMXEXT SSE SSE2
> >
> > Let me know if there is anything else that may be of use. I've tried
> > fiddling with more mencoder options, but somehow all the files come out
> to
> > be noncompliant.
> >
> > Thanks,
> > Pawel
> >
> > On 5/15/07, Joey Parrish <joey.parrish at gmail.com> wrote:
> > >
> > > On 5/15/07, John Brown <johnbrown105 at hotmail.com> wrote:
> > > > >From: "Pawel Pietkiewicz" <pawel.pietkiewicz at gmail.com >
> > > > >Thanks, but that still didn't solve the problem. I've ran the
> command
> > > > >without the passes and the 360 says the file is invalid. It plays
> > > fine in
> > > > >VLC and mplayer.
> > > >
> > > > Sorry - I was just trying to fix the error in the MEncoder output. I
> > > have no
> > > > idea
> > > > how to make an XBOX 360-compatible movie.
> > >
> > > Agree.  If you had, say, technical specs about what the 360 _can_
> > > tolerate, or a sample of a video the 360 tolerates, we could maybe
> > > help you produce good content.
> > >
> > > --Joey
> > > _______________________________________________
> > > MEncoder-users mailing list
> > > MEncoder-users at mplayerhq.hu
> > > http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
> > >
> >
> >
> >
> > --
> > Pawel Pietkiewicz
> > AIM Screename: xLXXXII
> > JABBER/GoogleTalk: pawel.pietkiewicz at gmail.com
> >
>
>
>
> --
> Pawel Pietkiewicz
> AIM Screename: xLXXXII
> JABBER/GoogleTalk: pawel.pietkiewicz at gmail.com
> _______________________________________________
> MEncoder-users mailing list
> MEncoder-users at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mencoder-users
>



More information about the MEncoder-users mailing list