#11037: setpts filter breaks input framerate detection
-------------------------------------+-------------------------------------
             Reporter:               |                     Type:  defect
  enchiladasqualid                   |
               Status:  new          |                 Priority:  normal
            Component:               |                  Version:  7.0
  undetermined                       |
             Keywords:  framerate    |               Blocked By:
  fps regression                     |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
 **Summary of the bug:**
 When setpts filter is used input framerate is not detected. Other filters
 (tested handful) do not cause this. Different encoders (tested libx264,
 libx265) do not impact this.
 Issue present in 7.0, 7.0.1, and master but not in 6.1.1.
 The following message is produced {{{No information about the input
 framerate is available. Falling back to a default value of 25fps. Use the
 -r option if you want a different framerate.}}}

 Log Excerpt
 [graph 0 input from stream 0:0 @ 0000029e304b9f40] TB:0.000011
 FRAME_RATE:60.000000 SAMPLE_RATE:nan
 [graph 0 input from stream 0:0 @ 0000029e304b9f40] video frame properties
 congruent with link at pts_time: 0
 [vost#0:0/libx264 @ 0000029e304bb600] No information about the input
 framerate is available. Falling back to a default value of 25fps. Use the
 -r option if you want a different framerate.


 **How to reproduce:**
 {{{
 % ffmpeg -i "Big Buck Bunny - FULL HD 60FPS.mp4" -vf "setpts=PTS-STARTPTS"
 -c:v libx264 output.mp4
 ffmpeg version 7.0.1-full_build-www.gyan.dev Copyright (c) 2000-2024 the
 FFmpeg developers
 }}}
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/11037>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to