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

Takashi Mochizuki mochi
Fri Feb 11 06:35:59 CET 2011


>I think the following is even more simpler:

Oh my... I agree now. Thank you. Patch is updated.

>What's the other change about ?
>If it's about missing pts, you can compute it correctly from the other 
>samples, mpeg-2 reordering is simple.

Yes, this patch is for:
 - Mark first sample as sync for OpenGOP MPEG2
 - Treat NOPTS P-frame in MPEG2 stream correctly

I am not sure more simpler way to calculate delayed frame's pts value.
Would you please give me any idea?

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

Takashi Mochizuki

More information about the ffmpeg-devel mailing list