[MPlayer-DOCS] Re: Draft: iPod encoding guide

Michael Niedermayer michaelni at gmx.at
Sat Feb 10 21:16:43 CET 2007


Hi

On Wed, Feb 07, 2007 at 10:54:50PM +0100, Guillaume POIRIER wrote:
> Hi,
> 
> On 2/7/07, Michael Niedermayer <michaelni at gmx.at> wrote:
> >Hi
> >
> >On Thu, Jan 11, 2007 at 07:22:27PM -0500, Mark Pilgrim wrote:
> >> Oh hell, I found some stupid copy-and-paste errors.  Just ignore draft
> >> 1 and let's all start the discussion with draft 2 (attached).
> >>
> >> --
> >> Cheers,
> >> -Mark
> >
> >[...]
> >> +<para>
> >> +  The iPod 5G supports two video formats: MPEG-4 ASP (such as DivX or 
> >Xvid)
> >
> >do we have to mention 2 random mpeg4 implemenattions here?
> 
> ;-)
> 
> 
> >> +  and MPEG-4 AVC (commonly called H.264).  It supports two audio 
> >formats:
> >> +  MP3 and AAC.  But it only support one container format: MP4.  This 
> >guide
> >> +  will explain how to create iPod-compatible files with H.264 video and 
> >AAC
> >> +  audio in an MP4 container.  <application>MEncoder</application> can 
> >not
> >> +  create iPod-compatible MP4 files directly, but you can use
> >> +  <application>MEncoder</application> to create the video and audio, 
> >and then
> >> +  use an external program such as <application>mp4creator</application> 
> >to
> >> +  remux into an MP4 container.</para>
> >
> >this is not true, i do have a ipod and mencoder can with lavf generate 
> >working
> >.mp4 files, so please remove this nonsense and use mencoder with lavf, if 
> >it
> >doesnt work send a bugreport and ill fix it
> 
> Did you save the commandline you used to encode for iPod?

no, but heres a new working one

mencoder somevideo.avi -ovc lavc -oac lavc -lavcopts vcodec=mpeg4:v4mv:mbd=2:trell:aic=2:cmp=2:subcmp=2:acodec=aac:vglobal=1:aglobal=1:vbitrate=1000:abitrate=128 -vf scale=320:180 -of lavf -lavfopts i_certify_that_my_video_stream_does_not_use_b_frames -info name=menctest -o menctest.mp4

the resolution can be increased upto 320x240, lame and x264 should work too
some options are just for quality (v4mv, trell, ...) they can of course be 
ommited
audio sampling rate was 48khz in my test case
fps was 24000/1001 in my case and AV sync was correct

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-docs/attachments/20070210/514a98eb/attachment.pgp>


More information about the MPlayer-DOCS mailing list