Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488762 - virtual/ffmpeg - Enable +network by default such that http / udp streams are supported.
Summary: virtual/ffmpeg - Enable +network by default such that http / udp streams are ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Media-video project
URL: https://bugzilla.libav.org/show_bug.c...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-20 18:30 UTC by Nikolaj Šujskij
Modified: 2014-03-18 15:27 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 Nikolaj Šujskij 2013-10-20 18:30:12 UTC
Network support is essential or expected for quite a lot of applications relying on libav/ffmpeg. For example, users, trying to migrate from mplayers (with+network) to mpv (which silently assumes you have ffmpeg implementation with network support) results in "mplayer2 can, mpv can't" situation. Network support requires no additional dependencies and seems not to increase build time. So I propose making `network` flag an enabled-by-default one for both ffmpeg implementations.
Comment 1 Nikoli 2013-10-20 18:42:43 UTC
I agree, network support in ffmpeg/libav is required for playing any http and udp streams, this is something expected to work by default. Also recently I had several reports from users not able to play youtube or iptv videos because their libav copy was compiled without USE network enabled.

When ffmpeg is installed mpv will print error if some protocol is not supported:
[ffmpeg] Protocol not found. Make sure ffmpeg/Libav is compiled with networking support.

but when libav is used instead of ffmpeg, mpv will not print any error because of libav bug:
https://bugzilla.libav.org/show_bug.cgi?id=577
Comment 2 Nikoli 2013-10-24 05:57:14 UTC
from #gentoo-media:
<lu_zero> about making it +network
<lu_zero> sounds fine to me
...
<Nikoli> aballier, so what do you think about +network for ffmpeg?
<aballier> Nikoli: wfm
<aballier> one of the few useflags worth +ing
Comment 3 Alexis Ballier gentoo-dev 2013-10-26 07:36:27 UTC
+  26 Oct 2013; Alexis Ballier <aballier@gentoo.org> ffmpeg-0.10.9.ebuild,
+  ffmpeg-1.0.7.ebuild, ffmpeg-1.0.8.ebuild, ffmpeg-1.2.3.ebuild,
+  ffmpeg-1.2.4.ebuild, ffmpeg-2.0.2.ebuild, ffmpeg-9999.ebuild:
+  enable network useflag by default, bug #488762
+
Comment 4 Nikoli 2014-03-18 07:42:13 UTC
Libav is still not fixed.
Comment 5 Steve Dibb (RETIRED) gentoo-dev 2014-03-18 15:27:52 UTC
(In reply to Nikoli from comment #4)
> Libav is still not fixed.

Derp.  I was somehow looking for the wrong USE flag.  Thanks, man.

Fixed in CVS.