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

youtube-dl not downloading twitter videos anymore #10525

Closed
idesignedme opened this issue Sep 1, 2016 · 5 comments
Closed

youtube-dl not downloading twitter videos anymore #10525

idesignedme opened this issue Sep 1, 2016 · 5 comments
Labels

Comments

@idesignedme
Copy link

@idesignedme idesignedme commented Sep 1, 2016

when I try to use

youtube-dl https://twitter.com/TAXSTONE/status/771342844913192960/video/1

I get the following error

[twitter] 771342844913192960: Downloading webpage
[twitter:card] 771342844913192960: Downloading webpage
[twitter:card] 771342844913192960: Downloading m3u8 information
[download] Destination: DADITO CALDERONE - Be Safe Tho-771342844913192960.mp4
avconv version 11.4, Copyright (c) 2000-2014 the Libav developers
  built on Oct 16 2015 09:05:58 with Apple LLVM version 7.0.0 (clang-700.0.72)
https://video.twimg.com/ext_tw_video/771342599718309888/pu/pl/240x240/wb_1xp1hb0PdFWMX.m3u8: Protocol not found

ERROR: ffmpeg exited with code 1

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 1, 2016

Post the full output of youtube-dl when run with -v, i.e. add -v flag to your command line, copy the whole output and post it in the issue body wrapped in ``` for better formatting. It should look similar to this:

$ youtube-dl -v <your command line>
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2015.12.06
[debug] Git HEAD: 135392e
[debug] Python version 2.6.6 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...

Do not post screenshots of verbose log only plain text is acceptable.

The output (including the first lines) contains important debugging information. Issues without the full output are often not reproducible and therefore do not get solved in short order, if ever.

@dstftw dstftw closed this Sep 1, 2016
@idesignedme
Copy link
Author

@idesignedme idesignedme commented Sep 1, 2016

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'https://twitter.com/TAXSTONE/status/771342844913192960/video/1']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2016.08.12
[debug] Python version 2.7.10 - Darwin-15.6.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4
[debug] Proxy map: {}
[twitter] 771342844913192960: Downloading webpage
[twitter:card] 771342844913192960: Downloading webpage
[twitter:card] 771342844913192960: Downloading m3u8 information
[debug] Invoking downloader on u'https://video.twimg.com/ext_tw_video/771342599718309888/pu/pl/240x240/wb_1xp1hb0PdFWMX.m3u8'
[download] Destination: DADITO CALDERONE - Be Safe Tho-771342844913192960.mp4
[debug] avconv command line: avconv -y -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip, deflate
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
' -i https://video.twimg.com/ext_tw_video/771342599718309888/pu/pl/240x240/wb_1xp1hb0PdFWMX.m3u8 -c copy -f mp4 -bsf:a aac_adtstoasc 'file:DADITO CALDERONE - Be Safe Tho-771342844913192960.mp4.part'
avconv version 11.4, Copyright (c) 2000-2014 the Libav developers
built on Oct 16 2015 09:05:58 with Apple LLVM version 7.0.0 (clang-700.0.72)
https://video.twimg.com/ext_tw_video/771342599718309888/pu/pl/240x240/wb_1xp1hb0PdFWMX.m3u8: Protocol not found

ERROR: ffmpeg exited with code 1
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 433, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 423, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1786, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 702, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 773, in process_ie_result
    new_result, download=download, extra_info=extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 748, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1430, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1694, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1636, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 354, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 43, in real_download
    self.get_basename(), retval))
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 162, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 565, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 527, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 1, 2016

#9555 or use --hls-prefer-native.

@dstftw dstftw added external-bugs and removed cant-reproduce labels Sep 1, 2016
@idesignedme
Copy link
Author

@idesignedme idesignedme commented Sep 1, 2016

@dstftw thanks that worked but why am I doing this allo of a sudden? I have tried brew upgrade youtube-dl and it told me everything is up to date. this problem occured out of nowhere.

@yan12125
Copy link
Collaborator

@yan12125 yan12125 commented Sep 1, 2016

If some package in Homebrew depends on avconv, avconv gets installed. This is not a problem of youtube-dl.

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
3 participants
You can’t perform that action at this time.