[FFmpeg-devel] [PATCH] Re: movenc.c: Allow MPEG2.mov playable under QuickTime Player

Takashi Mochizuki mochi
Fri Feb 11 03:31:59 CET 2011


>if (trk->entry == 0)
>     trk->cluster[0].flags = MOV_SYNC_SAMPLE;

Thanks. Patch updated.


>No they can't, if this is the case, your file is actually _closed gop_ 
>but not marked as so.

I uses following test clip (mpeg2+mp2).ts.

http://www003.upp.so-net.ne.jp/mycometg3/ts-remux.zip

With/Without Apple MPEG2 Playback component, it seems to be playable by 
QuickTime Player X/QuickTime Player 7 with Perian. Is this not true OpenGOP?


>FCP uses it for exactly that same reason, except that it will _keep_ the 
>keyframe before so the 2 b frames can be decoded.

OK. I don't have FCP though, current movenc.c build both ctls atom and edls atom.
Please check above sample by FCP. 


Takashi Mochizuki

-------------- next part --------------
A non-text attachment was scrubbed...
Name: patches.diff
Type: application/octet-stream
Size: 3098 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110211/3bab5d29/attachment.obj>



More information about the ffmpeg-devel mailing list