Opened 4 months ago

#10790 new defect

libvpx-vp9 "Mismatching timestamps; this is a bug, please report it"

Reported by: amesrc Owned by:
Priority: critical Component: ffmpeg
Version: 6.1 Keywords: vp9 libvpx bugs
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug:
I'm trying to convert some files in VP9 codec: in the first minutes of the videos it all goes fine, but after a while I get this error, and I can't get ffmpeg to complete the conversion of the file:

[libvpx-vp9 @ 00000235185100c0] Error encoding frame: Unspecified internal errors speed=0.525x
[libvpx-vp9 @ 00000235185100c0]   Additional information: Failed to encode to the target level 40. The CPB size is too large.
[vost#0:0/libvpx-vp9 @ 0000023517fcde80] Error submitting video frame to the encoder
Error while filtering: Invalid data found when processing input
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11332 queued 11331; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11333 queued 11332; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11334 queued 11333; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11335 queued 11334; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11336 queued 11335; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11337 queued 11336; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11338 queued 11337; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11339 queued 11338; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11340 queued 11339; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11341 queued 11340; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11342 queued 11341; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11343 queued 11342; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11344 queued 11343; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11345 queued 11344; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11346 queued 11345; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11347 queued 11346; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11348 queued 11347; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11349 queued 11348; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11350 queued 11349; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11351 queued 11350; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11352 queued 11351; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11353 queued 11352; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11354 queued 11353; this is a bug, please report it
[libvpx-vp9 @ 00000235185100c0] Mismatching timestamps: libvpx 11355 queued 11354; this is a bug, please report it
[mp4 @ 00000235187b8800] Starting second pass: moving the moov atom to the beginning of the file
[out#0/mp4 @ 00000235183cbbc0] video:346686kB audio:16911kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.064690%
frame=11355 fps= 13 q=18.0 Lsize=  363832kB time=00:07:54.41 bitrate=6282.6kbits/s speed=0.523x
[libvpx-vp9 @ 00000235185100c0] Encoded level 4.1
[aac @ 000002351882a5c0] Qavg: 48786.492
Conversion failed!

How to reproduce:

% ffmpeg -i "input.mkv" \
-c:v libvpx-vp9 \
-vf "crop=1920:960:0:60" \
-level:v 4.0 \
-b:v 6M -maxrate:v 6M -minrate:v 6M -bufsize:v 6M \
-r 24000/1001 -g 48 -keyint_min 24 \
-c:a aac -ar 48000 -b:a 320k -ac 2 \
-pix_fmt yuv420p \
-movflags +faststart \
-row-mt 1 \
1080.mp4

ffmpeg version 6.1.1-full_build-www.gyan.dev
built with gcc 12.2.0 (Rev10, Built by MSYS2 project)
  configuration: --enable-gpl --enable-version3 --enable-static --pkg-config=pkgconf --disable-w32threads --disable-autodetect --enable-fontconfig --enable-iconv --enable-gnutls --enable-libxml2 --enable-gmp --enable-bzlib --enable-lzma --enable-libsnappy --enable-zlib --enable-librist --enable-libsrt --enable-libssh --enable-libzmq --enable-avisynth --enable-libbluray --enable-libcaca --enable-sdl2 --enable-libaribb24 --enable-libaribcaption --enable-libdav1d --enable-libdavs2 --enable-libuavs3d --enable-libzvbi --enable-librav1e --enable-libsvtav1 --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libaom --enable-libjxl --enable-libopenjpeg --enable-libvpx --enable-mediafoundation --enable-libass --enable-frei0r --enable-libfreetype --enable-libfribidi --enable-libharfbuzz --enable-liblensfun --enable-libvidstab --enable-libvmaf --enable-libzimg --enable-amf --enable-cuda-llvm --enable-cuvid --enable-ffnvcodec --enable-nvdec --enable-nvenc --enable-dxva2 --enable-d3d11va --enable-libvpl --enable-libshaderc --enable-vulkan --enable-libplacebo --enable-opencl --enable-libcdio --enable-libgme --enable-libmodplug --enable-libopenmpt --enable-libopencore-amrwb --enable-libmp3lame --enable-libshine --enable-libtheora --enable-libtwolame --enable-libvo-amrwbenc --enable-libcodec2 --enable-libilbc --enable-libgsm --enable-libopencore-amrnb --enable-libopus --enable-libspeex --enable-libvorbis --enable-ladspa --enable-libbs2b --enable-libflite --enable-libmysofa --enable-librubberband --enable-libsoxr --enable-chromaprint

Patches should be submitted to the ffmpeg-devel mailing list and not this bug tracker.

Change History (0)

Note: See TracTickets for help on using tickets.