[FFmpeg-user] DTS discontinuity in stream

Mark Filipak markfilipak.windows+ffmpeg at gmail.com
Sun Apr 19 05:35:45 EEST 2020


Hello,

I've done a 55-telecine and got errors. I don't really know, but they appear to be related to the 
input, not the 55-telecine.

Some samples follow, and the full log is attached as a zip due to its size.

The command line was:
ffmpeg -report -ss 2:58 -analyzeduration 5000000000 -probesize 5000000000 -i 
"G:\BDMV\STREAM\00000.m2ts" -filter_complex 
"telecine=pattern=5,split[A][B],[A]select='not(eq(mod((n+1)\,5)\,3))'[C],[B]select='eq(mod((n+1)\,5)\,3)',pp=linblenddeint[D],[C][D]interleave" 
-map 0 -c:v libx264 -crf 20 -codec:a copy -codec:a:1 pcm_s16be -codec:s copy "C:\AVOut\00000.3.MKV"

The errors manifest in MPV (Ctrl-O) as a total running time that advances (not constant, not 
accurate) so that it just keeps ahead of the actual running time.

Samples of the errors:

[mpegts @ 0000020e685a0040] DTS discontinuity in stream 23: packet 4 with DTS 23490352, packet 5 
with DTS 23957495

[matroska @ 0000020eea2fd040] Starting new cluster due to timestamp

Your advice is very appreciated.

Regards,
Mark.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 00000.3.LOG.ZIP
Type: application/zip
Size: 54493 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20200418/14adb292/attachment.zip>


More information about the ffmpeg-user mailing list