#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 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
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
The input video is at 1fps (that is expected)
Run ffmpeg encoding command:
{{{#!div style="font-size: 80%"
{{{#!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:4>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
FFmpeg-trac@avcodec.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-trac
To unsubscribe, visit link above, or email
ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".