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

Takashi Mochizuki mochi
Thu Feb 10 23:24:46 CET 2011


Thank you for your testing.

AFAIK, QuickTime engine treats every frame as SYNC, if there is no stts atom. (Makes broken seek defect)
Thus, current movenc's implementation does not make sense for partial sync atom.
First sample should be marked as sync, not partial sync. It is mandatory for every mov file.


Here is fixed patch.

- Mark first sample as sync for OpenGOP MPEG2
- Treat NOPTS P-frame in MPEG2 stream correctly

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

Would you plz try it again?

Takashi Mochizuki

More information about the ffmpeg-devel mailing list