[PATCH 0/1] fix libgav1 on GNU/Hurd Debian
Hello!
I have fixed libgav1[1] building on GNU/Hurd Debian.
It depends on abseil, which has been fixed in the
previous patch[2] of me. So to build libgav1, you need
to first build abseil and apt install it.
I have also pushed this patch to upstream at
<https://chromium-review.googlesource.com/c/codecs/libgav1/+/6239812>.
(The CI there seems to fail with some unknown problem. It needs
maintainers of it to check.)
After building and installing libgav1, you can test
it with its builtin `gav1_decode` tool by following steps.
1. Install ffmpeg.
2. Find one of your favorite video file. Let's say it is
`love.mp4`. Other formats supported by ffmpeg are OK.
Clip it and convert it to av1 with
ffmpeg -i love.mp4 -t 5s -s 960x540 -fpsmax 24 -c:v av1 -c:a none love.vif
You may adjust options for the quality and size of the
output video as you like. Don't use a too long video.
Because it will be decoded into yuv format, which is just
a image of every frame. The output file will be super big.
3. Transfer `love.vif` to your GNU/Hurd Debian machine.
Decode it with,
gav1_decode -v --y4m love.ivf -o love.yuv
4. Transfer `love.yuv` back for testing. Convert it to
a another video format you like,
ffmpeg -i love.yuv -ss 0 -t 5s love1.mp4
NOTE: You have to manually specify the video time.
Otherwise, the video will be a static image,
5. Play the video file and check the content.
Thanks for people who helped me.
Yuqian Yang (1):
Disable gettid for GNU/Hurd.
src/utils/threadpool.cc | 2 ++
1 file changed, 2 insertions(+)
[1] https://salsa.debian.org/multimedia-team/libgav1
[2] https://lists.debian.org/debian-hurd/2025/02/msg00011.html
--
Yuqian Yang <crupest@crupest.life>
Reply to: