Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 473320 - media-video/ffmpeg should set REQUIRED_USE="rtmp? ( network) ..."
Summary: media-video/ffmpeg should set REQUIRED_USE="rtmp? ( network) ..."
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-14 23:16 UTC by ykui
Modified: 2015-10-16 10:14 UTC (History)
0 users

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 ykui 2013-06-14 23:16:04 UTC
USE="-network rtmp" emerge libav -av

These are the packages that would be merged, in order:

Calculating dependencies -

!!! Problem resolving dependencies for media-video/libav
... done!

!!! The ebuild selected to satisfy "libav" has unmet requirements.
- media-video/libav-0.8.7::gentoo USE="3dnow 3dnowext X aac alsa bzip2 encode gpl gsm hardcoded-tables jpeg2k mmx mmxext mp3 openssl pulseaudio qt-faststart rtmp sdl ssl ssse3 theora truetype vaapi vdpau vorbis x264 xvid zlib (-altivec) -amr -avx -bindist -cdio -cpudetection -custom-cflags -debug -dirac -doc -faac -frei0r -ieee1394 -jack (-neon) -network -oss -pic -schroedinger -speex -static-libs -test -threads -v4l (-vis) -vpx"

  The following REQUIRED_USE flag constraints are unsatisfied:
    rtmp? ( network )

  The above constraints are a subset of the following complete expression:
    bindist? ( !faac !openssl ) rtmp? ( network ) amr? ( gpl ) aac? ( gpl ) x264? ( gpl ) X? ( gpl ) cdio? ( gpl ) test? ( encode )




USE="-network rtmp" emerge ffmpeg -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-video/ffmpeg-0.10.7  USE="X aac aacplus alsa amr avx bzip2 cdio cpudetection dirac encode faac frei0r gnutls gsm hardcoded-tables jack jpeg2k libass libv4l mmx modplug mp3 openal openssl oss pic pulseaudio rtmp schroedinger sdl speex ssse3 theora threads truetype v4l vaapi vdpau vorbis vpx x264 xvid zlib -3dnow -3dnowext (-altivec) -bindist (-celt) -debug -doc -ieee1394 -mmxext (-neon) -network* -static-libs {-test} (-vis)" FFTOOLS="aviocat cws2fws ffeval graph2dot ismindex pktdumper qt-faststart trasher" 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.
Comment 1 ykui 2013-06-14 23:17:36 UTC
Emerging ffmpeg without the network useflag but with the rtmp useflag is possible.

This is not possible for libav.
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2013-06-15 15:02:34 UTC
What problem are you trying to solve here?
Comment 3 ykui 2013-06-15 16:06:52 UTC
Not much of a problem, I just had some issues when I emerged ffmpeg without network but with rtmp. It did not exactly make rtmp work until I reemerged with network. 

Unless it is supposed to be possible to emerge ffmpeg as "-network rtmp" but not libav, would it be possible to add network as a require use flag for rtmp for ffmpeg?

That is what was proposed in the irc channel.
Comment 4 Alexis Ballier gentoo-dev 2015-10-16 10:14:46 UTC
well, in ffmpeg, network useflag controls the internal network protocols; 'rtmp' useflag is for librtmp (media-video/rtmpdump), and is thus independent; I don't see why we should annoy users with REQUIRED_USE when it's ok (but weird) to build ffmpeg with USE="-network rtmp"