ytdl-org / youtube-dl

Command-line program to download videos from YouTube.com and other video sites
http://ytdl-org.github.io/youtube-dl/
The Unlicense
132.04k stars 10.01k forks source link

[letv]ERROR: unable to download video #8588

Open Lua12138 opened 8 years ago

Lua12138 commented 8 years ago
[c:\~]$ youtube-dl -v http://www.letv.com/ptv/vplay/2068007.html
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.letv.com/ptv/vplay/2068007.html']
[debug] Encodings: locale cp936, fs mbcs, out None, pref cp936
[debug] youtube-dl version 2016.02.13
[debug] Python version 2.7.11 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-77197-gdf2ce13, ffprobe N-77197-gdf2ce13
[debug] Proxy map: {}
[Letv] 2068007: Downloading webpage
[Letv] 2068007: Downloading playJson data
[Letv] 2068007: Download JSON metadata for format 350
[Letv] 2068007: Downloading m3u8 information for format 350
[Letv] 2068007: Download JSON metadata for format 1000
[Letv] 2068007: Downloading m3u8 information for format 1000
[Letv] 2068007: Download JSON metadata for format 1300
[Letv] 2068007: Downloading m3u8 information for format 1300
[Letv] 2068007: Download JSON metadata for format 720p
[Letv] 2068007: Downloading m3u8 information for format 720p
[Letv] 2068007: Download JSON metadata for format 1080p
[Letv] 2068007: Downloading m3u8 information for format 1080p
[debug] Invoking downloader on u'data:application/vnd.apple.mpegurl;base64,I0VYVE0zVQ0KI0VYVC1YLVZFUlNJT0....(skip)...1FTkRMSVNUDQo='
[download] Destination: 幸福选择题02-2068007.mp4
[debug] ffmpeg command line: ffmpeg -y -i 'data:application/vnd.apple.mpegurl;base64,I0VYVE0zVQ0KI0VYVC1YLVZFU...(skip)...tlbj0NCiNFWFQtWC1FTkRMSVNUDQo=' -c copy -f mp4 -bsf:a aac_adtstoasc 'file:幸福选择题02-2068007.mp4.part'
ERROR: unable to download video
Traceback (most recent call last):
  File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 1692, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 677, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 722, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 1362, in process_video_result
    self.process_info(new_info)
  File "c:\python27\lib\site-packages\youtube_dl\YoutubeDL.py", line 1629, in process_info
    raise UnavailableVideoError(err)
UnavailableVideoError: [Error 206] 
yan12125 commented 8 years ago

It's a known bug and the current workaround is using --hls-prefer-native. For example:

youtube-dl -v --hls-prefer-native http://www.letv.com/ptv/vplay/2068007.html
Lua12138 commented 8 years ago

Thanks, I tried. but there are some thing wrong with the video. Video is not smooth, lack of frame, the picture is missing, not continuous.