Opened 20 months ago

Last modified 11 months ago

#9882 new defect

VP9 encoding progress broken on 1st pass

Reported by: nikolasr Owned by:
Priority: normal Component: ffmpeg
Version: git-master Keywords: libvpx regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description (last modified by nikolasr)

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)

Attachments (1)

ffmpeg-20220818-221804.log (23.7 KB ) - added by nikolasr 20 months ago.
report generated by ffmpeg

Download all attachments as: .zip

Change History (9)

by nikolasr, 20 months ago

Attachment: ffmpeg-20220818-221804.log added

report generated by ffmpeg

comment:1 by nikolasr, 20 months ago

Description: modified (diff)

comment:2 by nikolasr, 20 months ago

Description: modified (diff)

comment:3 by nikolasr, 19 months ago

Version: unspecifiedgit-master

Still present in git-master. Could any dev please take a look at it? Maybe Anton Khirnov, pretty please?

comment:4 by nikolasr, 19 months ago

Keywords: fftools/ffmpeg_mux.c added

comment:5 by Carl Eugen Hoyos, 19 months ago

Component: ffmpegundetermined
Keywords: libvpx regression added; fftools/ffmpeg_mux.c removed

comment:6 by Carl Eugen Hoyos, 18 months ago

Component: undeterminedffmpeg
Reproduced by developer: set

comment:7 by nikolasr, 11 months ago

Seems to break libaom-av1, too (see #10165)

comment:8 by nikolasr, 11 months ago

still unresolved :'-(
Bug is also present even in *stable* 6.0 release!

Note: See TracTickets for help on using tickets.