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

Plugin francetvinfo.fr: "Failed to resolve hostname" #6799

Closed
Azenet opened this issue Sep 8, 2015 · 1 comment
Closed

Plugin francetvinfo.fr: "Failed to resolve hostname" #6799

Azenet opened this issue Sep 8, 2015 · 1 comment

Comments

@Azenet
Copy link

@Azenet Azenet commented Sep 8, 2015

Hi,

I'm trying to download a francetvinfo video ( http://www.francetvinfo.fr/replay-magazine/france-2/cash-investigation/cash-investigation-du-lundi-7-septembre-2015_1064383.html ) and I get a lookup error on replayftv-vh.akamaihd.net, but running a lookup on the system for the specified hostname works (tried with nslookup).

Complete log:

[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'http://www.francetvinfo.fr/replay-magazine/france-2/cash-investigation/cash-investigation-du-lundi-7-septembre-2015_1064383.html#xtor=CS1-6', u'--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2015.09.03
[debug] Python version 2.7.3 - Linux-3.10.35-x86_64-with-glibc2.0
[debug] exe versions: ffmpeg 2.7-
[debug] Proxy map: {}
[francetvinfo.fr] cash-investigation-du-lundi-7-septembre-2015_1064383: Downloading webpage
[francetvinfo.fr] 127689272: Downloading video JSON
[francetvinfo.fr] 127689272: Downloading geo restriction info
[francetvinfo.fr] 127689272: Downloading m3u8 information
[francetvinfo.fr] 127689272: Downloading m3u8 information
[debug] Invoking downloader on u'http://replayftv-vh.akamaihd.net/i/streaming-adaptatif_france-dom-tom/2015/S37/J1/127689272-55edfcad9f4e3-,standard1,standard2,standard3,standard4,standard5,.mp4.csmil/index_4_av.m3u8?null='
[download] Destination: Cash investigation - Mon président est en voyage d'affaires-127689272.mp4
[debug] ffmpeg command line: ffmpeg -y -i 'http://replayftv-vh.akamaihd.net/i/streaming-adaptatif_france-dom-tom/2015/S37/J1/127689272-55edfcad9f4e3-,standard1,standard2,standard3,standard4,standard5,.mp4.csmil/index_4_av.m3u8?null=' -f mp4 -c copy -bsf:a aac_adtstoasc 'Cash investigation - Mon président est en voyage d'"'"'affaires-127689272.mp4.part'
ffmpeg version 2.7-   http://johnvansickle.com/ffmpeg/    Copyright (c) 2000-2015 the FFmpeg developers
  built with gcc 4.9.2 (Debian 4.9.2-20)
  configuration: --enable-gpl --enable-version3 --disable-shared --disable-debug --enable-runtime-cpudetect --enable-libmp3lame --enable-libx264 --enable-libx265 --enable-libwebp --enable-libspeex --enable-libvorbis --enable-libvpx --enable-libfreetype --enable-fontconfig --enable-libxvid --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-gray --enable-libopenjpeg --enable-libopus --enable-libass --enable-gnutls --enable-libvidstab --enable-libsoxr --cc=gcc-4.9
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 36.100 / 56. 36.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 16.101 /  5. 16.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
[tcp @ 0x2b77c20] Failed to resolve hostname replayftv-vh.akamaihd.net: Name or service not known
http://replayftv-vh.akamaihd.net/i/streaming-adaptatif_france-dom-tom/2015/S37/J1/127689272-55edfcad9f4e3-,standard1,standard2,standard3,standard4,standard5,.mp4.csmil/index_4_av.m3u8?null=: Input/output error


ERROR: ffmpeg exited with code 1
  File "/opt/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/opt/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/opt/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/opt/bin/youtube-dl/youtube_dl/__init__.py", line 410, in main
    _real_main(argv)
  File "/opt/bin/youtube-dl/youtube_dl/__init__.py", line 400, in _real_main
    retcode = ydl.download(all_urls)
  File "/opt/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1653, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/opt/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 666, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/opt/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 712, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/opt/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1323, in process_video_result
    self.process_info(new_info)
  File "/opt/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1585, in process_info
    success = dl(filename, info_dict)
  File "/opt/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1527, in dl
    return fd.download(name, info)
  File "/opt/bin/youtube-dl/youtube_dl/downloader/common.py", line 342, in download
    return self.real_download(filename, info_dict)
  File "/opt/bin/youtube-dl/youtube_dl/downloader/hls.py", line 52, in real_download
    self.report_error('%s exited with code %d' % (ffpp.basename, retval))
  File "/opt/bin/youtube-dl/youtube_dl/downloader/common.py", line 155, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/opt/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 530, in report_error
    self.trouble(error_message, tb)
  File "/opt/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 492, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Sep 8, 2015

This is the output from ffmpeg - so try installing different version/binary of ffmpeg. Or use --hls-prefer-native to use native hls downloader.

@dstftw dstftw closed this Sep 8, 2015
@ytdl-org ytdl-org locked and limited conversation to collaborators Oct 9, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.