Closed
Bug 1925657
Opened 1 year ago
Closed 1 year ago
use ffmpeg for av1 on all platforms
Categories
(Core :: Audio/Video: Playback, task, P2)
Core
Audio/Video: Playback
Tracking
()
RESOLVED
FIXED
134 Branch
| Tracking | Status | |
|---|---|---|
| firefox134 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
Currently AV1 decoding through ffmpeg is only used on Linux. On Windows, we use DAV1DDecoder for sw av1. However, we would like to use ffmpeg on AV1 as well.
However, simply enabling FFMPEG_AV1_DECODE on Windows doesn't work, it raised an error Couldn't open avcodec. We need to fix it in order to use ffvpx for av1 on Windows.
2024-10-18 19:16:40.884000 UTC - [RDD 39884: MediaPDecoder #1]: D/FFmpegVideo FFVPX: Initialising FFmpeg decoder
2024-10-18 19:16:40.884000 UTC - [RDD 39884: MediaPDecoder #1]: D/FFmpegVideo FFVPX: codec av1 : Alliance for Open Media AV1
2024-10-18 19:16:40.884000 UTC - [RDD 39884: MediaPDecoder #1]: D/FFmpegVideo FFVPX: Set get_buffer2 for customized buffer allocation
2024-10-18 19:16:40.884000 UTC - [RDD 39884: MediaPDecoder #1]: D/FFmpegVideo FFVPX: Couldn't open avcodec for av1
[Child 12012, MediaSupervisor #1] WARNING: NS_ERROR_DOM_MEDIA_FATAL_ERR (0x806e0005) - MediaResult __cdecl mozilla::FFmpegDataDecoder<46465650>::InitDecoder(AVDictionary **): Couldn't open avcodec: file C:/mozilla-source/mozilla-unified/dom/media/MediaFormatReader.cpp:1843
| Assignee | ||
Updated•1 year ago
|
| Assignee | ||
Comment 1•1 year ago
|
||
Actually, we should use ffvpx for AV1 on all platforms, not just Windows.
Summary: use ffmpeg for av1 on Windows → use ffmpeg for av1 on all platforms
| Assignee | ||
Comment 2•1 year ago
|
||
FFvpx internally uses dav1decoder for AV1 SW.
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a56901d19160
use ffvpx for SW AV1 on all platforms. r=padenot
Comment 4•1 year ago
|
||
Backed out for causing Android build bustages.
- Backout link
- Push with failures
- Failure Log
- Failure line: ld.lld: error: undefined symbol: ff_libdav1d_decoder
Flags: needinfo?(alwu)
| Assignee | ||
Updated•1 year ago
|
Flags: needinfo?(alwu)
Pushed by alwu@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/ab86b4883528
use ffvpx for SW AV1 on all platforms. r=padenot
Comment 6•1 year ago
|
||
| bugherder | ||
Status: NEW → RESOLVED
Closed: 1 year ago
status-firefox134:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•