Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"rtmpdump" could not be run. After brew install rtmpdump; still same error. #12338

Closed
Amuyea opened this issue Mar 2, 2017 · 1 comment
Closed

Comments

@Amuyea
Copy link

@Amuyea Amuyea commented Mar 2, 2017

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.03.02. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.03.02

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones (None worked)

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

AGs-MacBook-Pro:~ Amuyea$ python3 $(which youtube-dl) -v --cookies cookies5.txt --user-agent "my user agent" --no-check-certificate --write-sub --sub-lang enUS http://www.crunchyroll.com/masamune-kuns-revenge/episode-9-its-been-called-love-and-affection-728197
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--cookies', 'cookies5.txt', '--user-agent', 'my user agent', '--no-check-certificate', '--write-sub', '--sub-lang', 'enUS', 'http://www.crunchyroll.com/masamune-kuns-revenge/episode-9-its-been-called-love-and-affection-728197']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2017.03.02
[debug] Python version 3.6.0 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 3.2.4, ffprobe 3.2.4
[debug] Proxy map: {}
[Crunchyroll] 728197: Downloading webpage
[Crunchyroll] 728197: Downloading media info for 360p
[Crunchyroll] 728197: Downloading media info for 480p
[Crunchyroll] 728197: Downloading media info for 720p
[Crunchyroll] 728197: Downloading media info for 1080p
[Crunchyroll] 728197: Downloading media info
[Crunchyroll] 728197: Downloading subtitles for English (US)
[Crunchyroll] 728197: Downloading subtitles for Español
[Crunchyroll] 728197: Downloading subtitles for Español (España)
[Crunchyroll] 728197: Downloading subtitles for Français (France)
[Crunchyroll] 728197: Downloading subtitles for Português (Brasil)
[Crunchyroll] 728197: Downloading subtitles for العربية
[Crunchyroll] 728197: Downloading subtitles for Italiano
[Crunchyroll] 728197: Downloading subtitles for Deutsch
[info] Writing video subtitles to: Masamune-kun's Revenge Episode 9 – It's Been Called Love and Affection-728197.enUS.ass
[debug] Invoking downloader on 'rtmpe://cp150757.edgefcs.net/ondemand/?auth=daEbaafd2dUd0cpazd6dzdNbScmalbub0a8-byUkW0-dHa-lAIzptNDzwz&aifp=0009&slist=c19/s/ve2584427/video.mp4'
[download] Destination: Masamune-kun's Revenge Episode 9 – It's Been Called Love and Affection-728197.flv
ERROR: RTMP download detected but "rtmpdump" could not be run. Please install it.
  File "/usr/local/bin/youtube-dl", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/__init__.py", line 457, in main
    _real_main(argv)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/__init__.py", line 447, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1883, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 772, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 826, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1527, in process_video_result
    self.process_info(new_info)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1791, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 1733, in dl
    return fd.download(name, info)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/downloader/common.py", line 356, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/downloader/rtmp.py", line 116, in real_download
    self.report_error('RTMP download detected but "rtmpdump" could not be run. Please install it.')
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/downloader/common.py", line 162, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 589, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 551, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

AGs-MacBook-Pro:~ Amuyea$ brew install rtmpdump
Warning: rtmpdump-2.4+20151223 already installed, it's just not linked.
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

I followed #11572 & the post by MacCamintosh worked for many videos that I just downloaded. But I wanted to download the premium video, I seen the similar error about this issue. But it doesn't fix it. Thanks

@Amuyea
Copy link
Author

@Amuyea Amuyea commented Mar 3, 2017

sudo chown -R $USER:admin /usr/local
brew link rtmpdump

Will fix it

@Amuyea Amuyea closed this Mar 3, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.