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
  #11  
Old 05-02-2015, 09:17 AM
nullacht nullacht is offline
Senior Member
 
Join Date: Jan 2010
Posts: 230
nullacht will become famous soon enoughnullacht will become famous soon enough
Default

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]
Reply With Quote
  #12  
Old 05-06-2015, 05:31 PM
Zebra Zebra is offline
Junior Member
 
Join Date: May 2015
Posts: 7
Zebra is on a distinguished road
Default

Re: MLB.TV Livestreamer Support?


Quote:
Originally Posted by joejones15 View Post
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
Reply With Quote
  #13  
Old 05-06-2015, 06:04 PM
joejones15 joejones15 is offline
Senior Member
 
Join Date: Mar 2015
Posts: 222
joejones15 is on a distinguished road
Default

Re: MLB.TV Livestreamer Support?


Quote:
Originally Posted by Zebra View Post
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"
Reply With Quote
  #14  
Old 05-06-2015, 09:00 PM
joejones15 joejones15 is offline
Senior Member
 
Join Date: Mar 2015
Posts: 222
joejones15 is on a distinguished road
Default

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:



Reply With Quote
  #15  
Old 05-07-2015, 10:43 PM
Zebra Zebra is offline
Junior Member
 
Join Date: May 2015
Posts: 7
Zebra is on a distinguished road
Default

Re: MLB.TV Livestreamer Support?


Nice, thanks! Just saw this, will check it out soon!
Reply With Quote
  #16  
Old 05-09-2015, 01:35 PM
Zebra Zebra is offline
Junior Member
 
Join Date: May 2015
Posts: 7
Zebra is on a distinguished road
Default

Re: MLB.TV Livestreamer Support?


Quote:
Originally Posted by joejones15 View Post
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?
Reply With Quote
  #17  
Old 05-10-2015, 02:45 PM
joejones15 joejones15 is offline
Senior Member
 
Join Date: Mar 2015
Posts: 222
joejones15 is on a distinguished road
Default

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
Reply With Quote
  #18  
Old 05-10-2015, 03:57 PM
Zebra Zebra is offline
Junior Member
 
Join Date: May 2015
Posts: 7
Zebra is on a distinguished road
Default

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?
Reply With Quote
  #19  
Old 05-10-2015, 04:43 PM
joejones15 joejones15 is offline
Senior Member
 
Join Date: Mar 2015
Posts: 222
joejones15 is on a distinguished road
Default

Re: MLB.TV Livestreamer Support?


Quote:
Originally Posted by Zebra View Post
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)
Reply With Quote
  #20  
Old 05-10-2015, 05:58 PM
Zebra Zebra is offline
Junior Member
 
Join Date: May 2015
Posts: 7
Zebra is on a distinguished road
Default

Re: MLB.TV Livestreamer Support?


Which version of adblock? I've been using ublock, but it shouldn't make a difference.
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 06:43 PM.


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