Running net-misc/youtube-dl-2017.11.15. On certain URLs youtube-dl may opt for using RTMP, in which case it needs rtmpdump or it will seize to download a file. There should be a dependency to media-video/rtmpdump in the ebuild. Reproducible: Always Steps to Reproduce: 1. youtube-dl 'http://www.3sat.de/mediathek/?mode=play&obj=70183' > [3sat] 70183: Downloading video info > [3sat] 70183: Downloading SMIL file > [3sat] 70183: Downloading f4m manifest > [3sat] 70183: Downloading m3u8 information > [download] Destination: 'DIE RECHTE WENDE'-70183.flv > ERROR: RTMP download detected but "rtmpdump" could not be run. Please install it. Actual Results: youtube-dl aborts with above error. Expected Results: youtube-dl should download the video. If I install rtmpdump it *will* download the video correctly. I've created a pull request here: https://github.com/gentoo/gentoo/pull/6314 But I may need some guidance as to how to proceed (new USE flag yes/no).
(In reply to deso from comment #0) > 1. youtube-dl 'http://www.3sat.de/mediathek/?mode=play&obj=70183' > > [3sat] 70183: Downloading video info > > [3sat] 70183: Downloading SMIL file > > [3sat] 70183: Downloading f4m manifest > > [3sat] 70183: Downloading m3u8 information > > [download] Destination: 'DIE RECHTE WENDE'-70183.flv > > ERROR: RTMP download detected but "rtmpdump" could not be run. Please install it. > Actual Results: > youtube-dl aborts with above error. The error seems to be quite informative. So you do: emerge rtmpdump and it suddenly works for you. All those other people who do not try to download the same stuff as you will not need rtmpdump until they see a message like yours.
*** This bug has been marked as a duplicate of bug 355661 ***
(In reply to Jeroen Roovers from comment #1) > (In reply to deso from comment #0) > > 1. youtube-dl 'http://www.3sat.de/mediathek/?mode=play&obj=70183' > > > [3sat] 70183: Downloading video info > > > [3sat] 70183: Downloading SMIL file > > > [3sat] 70183: Downloading f4m manifest > > > [3sat] 70183: Downloading m3u8 information > > > [download] Destination: 'DIE RECHTE WENDE'-70183.flv > > > ERROR: RTMP download detected but "rtmpdump" could not be run. Please install it. > > Actual Results: > > youtube-dl aborts with above error. > > The error seems to be quite informative. > > So you do: > > emerge rtmpdump > > and it suddenly works for you. Thank you for your response. The error is quite informative, indeed, but that is not the point. Portage, the way I see it, is a software management tool. And in Gentoo that also implies managing USE flags. I can easily do so by means of /etc/portage/package.use or /etc/portage/make.conf. Unfortunately, the net-misc/youtube-dl ebuild is broken in that it does not specify a dependency to media-video/rtmpdump when really there is one (an optional one but a dependency nevertheless). Because of that missing dependency I have no way to use Portage to control the correct functioning of youtube-dl, which, I hope you agree, includes the downloading of clips over RTMP, should that be desired. So how am I supposed to manage the installation of rtmpdump? If I install it on demand as you suggest I have an unused and effectively untracked software package on my system the very moment I uninstall youtube-dl. I installed rtmpdump because it is used by youtube-dl, not because I am invoking it manually. That's exactly what a program like Portage should help me with. I could install it in a one-shot manner but then it would get removed on every depclean. Of course, I could also roll my own ebuild but that can't be a valid argument, can it? It is part of the core Portage tree after all. > All those other people who do not try to download the same stuff as you will not need rtmpdump until they see a message like yours. Well, all those other people simply would not set the rtmp USE flag that I proposed and that, as the pull request details, is used by other available programs such as curl and mplayer, and live happily ever after. I hope we can work on finding a common ground.