Opened 2 years ago
Closed 2 years ago
#17953 closed enhancement (fixed)
Add libaom in support of libavif (for WebKitGTK+)
Reported by: | Douglas R. Reno | Owned by: | Douglas R. Reno |
---|---|---|---|
Priority: | normal | Milestone: | gnome-44 |
Component: | BOOK | Version: | git |
Severity: | normal | Keywords: | |
Cc: |
Change History (7)
comment:1 by , 2 years ago
Milestone: | 11.4 → gnome-44 |
---|
comment:2 by , 2 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:4 by , 2 years ago
The test suite of libaom downloads hundreds of megabytes for test data, and costs a long time (I couldn't wait for its finish so I interrupted it).
comment:5 by , 2 years ago
In the book VLC also refers to libaom. And it looks like ffmpeg can use it too.
comment:6 by , 2 years ago
I used Parole as well to test it (since it's gstreamer based), and everything seems to work well there. Tested with VLC and ffmpeg too (though note that for ffmpeg, you're going to want to set aside a bit of time and then come back later. Big Buck Bunny took about 15 minutes to convert)
If you're curious about using ffmpeg, make sure you rebuild ffmpeg with --enable-libaom (which I'm going to add), and then run:
ffmpeg -i big_buck_bunny.mp4 -c:v libaom-av1 -b:v 2M -row-mt 1 big_buck_bunny.mkv
comment:7 by , 2 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Download link: https://storage.googleapis.com/aom-releases/libaom-3.6.0.tar.gz
Build instructions:
Doxygen is optional for doc (I've not installed it).
Nasm or yasm is optional (or recommended?) for building assembly routines for optimized performance. I have nasm installed but not yasm, so
-DENABLE_NASM=yes
is needed to enable the assembly routines.Gst-plugins-bad builds fine with it. Then I can use
gst-play
to play a sample video. And I can also play an online sample in epiphany.Unfortunately both Youtube and Bilibili still believe epiphany did not support AV1 and insist to give me H264 videos. I overrode the user agent string with
to pretend epiphany was a Firefox, then I can select "AV1" in Bilibili player settings and play a video with AV1. But Youtube still gives me H264 and I cannot find a way to set "AV1" explicitly. (Maybe I'll need a Youtube account?)