Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737016 - >=media-video/ffmpeg-4.4: new use flag through media-libs/svt-av1
Summary: >=media-video/ffmpeg-4.4: new use flag through media-libs/svt-av1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal with 1 vote (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 831215
Blocks:
  Show dependency tree
 
Reported: 2020-08-13 21:53 UTC by James Beddek
Modified: 2022-01-15 22:24 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 James Beddek 2020-08-13 21:53:36 UTC
ffmpeg git currently supports the svt-av1 encoder via `--enable-libsvtav1` [1]

svt-av1 is not currently in tree, I have created a pull request adding it here: https://github.com/gentoo/gentoo/pull/17110

However, svt-av1 does not support the x86 ABI, due to high memory usage [2]. (also seen in svt-hevc & svt-vp9)

There are patches available for ffmpeg supporting svt-hevc & svt-vp9, available within each of their repositories [3]. I have pull requests open for these packages too [4].

Cheers


[1]: https://git.videolan.org/?p=ffmpeg.git;a=history;f=libavcodec/libsvtav1.c;h=d34c6b328883fb8a5008d82b2a972dfde3233dc6;hb=HEAD https://git.videolan.org/?p=ffmpeg.git;a=history;f=libavcodec/libsvt_av1.c;hb=134a48a88023a02f941afdd7d21c34897ade4d08

[2]: https://github.com/OpenVisualCloud/SVT-AV1/issues/1231#issuecomment-622191344

[3]: https://github.com/OpenVisualCloud/SVT-HEVC/tree/master/ffmpeg_plugin https://github.com/OpenVisualCloud/SVT-VP9/tree/master/ffmpeg_plugin

[4]: https://github.com/gentoo/gentoo/pull/17111 https://github.com/gentoo/gentoo/pull/17112
Comment 1 James Beddek 2020-12-17 05:09:37 UTC
media-libs/svt-av1 has been in ::guru for a while now
Comment 2 Joonas Niilola gentoo-dev 2021-01-10 03:47:46 UTC
media-libs/svt-av1 is now in ::gentoo, 
  https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4c4ea585e1c10c364abe3421811caf4a3ad2198
Comment 3 Amaury Bouchra Pilet 2021-04-10 15:12:08 UTC
ffmpeg 4.4 is now available in portage. It supports svt-av1 but still no useflag to enable it (it won't work without).
Comment 4 Larry the Git Cow gentoo-dev 2022-01-15 22:24:49 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ab21c470ba81ae46fa4bf0a6101ad95fd177f61

commit 1ab21c470ba81ae46fa4bf0a6101ad95fd177f61
Author:     James Beddek <telans@posteo.de>
AuthorDate: 2022-01-14 23:36:40 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-01-15 22:24:16 +0000

    media-video/ffmpeg: add support for media-libs/svt-av1
    
    Closes: https://bugs.gentoo.org/737016
    Signed-off-by: James Beddek <telans@posteo.de>
    Closes: https://github.com/gentoo/gentoo/pull/22956
    Signed-off-by: Sam James <sam@gentoo.org>

 media-video/ffmpeg/ffmpeg-4.4.1-r1.ebuild | 3 ++-
 media-video/ffmpeg/ffmpeg-9999.ebuild     | 3 ++-
 media-video/ffmpeg/metadata.xml           | 1 +
 3 files changed, 5 insertions(+), 2 deletions(-)