[FFmpeg-trac] #1975(avfilter:new): yadif placement after -i results in timing errors

FFmpeg trac at avcodec.org
Wed Nov 28 18:32:55 CET 2012

#1975: yadif placement after -i results in timing errors
             Reporter:  dpury        |                     Type:  defect
               Status:  new          |                 Priority:  normal
            Component:  avfilter     |                  Version:
             Keywords:  yadif pts    |  unspecified
  dts invalid dropping               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
 When using yadif after the input file, pts errors are encountered.  On
 long files this results in a/v sync issues.  If I move the yadif filter to
 before the input file, the errors are not present.  Output format doesn't
 seem to matter; I've seen it when making MPEG-2 PS and TS files, as well
 as MP4 files. As a workaround, I've been using yadif before the input, and
 another -filter:v after the input to do scale and setdar.

 Report files attached.

 This command
 ffmpeg -report -i C:\ffmpeg\bin\bip_3s.mxf -filter:v yadif=0

 produces errors like this:
 PTS 14, next:440000 invalid dropping st:0
 PTS 17, next:560000 invalid dropping st:0
 PTS 20, next:680000 invalid dropping st:0
 PTS 23, next:800000 invalid dropping st:0

 While this command
 ffmpeg -report -filter:v yadif=0 -i C:\ffmpeg\bin\bip_3s.mxf -y

 produces no errors.

 Thank you,


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

More information about the FFmpeg-trac mailing list