[FFmpeg-devel] [PATCH] add uuid box to MP4 to make h.264 play on iPod

İsmail Dönmez ismail
Sun Feb 24 19:07:47 CET 2008


Hi,

On Sun, Feb 24, 2008 at 8:05 PM, Mark Himsley <mark at mdsh.com> wrote:
> ?smail D?nmez wrote:
>  > Hi,
>  >
>  > On Sun, Feb 24, 2008 at 6:41 PM, Mark Himsley <mark at mdsh.com> wrote:
>  >
>  >> Michael Niedermayer wrote:
>  >>  > On Sat, Feb 23, 2008 at 12:14:43PM +0000, Mark Himsley wrote:
>  >>  >
>  >>
>  >>
>  >>>> -    else if(track->enc->codec_id == CODEC_ID_H264)
>  >>>>
>  >>  >> +    else if(track->enc->codec_id == CODEC_ID_H264) {
>  >>  >>          mov_write_avcc_tag(pb, track);
>  >>  >> +        if(track->mode == MODE_IPOD)
>  >>  >> +            mov_write_uuid_tag_ipod(pb);
>  >>  >> +    }
>  >>  >>
>  >>  >
>  >>  > Why is this h.264 specific?
>  >>  >
>  >>
>  >>  Because, as I understand it, the uuid tag is only required by Apple for
>  >>  H.264 material.
>  >>
>  >
>  > As far as I know MPEG2 video files are not affected by this UUID crap.
>  > And iPod only supports MPEG2 & H.264.
>  >
>
>  No it doesn't. IPod also accepts MPEG4 part 2.
>
>  As Apple say[1] "iPod can play the following video formats [...] MPEG-4
>  video, up to 2.5 Mbps, 640 x 480, 30 frames per sec [...] in .m4v, .mp4,
>  and .mov file formats"
>
>  [1] http://www.apple.com/quicktime/tutorials/creatingvideo.html

Yes I meant to say MPEG4, sorry.


-- 
Never learn by your mistakes, if you do you may never dare to try again



More information about the ffmpeg-devel mailing list