[FFmpeg-trac] #7449(undetermined:new): copyts fails if PCR near rollover

FFmpeg trac at avcodec.org
Thu Sep 20 14:37:16 EEST 2018

#7449: copyts fails if PCR near rollover
             Reporter:  jafa          |                     Type:  defect
               Status:  new           |                 Priority:  normal
            Component:  undetermined  |                  Version:  3.4
             Keywords:  copyts pcr    |               Blocked By:
             Blocking:                |  Reproduced by developer:  0
Analyzed by developer:  0             |
 When the -copyts option is used and the PCR is near the rollover point
 (doesn't need to rollover, just be near it)  ffmpeg appears to drop every
 video frame and fails to produce video output.

 ffmpeg version 3.4.4 (Ubuntu 18.04)

 Command: ffmpeg -i pcr_near_rollover.ts -copyts -c:v libx264 -c:a copy

 Input media: https://download.silicondust.com/tmp/pcr_near_rollover.ts

 The output file is small containing the audio but no video. Debug output
 shows a large number of "cur_dts is invalid" messages and "dropping frame
 0" messages.

 Removing -copyts produces valid video.

 Supply an input file with a PCR further away from the rollover produces
 valid video.

Ticket URL: <https://trac.ffmpeg.org/ticket/7449>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list