View Single Post
  #11  
Old 03-21-2017, 04:34 PM
j_cool j_cool is offline
Senior Member
 
Join Date: Feb 2016
Posts: 515
j_cool is on a distinguished road
Default

Re: Mlb Rtmpdump Problem?


After hls stream detector detects 6 urls right click on game and select one of m3u8s'

I set my hls stream detector to copy m3u8 link as livestreamer command.

Here you see the result:


C:\>"C:\P\STREAMLINK\bin\streamlink.exe" --http-header "User-Agent=Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20
100101 Firefox/52.0" -o "C:\1800_complete.ts" "hls://http://mlblive-akc.mlb.com/ls01/mlbam/2017/03/21/MLB_GAME_VIDEO_ANA
CIN_HOME_20170321_1489603973041/1800K/1800_complete.m3u8" best
[cli][info] Found matching plugin stream for URL hls://http://mlblive-akc.mlb.com/ls01/mlbam/2017/03/21/MLB_GAME_VIDEO_A
NACIN_HOME_20170321_1489603973041/1800K/1800_complete.m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mlb-ws-mf.media.mlb.com/pubajaxws/bamrest/Me
diaService2_0/op-generateKey/v-2.3?contentId=1239053383&kid=20269291 (400 Client Error: Bad Request for url: https://mlb
-ws-mf.media.mlb.com/pubajaxws/bamrest/MediaService2_0/op-generateKey/v-2.3?contentId=1239053383&kid=20269291)
[cli][error] No data returned from stream
[cli][info] Closing currently open stream...



You can copy m3u8 url and paste it in new tab's address bar and save "1800_complete.m3u8".

Open it and this is one of lines from "1800_complete.m3u8", maybe streamlink knows how to handle that.

#EXT-X-KEY:METHOD=AES-128,URI="https://mlb-ws-mf.media.mlb.com/pubajaxws/bamrest/MediaService2_0/op-generateKey/v-2.3?contentId=1239053383&kid=20269291",IV=0x948886 D04001BCB7CF97A4FA0218DC46



I looked at this website from time to time and never caught a stream until today, and it was as before sound only, no video.

You can install firefox extension "User Agent Switcher", set user agent to iphone 3.0 and get streamlink command as I did.
It will have iphone 3.0 user agent. See if you get the stream playing, as you know streamlink runs VLC.
Reply With Quote