Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   Video stream recording (http://stream-recorder.com/forum/forumdisplay.php?f=4)
-   -  

Obtaining direct links to March Madness Streams

(http://stream-recorder.com/forum/showthread.php?t=20809)

uncomfortablyscruffy 03-16-2016 01:34 PM

Obtaining direct links to March Madness Streams


 
2 Attachment(s)
I am trying to watch the March Madness streams (from here) in a player like VLC or Kodi.

I have had success in the past obtaining links from websites like FoxSportsGo and YouTube streams by:
  • Getting the .m3u8 from Chrome's network tab
  • Livestreamer
  • Sniffing Packets in Wireshark, Fiddler, or URLSnooper2

The March Madness streams are different though. I am still pretty new to the terminology so I am not sure if these are HLS or HDS (pretty sure they are not rtmp), but I know they do not provide an easy to read .m3u8 like this:

Code:

#EXTM3U
#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1024000,RESOLUTION=640x360,CODECS="avc1.66.30, mp4a.40.2"
http://linkgoeshere

When sniffing I get several .bootStrap files and a manifest file.

Dropbox Links to said files in case they are not attached right:

These are from a live stream that took place last night. I share them because when opened in a text editor they appear to have the information needed to obtain the .m3u8/direct streaming url, but I am not sure how to format it.

If anyone can show me a script that can parse these files and get the link, or show me how to manually do it I would be very appreciative. I have seen other instances on the forums where people have links and they want the direct .m3u8 but everyone has just given it to them instead of explaining how they did it. Thanks to those who took the time to read this!

hoopjon 03-16-2016 02:24 PM

Re: Obtaining direct links to March Madness Streams


 
Use K-S-V's AdobeHDS, and download the HDS Link Detector addon in Firefox. Once you downloaded it, click on the HDS Link Detector icon in Firefox, start loading the video. Then a script will pop up with the f4m link in it, which you can use with AdobeHDS. Once you run the script, you will se an flv file downloading, and you can play that live as the game goes on. At least it worked for me last year.

uncomfortablyscruffy 03-16-2016 02:28 PM

Re: Obtaining direct links to March Madness Streams


 
Thank you for the help! I will test this out and see if the method is still working.

uncomfortablyscruffy 03-16-2016 07:46 PM

Re: Obtaining direct links to March Madness Streams


 
Quote:

Originally Posted by hoopjon (Post 83225)
Use K-S-V's AdobeHDS, and download the HDS Link Detector addon in Firefox. Once you downloaded it, click on the HDS Link Detector icon in Firefox, start loading the video. Then a script will pop up with the f4m link in it, which you can use with AdobeHDS. Once you run the script, you will se an flv file downloading, and you can play that live as the game goes on. At least it worked for me last year.

Okay so this method works perfectly fine for me, thank you. High quality stream playing directly from the FLV, but is it possible to watch this without having the script running on the device doing the watching? I would like to be able to watch it like this on other devices at the same time but I obviously can't do that if the host PC is constantly updating the FLV. Am I just out of luck? Thanks again.

wer783 03-16-2016 08:31 PM

Re: Obtaining direct links to March Madness Streams


 
Here is the link I get using HDS Link Detector using the method suggested by hoopjon for the current game that is going on (Michigan vs. Tulsa):

"php AdobeHDS.php --manifest "http://mml2016-lh.akamaihd.net/z/mml_103@372865/manifest.f4m?hdcore=3.4.1.1" --delete --auth "pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a%7Edat a%3DZXhwPTE0NTgyNjU3NDZ+YWNsPSUyZip+ZGF0YT1wdmMsc3 5obWFjPTg3YTE1ZGFhNGI2OTA5OGMxYWRlNGViMWFmODhkZGY0 YmE2OTg1ZmYwOGEzYTY4MGI2MjM1MmFhYWE1Nzc3YmU%3D%21O RkU3tHHoXZPybfSV64ozAxgV3OquwEYZSMV6bovRhc%3D%7Ehm ac%3DBD8AA34152E95081E02FB47486A390C0377D879C0A2A8 BAB910FBEC7C9AB421A&als=0,3,NaN,1,0,NaN,0,0,0,84,f ,0,9420.4,t,s,IFMYFGGOEMOT,3.4.1,84&hdcore=3.4.1&p lugin=aasp-3.4.1.1.1" --useragent "Mozilla/5.0 (Windows NT 5.1; rv:39.0) Gecko/20100101 Firefox/39.0"


What do I do now? I tried to run this in php but I just get a bunch of text quickly scrolling through the command prompt window. No video file starts to download.

Has anyone gotten this to work? Could you give us the command line that you use at the php prompt that works?

wer783 03-16-2016 08:33 PM

Re: Obtaining direct links to March Madness Streams


 
uncomfortablyscruffy, I was posting at the same time as you.

Could you post the command line that you entered to get this to work? If I could just see the command line, I think I could get it to work. I must be doing something wrong.

Thank you.

utuxia 03-16-2016 08:45 PM

Re: Obtaining direct links to March Madness Streams


 
Where do I get this AdobeHDS.php script?

Is there any other way given the manifest file to figure out the url?

wer783 03-16-2016 08:50 PM

Re: Obtaining direct links to March Madness Streams


 
You get AdobeHDS here:

https://github.com/K-S-V/Scripts

utuxia 03-16-2016 09:35 PM

Re: Obtaining direct links to March Madness Streams


 
for those on a mac, you can install `mcrypt` by using brew doing:

Code:

brew install homebrew/php/php55-mcrypt
Be sure to open a new shell.

Get brew at http://brew.sh

Then you can grab the manifest file and run:

Code:

php AdobeHDS.php --manifest <manifest-url> --delete
It starts to try to decrypt for me, but then I get permission denied error.

But now game is over so I can't test. I'm assuming I need proper cookies.

wer783 03-17-2016 02:21 AM

Re: Obtaining direct links to March Madness Streams


 
I believe I have it figured out now.

I downloaded the AdobeHDS script as something other than a binary file. I redownloaded the file and it seems to be working now on something else but I will have to wait until tomorrow to see if it works on the NCAA tournament.


All times are GMT -6. The time now is 03:59 AM.