Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 831211 - packages with unconditional dependency on media-video/ffmpeg[xvid] and/or media-libs/xvid
Summary: packages with unconditional dependency on media-video/ffmpeg[xvid] and/or med...
Status: CONFIRMED
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:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-01-14 21:46 UTC by Georgy Yakovlev
Modified: 2024-02-14 10:36 UTC (History)
7 users (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 Georgy Yakovlev archtester gentoo-dev 2022-01-14 21:46:33 UTC
Hi,

I recently stumbled upon funny xvid bug[0] and thought it might be sensible to disable enabling on it by default on desktop profiles.

https://archives.gentoo.org/gentoo-dev/message/bc06d5c138e8a84f32351493a0831e46

xvid codebase is old, crusty and contains some scary things in makefiles and autoconf, linked bug is just a tip of the iceberg.

as far as I know most video tools that use ffmpeg can still play xvid encoded videos without USE=xvid enabled for ffmpeg. This flag enabled encoding.

And it's very strange thing to do to encode xvid videos in 2022 =)

Can I ask you to double-check dependencies of your packages wrt xvid?
I quickly glanced over build files and here are my initial conclusions, but I defer to you to verify.

media-libs/libopenshot: does not really need xvid dependency. looks like a catch-all dep, enabled just in case.

media-plugins/mythplugins: it has a knob for it's internal ffmpeg to build xvid, but looks like it will build just fine with system ffmpeg without xvid enabled.

media-gfx/blender: looks like catch-all dep, enabled just-in-case.

If I disable USE=xvid by default (I do NOT intend to remove it, just flip the default), users of your packages might need to flip it back.
So before doing it I decided check with you first, maybe you adjust dependencies to be not required or conditional.

Thanks in advance for looking at it!

[0] https://bugs.gentoo.org/831044
Comment 1 Sebastian Parborg 2022-02-17 18:06:43 UTC
Hello! Sorry for taking so long to get back to you.

The xvid useflag is enabled by default in the blender ebuild because that is one of the media formats that is expected to be supported.

More specifically, the automated tests uses a few xvid files for regression testing. If we disable this flag, then some of those will fail as the xvid files can't properly be opened.

Perhaps not a good reason to have it flipped on per default, we could have it tied to the `test` flag to make it more explicit if you insist.