[FFmpeg-trac] #9882(ffmpeg:new): VP9 encoding progress broken on 1st pass

FFmpeg trac at avcodec.org
Thu Aug 18 23:52:39 EEST 2022


#9882: VP9 encoding progress broken on 1st pass
-------------------------------------+----------------------------------
             Reporter:  nikolasr     |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  ffmpeg
              Version:  unspecified  |               Resolution:
             Keywords:               |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+----------------------------------
Description changed by nikolasr:

Old description:

> Summary of the bug:
> When converting a video to VP9 (libvpx-vp9), the encoding progress is not
> displayed on first pass.
> Instead of current frames and fps ffmpeg always outputs
>
> {{{
> frame=    0 fps=0.0 q=0.0 Lsize=N/A time=-577014:32:22.77 bitrate=N/A
> speed=N/A    /s speed=N/A
> }}}
> Things seem to go wrong beginning at commit
> 919638ff5c99e33d91974506b19d42dcee04690b.
> Last known good is 4740fea7ddf5f81577c9f5a0c096a8a16a54716e.
>
> At 919638ff5c99e33d91974506b19d42dcee04690b "time" display is still
> 0:0:0. To get the provided sample display try commit
> 2d924b3a630869c65fe0c76568910500f54ed057.
>
> Expected "good" result should be a progress output of current frames and
> current fps.
> Last known good for me is commit 4740fea7ddf5f81577c9f5a0c096a8a16a54716e
>
> Build:
> OS: Windows 10 64bit using media autobuild suite
>
> How to reproduce:
> {{{
> % ffmpeg.exe  -i test.mp4  -quality good -threads 4  -lag-in-frames 25
> -cpu-used 3 -auto-alt-ref 1 -arnr-maxframes 7 -arnr-strength 4  -aq-mode
> 2  -enable-tpl 1 -row-mt 1 -c:v libvpx-vp9 -b:v 0 -crf 28 -pass 1 -an -f
> null pass1
> ffmpeg version N-107504-g0cdc18b556-gd5544f6457+3 Copyright (c) 2000-2022
> the FFmpeg developers
>   built with gcc 12.1.0 (Rev3, Built by MSYS2 project)
> }}}

New description:

 Summary of the bug:
 When converting a video to VP9 (libvpx-vp9), the encoding progress is not
 displayed on first pass.
 Instead of current frames and fps ffmpeg always outputs

 {{{
 frame=    0 fps=0.0 q=0.0 Lsize=N/A time=-577014:32:22.77 bitrate=N/A
 speed=N/A    /s speed=N/A
 }}}
 Things seem to go wrong beginning at commit
 919638ff5c99e33d91974506b19d42dcee04690b.
 Last known good is 4e145f1dcdcbe19e8f8e98940dab04e9332a8b5b, maybe even
 4740fea7ddf5f81577c9f5a0c096a8a16a54716e (not sure about that).

 At 919638ff5c99e33d91974506b19d42dcee04690b "time" display is still 0:0:0.
 To get the provided sample display try commit
 2d924b3a630869c65fe0c76568910500f54ed057.

 Expected "good" result should be a progress output of current frames and
 current fps.

 Build:
 OS: Windows 10 64bit using media autobuild suite

 How to reproduce:
 {{{
 % ffmpeg.exe  -i test.mp4  -quality good -threads 4  -lag-in-frames 25
 -cpu-used 3 -auto-alt-ref 1 -arnr-maxframes 7 -arnr-strength 4  -aq-mode 2
 -enable-tpl 1 -row-mt 1 -c:v libvpx-vp9 -b:v 0 -crf 28 -pass 1 -an -f null
 pass1
 ffmpeg version N-107504-g0cdc18b556-gd5544f6457+3 Copyright (c) 2000-2022
 the FFmpeg developers
   built with gcc 12.1.0 (Rev3, Built by MSYS2 project)
 }}}

--
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/9882#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list