Opened 4 months ago

#11037 new defect

setpts filter breaks input framerate detection

Reported by: enchiladasqualid Owned by:
Priority: normal Component: undetermined
Version: 7.0 Keywords: framerate fps regression
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

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

Attachments (2)

ffmpeg-7.0.1-20240529-070142_truncated.log (1.7 MB ) - added by enchiladasqualid 4 months ago.
ffmpeg 7.0.1 logfile
ffmpeg-6.1.1-20240529-070322_truncated.log (2.0 MB ) - added by enchiladasqualid 4 months ago.
ffmpeg 6.1.1 logfile

Change History (2)

by enchiladasqualid, 4 months ago

ffmpeg 7.0.1 logfile

by enchiladasqualid, 4 months ago

ffmpeg 6.1.1 logfile

Note: See TracTickets for help on using tickets.