VideoHelp Forum

Our website is made possible by displaying online advertisements to our visitors. Consider supporting us by disable your adblocker or Try ConvertXtoDVD and convert all your movies to DVD. Free trial ! :)
+ Reply to Thread
Results 1 to 11 of 11
  1. I sniffed URL from Video DownloadHleper. It's ESPN live broadcast.
    then I tried to download using youtube-dl.

    command line: youtube-dl

    Then I got this error. in red letters.
    At line:1 char:100
    + ... ...
    + ~
    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.

    It's from ESPN channel, website is
    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. ,

    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 ""
    Quote Quote  
  7. Originally Posted by LZAA View Post
    youtube-dl --no-part --hls-use-mpegts --referer ""
    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?
    URL is
    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 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)
    Does this error result mean anything to you?

    PS C:\Download\NextPVR> .\youtube-dl --no-part --hls-use-mpegts --referer
    live.php?v=espn "
    [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 '' for reading
    [https @ 000002748f21de00] HTTP error 400 Bad Request
    Unable to open key file
    [hls,applehttp @ 000002748f1fa8c0] Opening 'crypto+' for reading
    [hls,applehttp @ 000002748f1fa8c0] Error when loading first segment '' 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. All sports. and , ESPN, NFL, CBS, ABC, etc...

    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
    [generic] chunklist_b4628000: Requesting header
    WARNING: Could not send HEAD request to 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 . 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