[FFmpeg-trac] #10886(ffmpeg:open): Transcoding video to x264 results in 1 second of frozen frames
FFmpeg
trac at avcodec.org
Wed Feb 28 17:55:05 EET 2024
#10886: Transcoding video to x264 results in 1 second of frozen frames
---------------------------------------+----------------------------------
Reporter: Yuri Gorokhov | Owner: (none)
Type: defect | Status: open
Priority: important | Component: ffmpeg
Version: git-master | Resolution:
Keywords: | Blocked By:
Blocking: 7.0 | Reproduced by developer: 0
Analyzed by developer: 0 |
---------------------------------------+----------------------------------
Description changed by Yuri Gorokhov:
Old description:
> Summary of the bug:
>
> Transcoding to x264 on 6.1.1 introduces frozen frames.
> Exact same steps on 6.0.1 produces correct video (no frozen frames)
>
> Details, repro step and sample videos are located here:
> https://github.com/yurigorokhov/ffmpeg_bug
>
> ffmpeg version 6.1.1
> built on alpine linux
New description:
Summary of the bug:
Transcoding to x264 on git-master introduces frozen frames.
Exact same steps on 6.0.1 produces correct video (no frozen frames)
Repro-steps:
Download input video: https://github.com/yurigorokhov/ffmpeg_bug/raw/main
/input-1fps.mov
Run ffmpeg encoding command:
{{{#!div style="font-size: 80%"
Code highlighting:
{{{#!bash
ffmpeg -y -ignore_editlist true \
-i /work/input-1fps.mov -r 30 \
-vcodec libx264 \
-x264opts keyint=30:scenecut=0 \
-crf 34 \
-vf "setpts=(N/(30*TB)),format=pix_fmts=yuv420p" \
/work/output.mov
}}}
}}}
Please note the frozen frames in the output video.
Further details, repro step and sample videos are located here:
https://github.com/yurigorokhov/ffmpeg_bug
ffmpeg version 6.1.1
built on alpine linux
--
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10886#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list