#9457 closed defect (invalid)

Can't load AV1 video using ffmpeg 4.4's libavcodec (and other libs)

Reported by: Thomas Owned by:
Priority: normal Component: undetermined
Version: unspecified Keywords: AV1 libavcodec
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description (last modified by Thomas)

Summary of the bug:
How to reproduce:

I build ffmpeg's latest version (4.4) under Windows using MinGW.
I do this:

 ./configure --target-os=win64 --arch=x86_64 --toolchain=msvc --enable-shared
make
make install

ffmpeg version 4.4
built on Windows 10 (x64)

Then I load the produced DLLs (avcodec-59.dll, avformat-59.dll, etc...) in a Windows application I have developped.
This application can then decode the most common video (h264, mpeg2, etc...) formats but it cannot decode any AV1-encoded video.

And yet the av1 codec appears in the list of supported codecs when I run "configure".

Does anybody know why?
In order to be able to decode AV1, do I need to specify a special option during compilation?

Thanks in advance

Change History (2)

comment:1 by Thomas, 14 months ago

Description: modified (diff)

comment:2 by Marton Balint, 14 months ago

Resolution: invalid
Status: newclosed

You most probably did not comiple the external library libdav1d in. FFmpeg has no native AV1 decoder, for software decoding it depends on the external libdav1d library. Therefore you should run configure with --enable-libdav1d.

Note: See TracTickets for help on using tickets.