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

CNC World Live HTTP Error 404: Not Found #13732

Open
johnthecracker opened this issue Jul 24, 2017 · 1 comment
Open

CNC World Live HTTP Error 404: Not Found #13732

johnthecracker opened this issue Jul 24, 2017 · 1 comment

Comments

@johnthecracker
Copy link

@johnthecracker johnthecracker commented Jul 24, 2017

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

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

  • [ x] I've verified and I assure that I'm running youtube-dl 2017.07.23

Before submitting an issue make sure you have:

  • [x ] At least skimmed through README and most notably FAQ and BUGS sections
  • [x ] Searched the bugtracker for similar issues including closed ones

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

CNC World News live broadcast, should be live but I am not so sure.

On youtube website there is no live broadcat of this news channel.

Would it be possible to make youtube-dl to work with:

http://www.news.cn/2015wlds/enindex.htm

C:\>youtube-dl.exe -v -F --no-check-certificate http://www.news.cn/2015wlds/enindex.htm
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', '--no-check-certificate', 'http://www.news.cn/2015wlds/enindex.htm']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.07.23
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 3.3.2, ffprobe 3.3.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] enindex: Requesting header
WARNING: Falling back on generic information extractor.
[generic] enindex: Downloading webpage
[generic] enindex: Extracting information
[generic] enindex: Downloading m3u8 information
ERROR: Failed to download m3u8 information: HTTP Error 404: Not Found (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpu6zpd7mk\build\youtube_dl\extractor\common.py", line 502, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmpu6zpd7mk\build\youtube_dl\YoutubeDL.py", line 2166, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default
@johnthecracker
Copy link
Author

@johnthecracker johnthecracker commented Jul 25, 2017

Just found out that youtube-dl works with one variety of m3u8,

http://livecdn1.news.cn/cncen/manifest.m3u8

I found that url on some other forum and I don't know how it was obtained.

http://stream-recorder.com/forum/cnc-world-live-t23311.html

C:>youtube-dl.exe -v -F --no-check-certificate http://livecdn1.news.cn/cncen/manifest.m3u8
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '-F', '--no-check-certificate', 'http://livecdn1.news.cn/cncen/manifest.m3u8']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.07.23
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 3.3.2, ffprobe 3.3.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] manifest: Requesting header
[generic] manifest: Downloading m3u8 information
[info] Available formats for manifest:
format code extension resolution note
0 mp4 unknown

youtube-dl.exe --no-check-certificate --no-overwrites -v http://livecdn1.news.cn/cncen/manifest.m3u8

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--no-check-certificate', '--no-overwrites', '-v', '
http://livecdn1.news.cn/cncen/manifest.m3u8']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2017.07.23
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg 3.3.2, ffprobe 3.3.2, rtmpdump 2.4
[debug] Proxy map: {}
[generic] manifest: Requesting header
[generic] manifest: Downloading m3u8 information
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'http://livecdn1.news.cn/cncen/manifest.m3u8'
[download] Destination: manifest-manifest.mp4
[debug] ffmpeg command line: ffmpeg -y -loglevel verbose -headers "User-Agent: M
ozilla/5.0 (X11; Linux x86_64; rv:10.0) Gecko/20150101 Firefox/47.0 (Chrome)
Accept-Encoding: gzip, deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,;q=0.7
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,
/*;q=0.8
Accept-Language: en-us,en;q=0.5
" -i "http://livecdn1.news.cn/cncen/manifest.m3u8" -c copy -f mp4 "file:manifest
-manifest.mp4.part"
ffmpeg version 3.3.2 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 7.1.0 (GCC)
configuration: --enable-gpl --enable-version3 --enable-cuda --enable-cuvid --e
nable-d3d11va --enable-dxva2 --enable-libmfx --enable-nvenc --enable-avisynth --
enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enable-iconv
--enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-li
bfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-libmodplug -
-enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enabl
e-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librtmp --enable-li
bsnappy --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolam
e --enable-libvidstab --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx
--enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable
-libxavs --enable-libxvid --enable-libzimg --enable-lzma --enable-zlib
libavutil 55. 58.100 / 55. 58.100
libavcodec 57. 89.100 / 57. 89.100
libavformat 57. 71.100 / 57. 71.100
libavdevice 57. 6.100 / 57. 6.100
libavfilter 6. 82.100 / 6. 82.100
libswscale 4. 6.100 / 4. 6.100
libswresample 2. 7.100 / 2. 7.100
libpostproc 54. 5.100 / 54. 5.100
[hls,applehttp @ 000000000057a400] HLS request for url 'http://livecdn1.news.cn/
cncen/1465505/1500677777.ts', offset 0, playlist 0
[hls,applehttp @ 000000000057a400] Opening 'http://livecdn1.news.cn/cncen/146550
5/1500677777.ts' for reading
[h264 @ 00000000005821a0] Reinit context to 720x576, pix_fmt: yuv420p
Input #0, hls,applehttp, from 'http://livecdn1.news.cn/cncen/manifest.m3u8':
Duration: N/A, start: 31646.530422, bitrate: N/A
Program 0
Metadata:
variant_bitrate : 0
Stream #0:0: Video: h264 (High), 1 reference frame ([27][0][0][0] / 0x001B),
yuv420p(tv, bt709, left), 720x576 [SAR 64:45 DAR 16:9], 25 fps, 25 tbr, 90k tbn
, 50 tbc
Metadata:
variant_bitrate : 0
Stream #0:1: Audio: aac (HE-AACv2) ([15][0][0][0] / 0x000F), 44100 Hz, stere
o, fltp
Metadata:
variant_bitrate : 0
Output #0, mp4, to 'file:manifest-manifest.mp4.part':
Metadata:
encoder : Lavf57.71.100
Stream #0:0: Video: h264 (High), 1 reference frame ([33][0][0][0] / 0x0021),
yuv420p(tv, bt709, left), 720x576 (0x0) [SAR 64:45 DAR 16:9], q=2-31, 25 fps, 2
5 tbr, 90k tbn, 90k tbc
Metadata:
variant_bitrate : 0
Stream #0:1: Audio: aac (HE-AACv2) ([64][0][0][0] / 0x0040), 44100 Hz, stere
o, fltp
Metadata:
variant_bitrate : 0
Stream mapping:
Stream #0:0 -> #0:0 (copy)
Stream #0:1 -> #0:1 (copy)
Press [q] to stop, [?] for help
Automatically inserted bitstream filter 'aac_adtstoasc'; args=''
[hls,applehttp @ 000000000057a400] HLS request for url 'http://livecdn1.news.cn/
cncen/1465505/1500677778.ts', offset 0, playlist 0
[hls,applehttp @ 000000000057a400] Opening 'http://livecdn1.news.cn/cncen/146550
5/1500677778.ts' for reading
frame= 43 fps=0.0 q=-1.0 size= 139kB time=00:00:01.66 bitrate= 681.3kbits/
frame= 66 fps= 54 q=-1.0 size= 222kB time=00:00:02.58 bitrate= 701.1kbits/
frame= 202 fps=117 q=-1.0 size= 567kB time=00:00:08.02 bitrate= 578.3kbits/
[hls,applehttp @ 000000000057a400] HLS request for url 'http://livecdn1.news.cn/
cncen/1465505/1500677779.ts', offset 0, playlist 0
[hls,applehttp @ 000000000057a400] Opening 'http://livecdn1.news.cn/cncen/146550
5/1500677779.ts' for reading
frame= 293 fps=102 q=-1.0 size= 829kB time=00:00:11.66 bitrate= 582.1kbits/
frame= 344 fps=101 q=-1.0 size= 1001kB time=00:00:13.70 bitrate= 598.3kbits/
frame= 527 fps=134 q=-1.0 size= 1643kB time=00:00:21.02 bitrate= 640.2kbits/
s speed=5.36x

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.