VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or try DVDFab and copy, convert or make Blu-rays and DVDs! :)
+ Reply to Thread
Results 1 to 11 of 11
Thread
  1. I sniffed URL from Video DownloadHleper. It's ESPN live broadcast.
    then I tried to download using youtube-dl.

    command line: youtube-dl https://nlcache6.streamlive.to/edge/xoaaohmeuajfeyf/chunks.m3u8?nimblesessionid=408522...VuPTIwJmlkPTA=

    Then I got this error. in red letters.
    At line:1 char:100
    + ... e.to/edge/xoaaohmeuajfeyf/chunks.m3u8?nimblesessionid=408522&wmsAuthS ...
    + ~
    The ampersand (&) character is not allowed. The & operator is reserved for future use; wrap an
    ampersand in double quotation marks ("&") to pass it as part of a string.
    + CategoryInfo : ParserError: ( [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : AmpersandNotAllowed

    Interesting thing is same URL sniffed by Video DownloadHelper is recording fine by Video DownloadHelper.
    (I think Video DownloadHelper is also using youtube-dl to download??)
    So why youtube-dl is not working for same url?
    Quote Quote  
  2. Without a link to the video you are trying to download, no one can help you as we dont know whether you have the correct m3u8 file. We need to get that ourselves. But with it being an espn account I assume it will need a login.

    And maybe read correctly what the yt-dl error message is saying. If you have an & character in your syntax your m3u8 will need " at the beginning and " at the end.
    Quote Quote  
  3. I did post the link. Here it is again.

    https://nlcache6.streamlive.to/edge/xoaaohmeuajfeyf/chunks.m3u8?nimblesessionid=408522...VuPTIwJmlkPTA=

    It's from ESPN channel, website is https://www.streamlive.to/view/48051/ESPN-(HD)
    as I said I sniffed URL using Video DownloadHelper
    It's free, there are many channels including ESPN.
    Quote Quote  
  4. I wanna repeat again, This is not a video. It is a LIVE ESPN broadcast like you would watch on cable tv.
    There are other channels like CBS, CNN, NBC, FOX, etc...
    Also there are other website have LIVE broadcast channels.
    http://kmedia.io/ , http://123tv.live/watch/espn/

    So again question is why addon like Video DownloadHleper can down load it but using youtube-dl, I get error?
    Quote Quote  
  5. The reason for my question is I think I can get better result downloading using youtube-dl than Video DownloadHelper .
    Cus Video DownloadHelper is not always reliable.

    Also another clarification. I said "download" but I mean recording LIVE broadcast channel.
    It's not a video download.

    Think of is as your are watching LIVE sports game(which is not a video) on a channel, and you wanna record it.
    How can you use youtube-dl to record the LIVE game?
    Quote Quote  
  6. youtube-dl --no-part --hls-use-mpegts --referer http://123tv.live/watch/espn/ "http://tmedia.me/espn/espn1-p-4500/espn1-p-4500.m3u8"
    Quote Quote  
  7. Originally Posted by LZAA View Post
    youtube-dl --no-part --hls-use-mpegts --referer http://123tv.live/watch/espn/ "http://tmedia.me/espn/espn1-p-4500/espn1-p-4500.m3u8"
    WOW, Thanks LZAA, that worked. Few follow up questions.

    After I Cntl-C to stop recording, I got final MP4 file. I didn't see any .part files downloading before I stopped youtube-dl.
    Does this mean MP4 file is downloaded directly?
    I ask this cus when I was using Video DownloaderHelper(VDH) sometimes VDH just stop recording. Then I loose recording.
    When VDH was downloading .part files first then aggregate to MP4 later, I loose all recording.
    Then I figured out how make VDH download M2TS file, then even is VDH stops, I still got what's been recording.
    So if for some reason youtube-dl stops (not by me), will I have what's been recorded already? in MP4 format?
    Quote Quote  
  8. LZAA:
    Can you try this website?
    http://yoursports.stream/live.php?v=espn
    URL is http://ak-hls-brs-espn1.espn.go.com/hls/live/218616/p/espn1-p-4500/espn1-p-4500.m3u8
    So I tried youtube-dl command as you can see below.
    But I got an error. See below error result.
    I think this website is "protected" or something. It will let me play it only on browser but not record.
    (too bad cus http://yoursports.stream is great site. Streams fast and never buffers watching LIVE, Only if I can record? LOL)
    When I try VDH, it gives me Response Code 400(bad request).
    Response code 400 (Bad Request)
    moz-extension://13d4fa39-fd54-49f8-9e4a-1638a30b857e/background/main.js:1
    value@moz-extension://13d4fa39-fd54-49f8-9e4a-1638a30b857e/background/main.js:1:6119
    value/</<@moz-extension://13d4fa39-fd54-49f8-9e4a-1638a30b857e/background/main.js:1:209812
    Aborted
    moz-extension://13d4fa39-fd54-49f8-9e4a-1638a30b857e/background/main.js:1
    value@moz-extension://13d4fa39-fd54-49f8-9e4a-1638a30b857e/background/main.js:1:218364
    value@moz-extension://13d4fa39-fd54-49f8-9e4a-1638a30b857e/background/main.js:1:170670
    value/<@moz-extension://13d4fa39-fd54-49f8-9e4a-1638a30b857e/background/main.js:1:125615
    value/<@moz-extension://13d4fa39-fd54-49f8-9e4a-1638a30b857e/background/main.js:1:169173
    Does this error result mean anything to you?

    PS C:\Download\NextPVR> .\youtube-dl --no-part --hls-use-mpegts --referer http://yoursports.stream/
    live.php?v=espn "http://ak-hls-brs-espn1.espn.go.com/hls/live/218616/p/espn1-p-4500/espn1-p-4500.m3
    u8"
    [generic] espn1-p-4500: Requesting header
    [generic] espn1-p-4500: Downloading m3u8 information
    [download] Destination: espn1-p-4500-espn1-p-4500.mp4
    ffmpeg version N-91146-gfe84f70819 Copyright (c) 2000-2018 the FFmpeg developers
    built with gcc 7.3.0 (GCC)
    configuration: --enable-gpl --enable-version3 --enable-sdl2 --enable-bzlib --enable-fontconfig --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libfreetype --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libtheora --enable-libtwolame --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxml2 --enable-libzimg --enable-lzma --enable-zlib --enable-gmp --enable-libvidstab --enable-libvorbis --enable-libvo-amrwbenc --enable-libmysofa --enable-libspeex --enable-libxvid --enable-libaom --enable-libmfx --enable-amf --enable-ffnvcodec --enable-cuvid --enable-d3d11va --enable-nvenc --enable-nvdec --enable-dxva2 --enable-avisynth
    libavutil 56. 18.102 / 56. 18.102
    libavcodec 58. 19.102 / 58. 19.102
    libavformat 58. 16.100 / 58. 16.100
    libavdevice 58. 4.100 / 58. 4.100
    libavfilter 7. 24.100 / 7. 24.100
    libswscale 5. 2.100 / 5. 2.100
    libswresample 3. 2.100 / 3. 2.100
    libpostproc 55. 2.100 / 55. 2.100
    [hls,applehttp @ 000002748f1fa8c0] Opening 'https://broadband.espn.go.com/espn3/auth/espnnetworks/m3u8/v1/generateKey?channel=espn1&kid=/espn1-p_082818_181203873_869.key' for reading
    [https @ 000002748f21de00] HTTP error 400 Bad Request
    Unable to open key file https://broadband.espn.go.com/espn3/auth/espnnetworks/m3u8/v1/generateKey?channel=espn...203873_869.key
    [hls,applehttp @ 000002748f1fa8c0] Opening 'crypto+http://ak-hls-brs-espn1.espn.go.com/hls/live/218616/p/espn1-p-4500/Seg_082818_18120387...873_1564702.ts' for reading
    [hls,applehttp @ 000002748f1fa8c0] Error when loading first segment 'http://ak-hls-brs-espn1.espn.go.com/hls/live/218616/p/espn1-p-4500/Seg_082818_181203873_3129/segment_082818_181203873_1564675.ts'
    http://ak-hls-brs-espn1.espn.go.com/hls/live/218616/p/espn1-p-4500/espn1-p-4500.m3u8: Invalid data found when processing input
    ERROR: ffmpeg exited with code 1
    Quote Quote  
  9. LZAA:
    Have you tried VDH(Video DownloadHelper)? Maybe you know already?
    It's Firefox/Chrome addon.
    Perhaps you can install VDH and test these websites, and compare recording in VDH to youtube-dl command?
    I be very interested hearing your comments.

    Here are few sites that you can play with.
    http://yoursports.stream/ All sports.
    http://123tv.live and http://kmedia.io/ , ESPN, NFL, CBS, ABC, etc...

    Thanks,
    Quote Quote  
  10. LZAA:
    After I replied, I learned more about youtube-dl.
    I see that TS chunks are download and I can play it in mpv player during recording. That's same as VDH downloading M2TS that I can watch during recording. WOW.

    I am watching NFL, Steelers/Panthers now. So I am recording in VDH and youtube-dl.
    At first youtube-dl recorded fine, then computer froze, reboot.
    Now VDH is recording but youtube-dl give me error.
    PS C:\Download\NextPVR> .\youtube-dl --no-part --hls-use-mpegts --referer http://9livestream.com/wat
    ch/panthers-vs-steelers/ https://live.vimeocdn.com/1541728650-0x7335dd3babb31af2b0f66aa7f6919ddc1228
    84ef/1996f1a7-94f3-414f-9b1f-4a40371c3a8a/chunklist_b4628000.m3u8
    [generic] chunklist_b4628000: Requesting header
    WARNING: Could not send HEAD request to https://live.vimeocdn.com/1541728650-0x7335dd3babb31af2b0f66aa7f6919ddc122884ef/1996f1...b4628000.m3u8: HTTP Error 410: Gone
    [generic] chunklist_b4628000: Downloading webpage
    ERROR: Unable to download webpage: HTTP Error 410: Gone (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.

    I am not what all that means but something to do with can't access source anymore?

    Anyway it was a nice learning about youtube-dl, but I think for simple user like me, just stay with VDH and live with whatever happens.

    Thanks for your time.
    Quote Quote  



Similar Threads