VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Results 1 to 18 of 18
Thread
  1. Member
    Join Date
    Apr 2015
    Location
    United States
    Search PM
    Anybody having luck with NBCOlympics.com streams?

    C:\Users\phartz>C:\Users\phartz\Downloads\ffmpeg-N-100121-g052b4c3481-win64-gpl-shared-vulkan\ffmpeg-N-100121-g052b4c3481-win64-gpl-shared-vulkan\bin\ffmpeg.exe -i https://sprtlive21.akamaized.net/hls/live/586438/NBCOIympics8f8eabc2/clear-1/master.m3...39751affa15b1e -c copy bv.ts
    ffmpeg version N-100121-g052b4c3481 Copyright (c) 2000-2020 the FFmpeg developers
    built with gcc 9.3-win32 (GCC) 20200320
    configuration: --prefix=/ffbuild/prefix --pkg-config-flags=--static --pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32 --enable-gpl --enable-version3 --disable-debug --enable-shared --disable-static --disable-debug --disable-w32threads --enable-pthreads --enable-iconv --enable-zlib --enable-libxml2 --enable-libfreetype --enable-libfribidi --enable-gmp --enable-lzma --enable-fontconfig --enable-opencl --enable-libvmaf --enable-vulkan --enable-libvorbis --enable-amf --enable-libaom --enable-avisynth --enable-libdav1d --enable-libdavs2 --enable-ffnvcodec --enable-cuda-llvm --enable-libglslang --enable-libass --enable-libbluray --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvpx --enable-libwebp --enable-libmfx --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enable-librav1e --enable-librubberband --enable-schannel --enable-sdl2 --enable-libsoxr --enable-libsrt --enable-libsvtav1 --enable-libtwolame --enable-libuavs3d --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxavs2 --enable-libxvid --enable-libzimg --extra-cflags=-DLIBTWOLAME_STATIC --extra-cxxflags= --extra-ldflags=-pthread --extra-libs=-lgomp
    libavutil 56. 61.100 / 56. 61.100
    libavcodec 58.114.100 / 58.114.100
    libavformat 58. 64.100 / 58. 64.100
    libavdevice 58. 11.103 / 58. 11.103
    libavfilter 7. 91.100 / 7. 91.100
    libswscale 5. 8.100 / 5. 8.100
    libswresample 3. 8.100 / 3. 8.100
    libpostproc 55. 8.100 / 55. 8.100
    [https @ 0000015b3f46f340] HTTP error 403 Forbidden
    https://sprtlive21.akamaized.net/hls/live/586438/NBCOIympics8f8eabc2/clear-1/master.m3...9751affa15b1e: Server returned 403 Forbidden (access denied)

    Guess its getting hung up on Provider Credentials(XFinity username and Password) login?
    Any other ideas? https://stream.nbcolympics.com/beach-volleyball-preliminary-match-3
    Quote Quote  
  2. Code:
    streamlink "https://sprtlive21.akamaized.net/hls/live/586438/NBCOIympics8f8eabc2/clear-1/exp=1627199000~acl=%2fhls%2flive%2f586438*~data=hdntl~hmac=713d2706a0bcdb3fa79d88a178232378cae492254361eabf8dd92b7956dd1216/VIDEO_1_4596000_vod.m3u8" best -o olympics.ts
    Quote Quote  
  3. Member
    Join Date
    Apr 2015
    Location
    United States
    Search PM
    Thank you ssvegeta

    Originally Posted by [ss]vegeta View Post
    Code:
    streamlink "https://sprtlive21.akamaized.net/hls/live/586438/NBCOIympics8f8eabc2/clear-1/exp=1627199000~acl=%2fhls%2flive%2f586438*~data=hdntl~hmac=713d2706a0bcdb3fa79d88a178232378cae492254361eabf8dd92b7956dd1216/VIDEO_1_4596000_vod.m3u8" best -o olympics.ts
    Quote Quote  
  4. Member
    Join Date
    Apr 2015
    Location
    United States
    Search PM
    Getting closer

    Code:
    (x86)\Streamlink\bin\streamlink.exe" https://g005-sf-us-cmaf-prd-ll.cdn.pea****tv.com/pub/global/gTk/cGU/4214702/cmaf/1618603804307.7896/mpeg_2sec/master_cmaf.m3u8 best -o ml.ts
    [cli][info] Found matching plugin hls for URL https://g005-sf-us-cmaf-prd-ll.cdn.pea****tv.com/pub/global/gTk/cGU/4214702/cmaf/1618603804307.7896/mpeg_2sec/master_cmaf.m3u8
    [cli][info] Available streams: 288p (worst), 432p, 540p_alt, 540p, 720p, 1080p (best)
    [cli][info] Opening stream: 1080p (hls-multi)
    [utils.named_pipe][info] Creating pipe streamlinkpipe-10588-1-3757
    [utils.named_pipe][info] Creating pipe streamlinkpipe-10588-2-3546
    [cli][error] Try 1/1: Could not open stream <Stream()> (No data returned from stream)
    error: Could not open stream <Stream()>, tried 1 times, exiting
    [cli][info] Closing currently open stream...
    Quote Quote  
  5. Originally Posted by PennyHartz View Post
    Getting closer
    No, you aren't. Peacoсk is a pain in the aѕs. It can't be done by your regular Joe.
    Quote Quote  
  6. wrong code.
    replace streamlink.exe" https://... with streamlink https://...
    Quote Quote  
  7. Originally Posted by PennyHartz View Post
    Getting closer

    Code:
    (x86)\Streamlink\bin\streamlink.exe" https://g005-sf-us-cmaf-prd-ll.cdn.pea****tv.com/pub/global/gTk/cGU/4214702/cmaf/1618603804307.7896/mpeg_2sec/master_cmaf.m3u8 best -o ml.ts
    Basic streamlink syntax is incorrect - and put streamlink into your Windows Filepath, FFS !
    https://www.computerhope.com/issues/ch000549.htm

    Your first double quotation mark is tight up to the end of .exe when it should be tight up to the start of https:

    Code:
    streamlink "https://g005-sf-us-cmaf-prd-ll.cdn.pea****tv.com/pub/global/gTk/cGU/4214702/cmaf/1618603804307.7896/mpeg_2sec/master_cmaf.m3u8" best -o ml.ts
    Best to always get into the habit of surrounding the m3u8 with double quotes. Won't matter if there are no gaps in the url, but WILL matter if there are.

    Not tested to see if works either. But will not work if your basics are incorrect. AFAIK, this site is WV and streamlink will not therefore DL it anyway. Plus if you CAN DL it you will need the keys.

    Also, you would normally DL a separate Video + Audio stream for this site.
    Last edited by codehound; 24th Jul 2021 at 18:05.
    Quote Quote  
  8. Member
    Join Date
    Jan 2022
    Location
    Hawaii
    Search Comp PM
    Great thread! New member here also attempting this. I've found that the m3u8 URL only appears in the network tab after you start playing. But it does work!

    I have a question though. Streamlink says

    Available streams: live (worst, best)
    Opening stream: live (hls)


    Does that mean it's using the best stream?
    Quote Quote  
  9. Originally Posted by daygecko View Post
    Does that mean it's using the best stream?
    Just type best after the command, just in case.
    Quote Quote  
  10. Member
    Join Date
    Jan 2022
    Location
    Hawaii
    Search Comp PM
    Originally Posted by [ss]vegeta View Post
    Originally Posted by daygecko View Post
    Does that mean it's using the best stream?
    Just type best after the command, just in case.
    Thanks, I used best but wasn't sure if I needed to do something different to make it choose live (best) ... I looked through all the documentation I could find but nothing about streams that have live (best, worst)

    I'm surprised it's only 1280x720 but the bitrate matches what the browser player shows, 3-5mbps
    Last edited by daygecko; 13th Jan 2022 at 14:33.
    Quote Quote  
  11. Member
    Join Date
    Jan 2022
    Location
    Hawaii
    Search Comp PM
    I just figured out there are multiple streams with different m3u8 URLS for some videos. Some have just one ending in _1 but other videos have multiple streams with _0, _1, all the way to _4. The lowest number is the highest quality as far as I can tell. The best I've gotten was 5-7mbps 1080P. Sometimes, maybe all the time, you can copy and paste the last part of a URL onto another one and force the higher res!
    Last edited by daygecko; 13th Jan 2022 at 19:38.
    Quote Quote  
  12. Member
    Join Date
    Jan 2022
    Location
    Hawaii
    Search Comp PM
    To confirm, you can always remove the VIDEO_1 etc with VIDEO_0 and get 1080p!!


    Also, there's a Firefox plugin called M3U8 Stream Detector that makes it easier than pressing F12 and filtering
    Quote Quote  
  13. Member
    Join Date
    Sep 2005
    Location
    Darkest Peru
    Search Comp PM
    @codehound - I want to thank you for the double quote suggestion. I'm trying to grab something from NBC.com and tearing my hair out. Added the quotes to the m3u8 link and it works fine.

    Also, I've found for anything NBCSports.com (NOT Peacock), yt-dlp works like a dream. NBCOlympics should be the same.
    Copypasta the m3u8 link from your browser and...
    Code:
    "yt-dlp.exe" --live-from-start "stream_url.m3u8" -o filename.mp4
    If the event isn't currently live, you can drop the --live-from-start.

    I grabbed all of the USA & NBC parts of the Rolex 24 at Daytona a few days ago this way. While testing I grabbed some live skating content just to see if I could.

    Edit Feb 4, 2022: I just tried ripping the opening ceremony a half hour before it finished airing and it didn't work properly. It grabbed everything from the beginning, but cut off at the time point where I started. So this method is only good for completed events.

    And DON'T use -best with yt-dlp, it isn't recommended since it favors codec types over bitrate, resolution or number of audio channels. Left blank it properly grabs the best version.
    Last edited by doctorm; 4th Feb 2022 at 23:58.
    Quote Quote  
  14. Member
    Join Date
    Jan 2022
    Location
    Hawaii
    Search Comp PM
    I came up with a simple way to get the best quality video from the replays. You need M3U8 Stream Detector plugin for Firefox, Google Docs, and Streamlink

    Install Streamlink https://streamlink.github.io/

    Install M3U8 Stream Detector https://addons.mozilla.org/en-US/firefox/addon/hls-stream-detector/


    Create a Google Sheet with 3 columns. Put titles for the columns in Row 1.
    Column A is for the m3u8 URL
    Column B is for the viewing URL. This is used to create the filename.
    Column C gives you the Streamlink command

    The reason for this column order is you can quickly see by looking at A which are completed

    Go to the URL linked on the NBC Olympics website like https://stream.nbcolympics.com/figure-skating-ladies-short-program
    Copy that URL into Column B

    Image
    [Attachment 63408 - Click to enlarge]


    Log in with your TV provider if needed. Click the big Play button in the middle of the screen. Stop playing as soon as you see green numbers appear on the M3U8 Stream Detector icon. In M3U8 Stream Detector, filter to the word VIDEO. You should get 1 or more URLs listed. Click the X icons to delete all but one.

    Copy the M3U8 URL and paste it into Column A

    Paste this formula into Column C
    Code:
    =concatenate("streamlink " , LEFT(A2, SEARCH("VIDEO",A2)-1) , "VIDEO_0_6596000_vod.m3u8" ," best -o ", MID(B2,len("https://stream.nbcolympics.com/")+1,999) , ".ts" )
    Drag that formula down so it fills more of the spreadsheet, so when you add more links you don't have to keep copying the formula


    Copy the result of the formula. It's a Streamlink command and parameters

    In your download folder, shift + right click and run Powershell

    Paste the Streamlink command into Powershell and press enter. In a few seconds it should show that it's downloading. When it finishes it will say "closing stream"

    There will be a file named for the original viewing URL for example figure-skating-ladies-short-program.tc

    Image
    [Attachment 63409 - Click to enlarge]
    Quote Quote  
  15. Excellent!
    It reminds me a lot to some of my solutions
    Quote Quote  
  16. Member
    Join Date
    Sep 2005
    Location
    Darkest Peru
    Search Comp PM
    How long has that HLS Stream Detector addon been around? That's convenient.
    It works with my suggested method as well, of course.

    I had to mod an old version to use it with Pale Moon browser, but it works great... not that ctrl-shift-key and typing m3u8 in the search is that complicated. It's just easier.
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!