#11421 closed defect (fixed)

ffmpeg 7.1 fps bug

Reported by: 张文兵 Owned by:
Priority: normal Component: undetermined
Version: 7.1 Keywords: fps
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

ffmpeg version n7.1 Copyright (c) 2000-2024 the FFmpeg developers

% ffmpeg -i xxx.mp4  -c:v libx264 -crf 23 -vf scale=1920:1080,fps=fps=25,format=yuv422p10le -map 0:v:0 -c:a pcm_s16le -b:a 1536000 -ar 48000 -map "0:a?" -y v4.mp4

After adding the fps filter, the transcoded file will have one less frame of data.

Change History (2)

comment:1 by Nicolas Gaullier, 12 months ago

You can try any recent ffmpeg version, it will almost certainly fix this issue.
Please confirm.
See https://github.com/FFmpeg/FFmpeg/commit/de976eaf30df33e86c58c8c9af9905c1d8441934
(this fix was backported to 7.1.1)

comment:2 by Nicolas Gaullier, 12 months ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.