[FFmpeg-trac] #9628(avcodec:new): libsvtav1 doesnt work anymore
FFmpeg
trac at avcodec.org
Mon Feb 7 13:49:38 EET 2022
#9628: libsvtav1 doesnt work anymore
-----------------------------------+----------------------------------
Reporter: Richard | Type: defect
Status: new | Priority: normal
Component: avcodec | Version: 4.4.1
Keywords: libsvtav1 | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-----------------------------------+----------------------------------
Summary of the bug:
''Using the libsvtav1 encoder gives an error, failing the conversion''
How to reproduce:
{{{
ffmpeg -i in.mp4 -c:v libsvtav1 out.webm -y
}}}
Gives output:
{{{
ffmpeg version n4.4.1 Copyright (c) 2000-2021 the FFmpeg developers
built with gcc 11.1.0 (GCC)
configuration: --prefix=/usr --disable-debug --disable-static --disable-
stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto
--enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-
ladspa --enable-libaom --enable-libass --enable-libbluray --enable-
libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi
--enable-libgsm --enable-libiec61883 --enable-libjack --enable-libmfx
--enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb
--enable-libopencore_amrwb --enable-libopenjpeg --enable-libopus --enable-
libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-
libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-
libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-
libvorbis --enable-libvpx --enable-libwebp --enable-libx264 --enable-
libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg
--enable-nvdec --enable-nvenc --enable-shared --enable-version3
libavutil 56. 70.100 / 56. 70.100
libavcodec 58.134.100 / 58.134.100
libavformat 58. 76.100 / 58. 76.100
libavdevice 58. 13.100 / 58. 13.100
libavfilter 7.110.100 / 7.110.100
libswscale 5. 9.100 / 5. 9.100
libswresample 3. 9.100 / 3. 9.100
libpostproc 55. 9.100 / 55. 9.100
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561b40b88440] overread end of atom 'colr' by
1 bytes
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x561b40b88440] stream 0, timescale not set
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'in.mp4':
Metadata:
major_brand : mp42
minor_version : 1
compatible_brands: mp41mp42isom
creation_time : 2017-10-22T07:30:54.000000Z
title : De wonderen van de schepping onthullen Gods
heerlijkheid: Licht en kleur
artist : Watch Tower Bible and Tract Society of PA
album : De wonderen van de schepping onthullen Gods
heerlijkheid
track : 2
copyright : © 2009 Watch Tower Bible and Tract Society of
Pennsylvania Dutch
Duration: 00:05:11.48, start: 0.000000, bitrate: 846 kb/s
Stream #0:0(eng): Audio: aac (LC) (mp4a / 0x6134706D), 44100 Hz, stereo,
fltp, 124 kb/s (default)
Metadata:
creation_time : 2017-10-22T07:30:54.000000Z
handler_name : Core Media Audio
vendor_id : [0][0][0][0]
Stream #0:1(und): Video: h264 (Constrained Baseline) (avc1 /
0x31637661), yuv420p(tv, smpte170m/smpte170m/bt709, progressive), 640x360
[SAR 1:1 DAR 16:9], 704 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 48k tbc
(default)
Metadata:
creation_time : 2017-10-22T07:30:54.000000Z
handler_name : Core Media Video
vendor_id : [0][0][0][0]
Stream #0:2: Video: png, rgb24(pc), 600x600 [SAR 2835:2835 DAR 1:1], 90k
tbr, 90k tbn, 90k tbc (attached pic)
Stream mapping:
Stream #0:1 -> #0:0 (h264 (native) -> av1 (libsvtav1))
Stream #0:0 -> #0:1 (aac (native) -> opus (libopus))
Press [q] to stop, [?] for help
[libopus @ 0x561b40bcfa40] No bit rate set. Defaulting to 96000 bps.
Svt[info]: -------------------------------------------
Svt[info]: SVT [version]: SVT-AV1 Encoder Lib v0.9.0-dirty
Svt[info]: SVT [build] : GCC 11.1.0 64 bit
Svt[info]: LIB Build date: Jan 22 2022 06:46:34
Svt[info]: -------------------------------------------
Svt[error]: Instance 1: Encoder Bit Depth shall be only 8 or 10
Svt[error]: Instance 1: The encoder bit depth shall be equal to 8 or 10
for Main/High Profile
Svt[error]: Instance 1: Only support 420 now
Svt[error]: Instance 1: Non 420 color format requires profile 1 or 2
Svt[error]: Instance 1: Invalid Compressed Ten Bit Format flag [0 - 1]
[libsvtav1 @ 0x561b40bd0480] Error setting encoder parameters: bad
parameter (0x80001005)
SvtMalloc[info]: you have no memory leak
Error initializing output stream 0:0 -- Error while opening encoder for
output stream #0:0 - maybe incorrect parameters such as bit_rate, rate,
width or height
[libopus @ 0x561b40bcfa40] 1 frames left in the queue on closing
Conversion failed!
}}}
''I have used this encoder a lot before with various parameters, but none
of those work anymore. Hint: there seems to be a new build included (SVT-
AV1 Encoder Lib v0.9.0-dirty).''
--
Ticket URL: <https://trac.ffmpeg.org/ticket/9628>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list