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 > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #31  
Old 04-27-2017, 02:27 AM
avsrf410 avsrf410 is offline
Junior Member
 
Join Date: Apr 2017
Posts: 17
avsrf410 is on a distinguished road
Default

Re: Mlb Rtmpdump Problem?


This link was working for now.
http://mlblive-akc.mlb.com/ls01/mlba...ter_wired.m3u8

Quote:
Originally Posted by mckv View Post
you can monkey-patch streamlink to change the key retrival url, tho it works fine even without doing it

Code:
import sys
import struct
import streamlink
from Crypto.Cipher import AES
from streamlink.exceptions import StreamError
from base64 import b64encode

session = streamlink.session.Streamlink()

def num_to_iv(n):
    return struct.pack(">8xq", n)

def new_create_decryptor(self, key, sequence):
    if key.method != "AES-128":
        raise StreamError("Unable to decrypt cipher {0}", key.method)

    if not key.uri:
        raise StreamError("Missing URI to decryption key")

    if self.key_uri != key.uri:
        new_uri = b'http://www.zoomtv.me/k.php?q='+b64encode(b'p=mlb&id=1&v=tv&vw=1&s='+b64encode(bytes(key.uri,'utf8')))
        res = self.session.http.get(new_uri.decode('utf-8'), exception=StreamError,
                                    retries=self.retries,
                                    **self.reader.request_params)
        self.key_data = res.content
        self.key_uri = key.uri

    iv = key.iv or num_to_iv(sequence)

    # Pad IV if needed
    iv = b"\x00" * (16 - len(iv)) + iv

    return AES.new(self.key_data, AES.MODE_CBC, iv)

streamlink.stream.hls.HLSStreamWriter.create_decryptor = new_create_decryptor

session.set_option("http-headers", {'Referer':'http://www.zoomtv.me/kembed.php?p=mlb&id=1&v=tv'})
streams = session.streams('hlsvariant://http://mlblive-akc.mlb.com/ls01/mlbam/mlb_network/NETWORK_LINEAR_1/master_wired.m3u8')
stream = streams["worst"]
fd = stream.open()
while True:
    sys.stdout.buffer.write(fd.read(100 * 1024))
python player.py | vlc -
Reply With Quote
  #32  
Old 04-27-2017, 03:19 AM
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?


Reply With Quote
  #33  
Old 04-27-2017, 01:47 PM
tvgplayer tvgplayer is offline
Member
 
Join Date: Nov 2016
Posts: 42
tvgplayer is on a distinguished road
Default

Re: Mlb Rtmpdump Problem?


Quote:
Originally Posted by j_cool View Post
avsrf410,

Try something yourself before speaking in public.

TVG, if you give a try to this you may find that your browser gets infected with malware.

In that case uninstall your browser and take care that nothing is left from history before reinstalling it again.

If you don't know how to handle this you may end up reinstalling OS from scratch.

::::::::: profile

rd /s /q "%APPDATA%\mozilla"

rd /s /q "%USERPROFILE%\Local Settings\Application Data\Mozilla"

rd /s /q %TEMP%

md %TEMP%

rd /s /q "%USERPROFILE%\Recent"

md "%USERPROFILE%\Recent"
@j cool,

Thanks for looking out for me. I don't want my browser to get infected with malware.
Reply With Quote
  #34  
Old 04-27-2017, 01:55 PM
tvgplayer tvgplayer is offline
Member
 
Join Date: Nov 2016
Posts: 42
tvgplayer is on a distinguished road
Default

Re: Mlb Rtmpdump Problem?


@j cool,

Thanks. Do you know how I can get any mlbstreams.net game to play in VLC? RTMPDumpHelper doesn't pick anything up. Thanks!

http://mlbstreams.net/los-angeles-do...b-live-stream/
Reply With Quote
  #35  
Old 04-27-2017, 04:14 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?


When I click on your link everything is against me to see the stream, webmasters like it like that for a reason beyond me.

When I clicked on avsrf410's link ton of garbage popped-up in matter of seconds and blocked my browser.

When I restarted the browser, the same garbage popped-up again and blocked the browser at the very start.

I had to uninstall and re-install the browser.

Ask avsrf410 how did he get m3u8, but don't click on his link.
Reply With Quote
  #36  
Old 04-27-2017, 04:43 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Mlb Rtmpdump Problem?


About your question too myfeed2all and why RTMPDumpHelper dosent grab any stream datas.So you have to enter the right ports / port ranges in RDH options to scan for.If the stream does run then open CMD and enter netstat -bn and in the Remoteadresse list of your flashplayer plugin process you can see the stream IP & port like this...
Code:
185.80.220.81:13396
....stream does use port 13396.Enter this into scan list.If you try it again then it will fail and if you check stream port again then you see it has changed if you reload the site so they are using dynamic ports but this you can also prevent if you just reload the player on that site alone again then same port will used again and you can grab the stream datas with RDH.
Code:
-r "rtmp://185.80.220.81:13396/stream/" 
-a "stream/" 
-f "WIN 25,0,0,148" 
-W "http://thecdn.04stream.com/p/ooolo1.swf" 
-p "http://www.04stream.com/ebb.php?adsp=ttother&width=600&height=460&a=.......=firstrowas1.cc" 
-y "0f5Bo327y0yBobZcQBIw.stream?........"
I did short the long paths above.Just follow the important links in browser console to get more infos.

greetz
Reply With Quote
  #37  
Old 04-27-2017, 05:28 PM
tvgplayer tvgplayer is offline
Member
 
Join Date: Nov 2016
Posts: 42
tvgplayer is on a distinguished road
Default

Re: Mlb Rtmpdump Problem?


Quote:
Originally Posted by troller12 View Post
About your question too myfeed2all and why RTMPDumpHelper dosent grab any stream datas.So you have to enter the right ports / port ranges in RDH options to scan for.If the stream does run then open CMD and enter netstat -bn and in the Remoteadresse list of your flashplayer plugin process you can see the stream IP & port like this...
Code:
185.80.220.81:13396
....stream does use port 13396.Enter this into scan list.If you try it again then it will fail and if you check stream port again then you see it has changed if you reload the site so they are using dynamic ports but this you can also prevent if you just reload the player on that site alone again then same port will used again and you can grab the stream datas with RDH.
Code:
-r "rtmp://185.80.220.81:13396/stream/" 
-a "stream/" 
-f "WIN 25,0,0,148" 
-W "http://thecdn.04stream.com/p/ooolo1.swf" 
-p "http://www.04stream.com/ebb.php?adsp=ttother&width=600&height=460&a=.......=firstrowas1.cc" 
-y "0f5Bo327y0yBobZcQBIw.stream?........"
I did short the long paths above.Just follow the important links in browser console to get more infos.

greetz
I always learn something from you. How do I just reload the player on that site alone again so same port will be used again? Thanks!
Reply With Quote
  #38  
Old 04-28-2017, 02:05 PM
troller12 troller12 is offline
Senior Member
 
Join Date: Sep 2013
Posts: 433
troller12 is on a distinguished road
Default

Re: Mlb Rtmpdump Problem?


Hi,

so the stream infos you can also read if you inspect the flash player on that site.Just use your browser console a little.

You can also use tools like uBlock Origin.Choose the picker then select the flash player and now you get a new preview window where you can choose elements to hide also with a preview function.Choose this and then undo it and the stream gets fresh loaded alone without to load whole site again.

greetz
Reply With Quote
  #39  
Old 04-30-2017, 02:32 AM
JonDough JonDough is offline
Member
 
Join Date: Feb 2016
Posts: 90
JonDough is on a distinguished road
Default

Re: Mlb Rtmpdump Problem?


It is all working fine. For mlbstreams.net, don't install any plugins or other crap. The same link on the page has to be clicked like three times. The first two clicks go to ads or that plugin install page. Ignore all of that. The third click will return the m3u8.
Reply With Quote
  #40  
Old 04-30-2017, 02:07 PM
tvgplayer tvgplayer is offline
Member
 
Join Date: Nov 2016
Posts: 42
tvgplayer is on a distinguished road
Default

Re: Mlb Rtmpdump Problem?


Quote:
Originally Posted by JonDough View Post
It is all working fine. For mlbstreams.net, don't install any plugins or other crap. The same link on the page has to be clicked like three times. The first two clicks go to ads or that plugin install page. Ignore all of that. The third click will return the m3u8.
You're right. You don't have to sign up or download the extension to get the HD stream. Just have to keep clicking the ads off to start the stream. You can get the HD stream setting on the player.

Do you know how to play the m3u8 in VLC? Thanks!
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 10:24 AM.


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