#10886(undetermined:new): Transcoding video to x264 results in 1 second of frozen frames
#10886: Transcoding video to x264 results in 1 second of frozen frames -------------------------------------+------------------------------------- Reporter: Yuri | Type: defect Gorokhov | Status: new | Priority: important Component: | Version: 6.1 undetermined | Keywords: | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- 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 -- Ticket URL: <https://trac.ffmpeg.org/ticket/10886> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#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 | ---------------------------------------+---------------------------------- Changes (by Gyan): * status: new => open * version: 6.1 => git-master * component: undetermined => ffmpeg * blocking: => 7.0 Comment: When filing a bug report, include the description of the problem, the steps and the complete command lines in the body of the ticket. Samples should ideally be attached to the ticket, but if they're too large, add direct links. That said, I'm able to reproduce this with current git master, which is the only acceptable version for bug reports. You can ignore the original source, and simply use waves-6-1-1-tmp.mov as the source with both 6.0 and current git in order to demonstrate the regression. I suggest you edit the ticket with these changes. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10886#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#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
#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 | ---------------------------------------+---------------------------------- Comment (by Yuri Gorokhov): Thanks Gyan, I have updated the ticket with simpler repro steps -- Ticket URL: <https://trac.ffmpeg.org/ticket/10886#comment:3> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#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
#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
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
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 input-1fps.mov -r 30 \ -vcodec libx264 \ -x264opts keyint=30:scenecut=0 \ -crf 34 \ -vf "setpts=(N/(30*TB)),format=pix_fmts=yuv420p" \ 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:5> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10886: Transcoding video to x264/x265 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 | ---------------------------------------+---------------------------------- Changes (by Yuri Gorokhov): * summary: Transcoding video to x264 results in 1 second of frozen frames => Transcoding video to x264/x265 results in 1 second of frozen frames 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
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 input-1fps.mov -r 30 \ -vcodec libx264 \ -x264opts keyint=30:scenecut=0 \ -crf 34 \ -vf "setpts=(N/(30*TB)),format=pix_fmts=yuv420p" \ 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 input-1fps.mov -r 30 \ -vcodec libx264 \ -x264opts keyint=30:scenecut=0 \ -crf 34 \ -vf "setpts=(N/(30*TB)),format=pix_fmts=yuv420p" \ output.mov }}} }}} with x265: {{{#!div style="font-size: 80%" {{{#!bash ffmpeg -y -ignore_editlist true \ -i /work/input-1fps.mov -r 30 \ -c:v libx265 -crf 28 -b:v 2.8M -tag:v hvc1 \ -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:6> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10886: Transcoding video to x264/x265 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
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 input-1fps.mov -r 30 \ -vcodec libx264 \ -x264opts keyint=30:scenecut=0 \ -crf 34 \ -vf "setpts=(N/(30*TB)),format=pix_fmts=yuv420p" \ output.mov }}} }}}
with x265: {{{#!div style="font-size: 80%" {{{#!bash ffmpeg -y -ignore_editlist true \ -i /work/input-1fps.mov -r 30 \ -c:v libx265 -crf 28 -b:v 2.8M -tag:v hvc1 \ -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 input-1fps.mov -r 30 \ -vcodec libx264 \ -x264opts keyint=30:scenecut=0 \ -crf 34 \ -vf "setpts=(N/(30*TB)),format=pix_fmts=yuv420p" \ output.mov }}} }}} with x265: {{{#!div style="font-size: 80%" {{{#!bash ffmpeg -y -ignore_editlist true \ -i /work/input-1fps.mov -r 30 \ -c:v libx265 -crf 28 -b:v 2.8M -tag:v hvc1 \ -vf "setpts=(N/(30*TB)),format=pix_fmts=yuv420p" \ 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:7> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10886: Transcoding video to x264/x265 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
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 input-1fps.mov -r 30 \ -vcodec libx264 \ -x264opts keyint=30:scenecut=0 \ -crf 34 \ -vf "setpts=(N/(30*TB)),format=pix_fmts=yuv420p" \ output.mov }}} }}}
with x265: {{{#!div style="font-size: 80%" {{{#!bash ffmpeg -y -ignore_editlist true \ -i /work/input-1fps.mov -r 30 \ -c:v libx265 -crf 28 -b:v 2.8M -tag:v hvc1 \ -vf "setpts=(N/(30*TB)),format=pix_fmts=yuv420p" \ 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 input-1fps.mov -r 30 \ -vcodec libx264 \ -x264opts keyint=30:scenecut=0 \ -crf 34 \ -vf "setpts=(N/(30*TB)),format=pix_fmts=yuv420p" \ output.mov }}} }}} with x265: {{{#!div style="font-size: 80%" {{{#!bash ffmpeg -y -ignore_editlist true \ -i input-1fps.mov -r 30 \ -c:v libx265 -crf 28 -b:v 2.8M -tag:v hvc1 \ -vf "setpts=(N/(30*TB)),format=pix_fmts=yuv420p" \ 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:8> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10886: Transcoding video to x264/x265 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 | ---------------------------------------+---------------------------------- Comment (by James): Regression since c94e9d03b44d21282418dfb6c84f4f7942d4db03 -- Ticket URL: <https://trac.ffmpeg.org/ticket/10886#comment:9> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10886: Transcoding video to x264/x265 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: 1 Analyzed by developer: 0 | ---------------------------------------+---------------------------------- Changes (by James): * reproduced: 0 => 1 -- Ticket URL: <https://trac.ffmpeg.org/ticket/10886#comment:10> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10886: Transcoding video to x264/x265 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: 1 Analyzed by developer: 0 | ---------------------------------------+---------------------------------- Comment (by elenril): Should be fixed in fa110c32b5168d99098dc0c50c6465054cf9d20b -- Ticket URL: <https://trac.ffmpeg.org/ticket/10886#comment:11> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#10886: Transcoding video to x264/x265 results in 1 second of frozen frames -------------------------------------+------------------------------------- Reporter: Yuri | Owner: (none) Gorokhov | Type: defect | Status: closed Priority: important | Component: avfilter Version: git-master | Resolution: fixed Keywords: | Blocked By: Blocking: 7.0 | Reproduced by developer: 1 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Changes (by James): * status: open => closed * resolution: => fixed * component: ffmpeg => avfilter -- Ticket URL: <https://trac.ffmpeg.org/ticket/10886#comment:12> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg