Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 854972 - media-video/ffmpeg: add media-libs/svt-av1 patches for v4.4.2
Summary: media-video/ffmpeg: add media-libs/svt-av1 patches for v4.4.2
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL: https://github.com/AOMediaCodec/SVT-A...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-29 02:22 UTC by Andrew Saunders
Modified: 2024-01-28 21:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Saunders 2022-06-29 02:22:20 UTC
Wanted to give svt-av1 a try in ffpmeg v4 but found out that it's a crippled implementation. There are patches that apply cleanly and appear to work (at least with my testing).

Reproducible: Always

Steps to Reproduce:
1. Not a bug.
2.
3.



Quick dirty way to test, the patches have to be applied in order.

mkdir -p /etc/portage/patches/media-video/ffmpeg
cd /etc/portage/patches/media-video/ffmpeg
x=1
for i in 04b89e8ae3 64e2fb3f9d 0463f5d6d5 c5f3143090 c33b404885 1dddb930aa \
  50bc872635 51c0b9e829 e3c4442b24 ded0334d21 70887d44ff fe100bc556 6fd1533057; do
  wget "https://gitlab.com/1480c1/FFmpeg/-/commit/${i}.patch" -O "$(echo "0$x" | rev | cut -c-2 | rev)-$i.patch"
  x=$(($x + 1))
done

and to test encoding
ffmpeg -i somefile.mp4 -c:v av1 -crf 28 -b:v 1000k -c:a copy output.mkv