Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > Video stream recording
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #1  
Old 06-15-2015, 08:33 PM
bigalow bigalow is offline
Member
 
Join Date: Jan 2015
Posts: 41
bigalow is on a distinguished road
Default

how to download stream from mlb.com


Hey all-

I've been trying to capture the live streams of baseball games from mlb.com. I am succesfully pulling the m3u8 path but I get the following error when I attempt using livestreamer

bigalows-boxesktop Bigalow$ livestreamer "hlsvariant://http://mlblive-l3c.mlb.com/ls04/mlbam/2015/06/15/MLB_GAME_VIDEO_PHIBAL_VISIT_20150615/master_wired_web.m3u8" best -o "MLBtest.ts"
[cli][info] Found matching plugin stream for URL hlsvariant://http://mlblive-l3c.mlb.com/ls04/mlbam/2015/06/15/MLB_GAME_VIDEO_PHIBAL_VISIT_20150615/master_wired_web.m3u8
[cli][info] Available streams: 1200k, 1800k, 2400k, 3000k, 4500k (best), 500k (worst), 800k
[cli][info] Opening stream: 4500k (hls)
[cli][error] Could not open stream: Need pyCrypto installed to decrypt this stream
bigalows-boxesktop Bigalow$

Will someone please help guide me in the proper direction? Thanks!
Reply With Quote
  #2  
Old 06-20-2015, 09:33 AM
x-9er x-9er is offline
Junior Member
 
Join Date: Apr 2013
Posts: 4
x-9er is on a distinguished road
Default

Re: how to download stream from mlb.com


You really should be using the combination of mlbhls and mlbviewer. Your current approach will not send along the proper auth.
Reply With Quote
  #3  
Old 06-20-2015, 10:45 PM
bigalow bigalow is offline
Member
 
Join Date: Jan 2015
Posts: 41
bigalow is on a distinguished road
Default

Re: how to download stream from mlb.com


Thanks for the reply x-9er. I have never heard of those tools. I'm looking into them. Any idea if I can use them with osx?

I attempted to run this in osx:
python mlbviewer.py

but I got the error
Missing dependency: python-gdata required for mlbclassics

when I attempted to install python-gdata
I got this error
Error: No available formula for python-gdata
Searching formulae...
Searching taps...
then nothing.

I'm currently at a standstill. I usually have pretty good luck with linux tools on my mac. I think if I could resolve that dependancy error I might be a step closer to playing with these tools. I'm installing a Ubuntu VM now to see if I have any better luck with that.

Any more assistance or detail anyone can provide would be greatly appreciated.

Last edited by bigalow : 06-20-2015 at 11:54 PM. Reason: update
Reply With Quote
  #4  
Old 06-22-2015, 09:22 AM
bigalow bigalow is offline
Member
 
Join Date: Jan 2015
Posts: 41
bigalow is on a distinguished road
Default

Re: how to download stream from mlb.com


Could someone please put me on the right track with some suggestions or tutorials on using mlbhls and mlbviewer?

My intention is to capture the upcoming Grateful Dead shows and they are going to stream via MLB.tv's services. I have a MLB account and am trying to get some test runs accomplished this week before the first show this coming up Saturday (6/27).

Thank you!!
Reply With Quote
  #5  
Old 06-28-2015, 12:12 AM
mehphishtopheles mehphishtopheles is offline
Junior Member
 
Join Date: Jul 2013
Posts: 9
mehphishtopheles is on a distinguished road
Default

Re: how to download stream from mlb.com


I also would greatly appreciate some input on this!!
Reply With Quote
  #6  
Old 06-28-2015, 08:47 AM
joejones15 joejones15 is offline
Senior Member
 
Join Date: Mar 2015
Posts: 222
joejones15 is on a distinguished road
Default

Re: how to download stream from mlb.com


did you read through this thread...i had some luck as indicated here, but not very efficient with so many files, although the most recent file is the full video:

http://stream-recorder.com/forum/sho...9&postcount=14
Reply With Quote
  #7  
Old 06-28-2015, 02:38 PM
mehphishtopheles mehphishtopheles is offline
Junior Member
 
Join Date: Jul 2013
Posts: 9
mehphishtopheles is on a distinguished road
Default

Re: how to download stream from mlb.com


Quote:
Originally Posted by joejones15 View Post
did you read through this thread...i had some luck as indicated here, but not very efficient with so many files, although the most recent file is the full video:

http://stream-recorder.com/forum/sho...9&postcount=14

Thanks for the response. Unfortunately that's not helpful in this specific instance, as the GD50 stream doesn't allow you to choose between players the way regular mlb.tv streaming does. They have their new streaming system (HLS w/ AES 128 bit crypto), and the old one (rtmp mp4) for baseball, but the GD50 stream is HLS only.

If they were offering both this wouldn't be so rough, because baseball fans are still able to grab the rtmp stream using rtmpdump, though they're not streaming in HD for the rtmp option, so even then there's a major downside (though something is generally better than nothing).

I'd hate to have to resort to screen capture on this, but figuring out this HLS streaming is above my skill level. Not only is it encrypted, but the encryption key changes every 12 .ts segments. If it were one key for the entire video I'd concentrate on capturing the key and manipulating the master m3u8 file, but they've made that quite a task now with the continuous key changes.
Reply With Quote
  #8  
Old 06-29-2015, 10:59 AM
bigalow bigalow is offline
Member
 
Join Date: Jan 2015
Posts: 41
bigalow is on a distinguished road
Default

Re: how to download stream from mlb.com


If someone is capable and willing to help I can offer my login credentials to help get this captured. I'd love to learn the process but am willing to have just the final product as well. thanks!
Reply With Quote
  #9  
Old 06-29-2015, 04:44 PM
joejones15 joejones15 is offline
Senior Member
 
Join Date: Mar 2015
Posts: 222
joejones15 is on a distinguished road
Default

Re: how to download stream from mlb.com


Quote:
Originally Posted by bigalow View Post
If someone is capable and willing to help I can offer my login credentials to help get this captured. I'd love to learn the process but am willing to have just the final product as well. thanks!
if you are willing to share your login, biezom is a trusted and knowledgeable member and I have shared my info with him in the past...maybe he can help?
Reply With Quote
  #10  
Old 12-02-2015, 01:25 AM
utuxia utuxia is offline
Member
 
Join Date: Apr 2015
Posts: 32
utuxia is on a distinguished road
Default

Re: how to download stream from mlb.com


I'm getting same error as OP on Mac/El Capitan

Code:
[cli][error] Could not open stream: Need pyCrypto installed to decrypt this stream
I ran
Code:
sudo -EH pip install pycrypto
and it installed. but the livestream program still gripes about pyCrypto
Reply With Quote
Reply Post New Thread
Tags: , ,



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 01:24 PM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons