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

MLB.TV Livestreamer Support?

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

nullacht 05-02-2015 08:17 AM

Re: MLB.TV Livestreamer Support?


 
Has anyone tried it again? Maybe it works, if you add these options:

Code:

--http-cookie
Code:

--http-header
[1] [2]

Zebra 05-06-2015 04:31 PM

Re: MLB.TV Livestreamer Support?


 
Quote:

Originally Posted by joejones15 (Post 75624)
I used this, and when it attempts to open the stream it says no data...because its a live feed which is now over:

Code:

livestreamer "hls://mlblive-l3c.mlb.com/ls04/mlbam/2015/04/11/MLB_GAME_VIDEO_SEAOAK_HOME_20150411/4500K/4500_complete.m3u8" best
Can you post an on-demand/replay code instead?

If you're not sure which line code, run URLsnooper while you play the on-demand feed and then go to:

file>export>save entire table to file

Then post that .txt file on here so we can look over the data

Here's a URLsnooper table. http://pastebin.com/gq5g4M0X
I tried an updated MRC, livestreamer, and ffmpeg with no luck.

I accessed the stream through http://mlb.mlb.com/mediacenter/ but the direct link is http://mlb.mlb.com/shared/flash/medi...+Grid&team=mlb.

Either of these seemed like they should work
http://mlblive-akc.mlb.com/ls04/mlba..._complete.m3u8
http://mlblive-akc.mlb.com/ls04/mlba...ter_wired.m3u8

But livestreamer says,
[cli][info] Found matching plugin stream for URL hlsvariant://http://mlblive-akc.mlb.com/ls04/mlbam/2015/05/06/MLB_GAME_VIDEO_ARICOL_VISIT_20150506/master_wired.m3u8
[cli][info] Available streams: 1200k, 1800k, 2400k, 3000k, 4500k (best), 500k (worst), 800k
[cli][info] Opening stream: 4500k (hls)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mlb-ws.mlb.com/pubajaxws/bam...3&kid=20021310 (400 Client Error: Some how, we weren't able to populate request, either from cookie or URL params. Content/playback not resolved)
[cli][error] No data returned from stream

joejones15 05-06-2015 05:04 PM

Re: MLB.TV Livestreamer Support?


 
Quote:

Originally Posted by Zebra (Post 76372)
But livestreamer says,
[cli][info] Found matching plugin stream for URL hlsvariant://http://mlblive-akc.mlb.com/ls04/mlbam/2015/05/06/MLB_GAME_VIDEO_ARICOL_VISIT_20150506/master_wired.m3u8
[cli][info] Available streams: 1200k, 1800k, 2400k, 3000k, 4500k (best), 500k (worst), 800k
[cli][info] Opening stream: 4500k (hls)
[stream.hls][error] Failed to create decryptor: Unable to open URL: https://mlb-ws.mlb.com/pubajaxws/bam...3&kid=20021310 (400 Client Error: Some how, we weren't able to populate request, either from cookie or URL params. Content/playback not resolved)
[cli][error] No data returned from stream

interesting, was this live or was this on-demand at the time?

i wonder if there is some sort of token?

what number keeps changing in these (in red):

Code:

"http://mlblive-akc.mlb.com/ls04/mlbam/2015/05/06/MLB_GAME_VIDEO_ARICOL_VISIT_20150506/2400K/21/32/22.ts", "GET ts file (relative)", "", "45447824", "172.16.83.128"
Code:

"http://mlblive-akc.mlb.com/ls04/mlbam/2015/05/06/MLB_GAME_VIDEO_ARICOL_VISIT_20150506/2400K/21/32/27.ts", "GET ts file (relative)", "", "45445096", "172.16.83.128"
Code:

"http://mlblive-akc.mlb.com/ls04/mlbam/2015/05/06/MLB_GAME_VIDEO_ARICOL_VISIT_20150506/2400K/2400_complete.m3u8", "GET m3u8 file (relative)", "", "45448352", "172.16.83.128"
there also seem to be a lot of these "generate key" sequences:

Code:

"https://mlb-ws.mlb.com/pubajaxws/bamrest/MediaService2_0/op-generateKey/v-2.3?contentId=103564583&kid=20021306", "https 3 file", "", "45448616", "184.85.215.113"

joejones15 05-06-2015 08:00 PM

Re: MLB.TV Livestreamer Support?


 
so this url plays without any login, the on-demand feed:
Code:

http://mlb.mlb.com/shared/flash/mediaplayer/v4.5/R7/MP4.jsp?calendar_event_id=14-414053-2015-05-06&content_id=103564583&media_id=&view_key=&media_type=video&source=MLB&sponsor=MLB&clickOrigin=Media+Grid&affiliateId=Media+Grid&team=mlb
This is what rtmpdumphelper did on "suck" mode:

Code:

RTMP Proxy Server v2.4 GIT-2015-01-15 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu; license: GPL

Streaming on rtmp://0.0.0.0:1935
WARNING: Trying different position for client digest!
Processing connect
      app : ondemand?_fcs_vhost=cp65670.edgefcs.net&akmfv=1.6&auth=da.cSaAbcbuc
MdEaCcda0b4bxdccadTdbdq-bvsSzu-O-zuqpwkBsJqlDIp-j8k8kamglemimamflgjkk4kblkm3jfld
j7k9kamcl7m8mbmi&aifp=v0001&slist=secure/mlbam/2015/05/06/14-414053-2015-05-06/w
eb-encodes/mlbtv_aricol_visit&ct5=07-May-15&ct6=67.250.252.57&ct7=103564583:FMS_
CLOUD&ct8=1&ct1=mlb&ct3=29984479&ct4=mlb&ct9=b47fa9821fc14f078fda2959c50bc377
  flashVer : WIN 17,0,0,169
    swfUrl : http://mlb.mlb.com/shared/flash/mediaplayer/v4.5/R7/MediaPlayer4.sw
f
    tcUrl : rtmp://184.29.104.62:1935/ondemand?_fcs_vhost=cp65670.edgefcs.net&a
kmfv=1.6&auth=da.cSaAbcbucMdEaCcda0b4bxdccadTdbdq-bvsSzu-O-zuqpwkBsJqlDIp-j8k8ka
mglemimamflgjkk4kblkm3jfldj7k9kamcl7m8mbmi&aifp=v0001&slist=secure/mlbam/2015/05
/06/14-414053-2015-05-06/web-encodes/mlbtv_aricol_visit&ct5=07-May-15&ct6=67.250
.252.57&ct7=103564583:FMS_CLOUD&ct8=1&ct1=mlb&ct3=29984479&ct4=mlb&ct9=b47fa9821
fc14f078fda2959c50bc377
  pageUrl : http://mlb.mlb.com/shared/flash/mediaplayer/v4.5/R7/MP4.jsp?calenda
r_event_id=14-414053-2015-05-06&content_id=103564583&media_id=&view_key=&media_t
ype=video&source=MLB&sponsor=MLB&clickOrigin=Media+Grid&affiliateId=Media+Grid&t
eam=mlb
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!

so i ran rtmpdumphelper on "serve" mode and got this download of cumulative files, with the most recent and largest file playing the whole video...so this will work and download the whole game, but your folder will have a bunch of smaller files...but the most recent and largest file has the whole thing start to finish:




Zebra 05-07-2015 09:43 PM

Re: MLB.TV Livestreamer Support?


 
Nice, thanks! Just saw this, will check it out soon!

Zebra 05-09-2015 12:35 PM

Re: MLB.TV Livestreamer Support?


 
Quote:

Originally Posted by joejones15 (Post 76379)
so this url plays without any login, the on-demand feed:
Code:

http://mlb.mlb.com/shared/flash/mediaplayer/v4.5/R7/MP4.jsp?calendar_event_id=14-414053-2015-05-06&content_id=103564583&media_id=&view_key=&media_type=video&source=MLB&sponsor=MLB&clickOrigin=Media+Grid&affiliateId=Media+Grid&team=mlb
This is what rtmpdumphelper did on "suck" mode:

so i ran rtmpdumphelper on "serve" mode and got this download of cumulative files, with the most recent and largest file playing the whole video...so this will work and download the whole game, but your folder will have a bunch of smaller files...but the most recent and largest file has the whole thing start to finish:

Sorry if this is a silly question, but I must be doing something wrong. When I run rtmpdumphelper in either mode, the only command prompt output I get is
Code:

RTMP Server 2.4 GIT-2015-01-15 (Compiled by KSV)
(c) 2010 [etc., etc.]

Streaming on rtmp://0.0.0.0:1935

I tried launching the browser before rtmpdumphelper, and vice versa. I tried Chrome and Firefox. The rtmpdumphelper GUI says that it successfully launches the RTMP proxy server and successfully attaches to the web browser. Should it take a while?

joejones15 05-10-2015 01:45 PM

Re: MLB.TV Livestreamer Support?


 
i open rtmpdumphelper first in serve mode, then play this link in firefox and it catches right away:

Code:

http://mlb.mlb.com/shared/flash/mediaplayer/v4.5/R7/MP4.jsp?calendar_event_id=14-414053-2015-05-06&content_id=103564583&media_id=&view_key=&media_type=video&source=MLB&sponsor=MLB&clickOrigin=Media+Grid&affiliateId=Media+Grid&team=mlb
do you have most recent version:

Code:

https://github.com/K-S-V/Scripts/releases/download/v2.4/rtmpdump-2.4.zip

Zebra 05-10-2015 02:57 PM

Re: MLB.TV Livestreamer Support?


 
Huh. I did have 2.4 before. I just tried it again and got a Failed to start RTMP server error, but then extracted rtmpdump-2.4.zip again, copied over the files in rtmpdumphelper121, relaunched, and got the same output as before (Streaming on rtmp://0.0.0.0:1935).

The RTMPdump binaries are all in the rtmpdumphelper121 folder, which is in Program Files (x86). That patch.diff file isn't used for anything since these are already compiled, right?

joejones15 05-10-2015 03:43 PM

Re: MLB.TV Livestreamer Support?


 
Quote:

Originally Posted by Zebra (Post 76498)
Huh. I did have 2.4 before. I just tried it again and got a Failed to start RTMP server error, but then extracted rtmpdump-2.4.zip again, copied over the files in rtmpdumphelper121, relaunched, and got the same output as before (Streaming on rtmp://0.0.0.0:1935).

The RTMPdump binaries are all in the rtmpdumphelper121 folder, which is in Program Files (x86). That patch.diff file isn't used for anything since these are already compiled, right?

hmmm...not sure mate, im stumped

this is the command line i get:

Code:

rtmpdump -r "rtmp://184.29.104.62:1935/ondemand" -a "ondemand?_fcs_vhost=cp65670.edgefcs.net&akmfv=1.6&auth=da.dja1cTa4aNdfdMaCaxbhcmcpdHd2cQbP-bvt9i6-O-EunqzjHqKqqGIn-j9k9l9ljmhmhlbkamljhl7jhjlm8mfjij8kal9lfmam7lckd&aifp=v0001&slist=secure/mlbam/2015/05/06/14-414053-2015-05-06/web-encodes/mlbtv_aricol_visit&ct5=10-May-15&ct6=67.250.252.57&ct7=103564583:FMS_CLOUD&ct8=1&ct1=mlb&ct3=29984479&ct4=mlb&ct9=d0a84eeafa794bc0a8397a03693a6d53" -f "WIN 17,0,0,169" -W "http://mlb.mlb.com/shared/flash/mediaplayer/v4.5/R7/MediaPlayer4.swf" -p "http://mlb.mlb.com/shared/flash/mediaplayer/v4.5/R7/MP4.jsp?calendar_event_id=14-414053-2015-05-06&content_id=103564583&media_id=&view_key=&media_type=video&source=MLB&sponsor=MLB&clickOrigin=Media+Grid&affiliateId=Media+Grid&team=mlb" -C B:0 -y "mp4:secure/mlbam/2015/05/06/14-414053-2015-05-06/web-encodes/mlbtv_aricol_visit_2400k.mp4?auth=da.dja1cTa4aNdfdMaCaxbhcmcpdHd2cQbP-bvt9i6-O-EunqzjHqKqqGIn-j9k9l9ljmhmhlbkamljhl7jhjlm8mfjij8kal9lfmam7lckd&aifp=v0001&slist=secure/mlbam/2015/05/06/14-414053-2015-05-06/web-encodes/mlbtv_aricol_visit&ct5=10-May-15&ct6=67.250.252.57&ct7=103564583:FMS_CLOUD&ct8=1&ct1=mlb&ct3=29984479&ct4=mlb&ct9=d0a84eeafa794bc0a8397a03693a6d53" -o "2015-05-10_05-48-44_mlbtv_aricol_visit_2400k.flv"
maybe try clearing your firefox history, start rtmpdumphelper on "serve", then open firefox and play that link (also, not sure if makes difference, but I have adblocker on while doing this)

Zebra 05-10-2015 04:58 PM

Re: MLB.TV Livestreamer Support?


 
Which version of adblock? I've been using ublock, but it shouldn't make a difference.


All times are GMT -6. The time now is 08:38 PM.