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

Streamlink MLB.TV?

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

tvgplayer 03-10-2017 02:22 PM

Streamlink MLB.TV?


 
Can anybody help to use streamlink with MLB.TV? Thanks in advance!

Code:

C:\Users\Lenovo\Desktop>streamlink "hlsvariant://http://mlblive-akc.mlb.com/ls01
/mlbam/2017/03/10/MLB_GAME_VIDEO_SDNANA_HOME_20170310_1488914647371/master_wired
60.m3u8" best
[cli][info] Found matching plugin stream for URL hlsvariant://http://mlblive-akc
.mlb.com/ls01/mlbam/2017/03/10/MLB_GAME_VIDEO_SDNANA_HOME_20170310_1488914647371
/master_wired60.m3u8
[cli][info] Available streams: 720p_alt, 288p (worst), 360p, 504p, 540p, 720p (b
est)
[cli][info] Opening stream: 720p (hls)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mlb-
ws-mf.media.mlb.com/pubajaxws/bamrest/MediaService2_0/op-generateKey/v-2.3?conte
ntId=1232305983&kid=20267431 (400 Client Error: Bad Request for url: https://mlb
-ws-mf.media.mlb.com/pubajaxws/bamrest/MediaService2_0/op-generateKey/v-2.3?cont
entId=1232305983&kid=20267431)
[cli][error] No data returned from stream
[cli][info] Opening stream: 720p_alt (hls)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mlb-
ws-mf.media.mlb.com/pubajaxws/bamrest/MediaService2_0/op-generateKey/v-2.3?conte
ntId=1232305983&kid=20267431 (400 Client Error: Bad Request for url: https://mlb
-ws-mf.media.mlb.com/pubajaxws/bamrest/MediaService2_0/op-generateKey/v-2.3?cont
entId=1232305983&kid=20267431)
[cli][error] No data returned from stream
[cli][info] Closing currently open stream...


JonDough 03-10-2017 02:32 PM

Re: Streamlink MLB.TV?


 
If you've trying to play a live stream you need the cookie stuff in the command so the key will download everytime. Try the steps in this post http://stream-recorder.com/forum/sho...18&postcount=2 to get the cookie stuff.

If just downloading an old game the key can just be saved separately.

besweeet 04-08-2017 11:00 PM

Re: Streamlink MLB.TV?


 
Quote:

Originally Posted by JonDough (Post 90194)
If you've trying to play a live stream you need the cookie stuff in the command so the key will download everytime. Try the steps in this post http://stream-recorder.com/forum/sho...18&postcount=2 to get the cookie stuff.

If just downloading an old game the key can just be saved separately.

Getting the cookie is easy, but it seems like MLB.TV relies on other values to be passed through. I can't get it to work either. Same exact issue as the OP.


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