[FFmpeg-user] ts discontinuity indicator

Jeremy Greene jeremy at ZeeVee.Com
Mon Nov 17 21:15:47 CET 2014

It appears that ffmpeg does not fully support the discontinuity indicator (DI) in the afc. In libavformat/mpegts.c::handle_packet(), if the DI is set, it does ignore discontinuity in the continuity counter.

But it should also ignore a discontinuity in the PCR (and PTS/DTS). Is this a known issue? I see that the default for ffplay is to ignore the pcr, but if the afc discontinuity indicator is set, then the pts and dts should also be allowed  a discontinuity.


More information about the ffmpeg-user mailing list