[FFmpeg-cvslog] r17967 - trunk/libavformat/mxfenc.c

Reimar Döffinger Reimar.Doeffinger
Sun Mar 15 22:24:48 CET 2009


On Sun, Mar 15, 2009 at 02:22:14PM -0700, Baptiste Coudurier wrote:
> Reimar D?ffinger wrote:
> > On Sun, Mar 15, 2009 at 02:02:51PM +0100, Reimar D?ffinger wrote:
> >> Btw. your mxf_parse_mpeg2_frame could probably make good use of the
> >> mpegvideo.h header, in particular ff_find_start_code, EXT_START_CODE,
> >> GOP_START_CODE, SEQ_START_CODE and PICTURE_START_CODE.
> > 
> > Also, going by the code in mpeg12enc.c
> >> if (pkt->data[i+4]>>6 & 0x01) // closed
> > is wrong, it should be
> >> if (pkt->data[i+4]>>7)
> > closed gop is the highest bit, the one you check should be "broken
> > link".
> 
> I think you are wrong, time code is 25 bits. >> 7 is the last timecode
> picture bit. So closed gop is correct.

Sorry, forgot to count the "drop frame flag", you are right.




More information about the ffmpeg-cvslog mailing list