Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Mlb Rtmpdump Problem?http://yoursportsinhd.com/mlb/game/509721/
Tried to use rtmpdump with RTMPDumpHelper to play in VLC but nothing happens. Can anybody help? Thanks! |
#2
|
|||
|
|||
Re: Mlb Rtmpdump Problem?This is not rtmp stream.
http://mlblive-akc.mlb.com/ls01/mlba...r_wired60.m3u8 http://mlblive-akc.mlb.com/ls01/mlba..._complete.m3u8 http://mlblive-akc.mlb.com/ls01/mlba..._complete.m3u8 Here in England I can hear the sound only in my firefox browser, no video. Those urls I can't play "as they are". Good challenge. |
#3
|
|||
|
|||
Re: Mlb Rtmpdump Problem?@ j cool,
Thanks for the help but the game ended. Here's the link to another mlb game that starts 600pm Pacific (US): http://wiz1.net/channel105 Do you know how to get this stream to play in VLC? I don't know what parameters are needed. Can you help? |
#4
|
|||
|
|||
Re: Mlb Rtmpdump Problem?Game was on when I tried to see it in firefox, sound yes, but no video.
You get m3u8 with one of many sniffers like urlsnooper, httpfox or hls stream detector extensions for firefox,etc. You can play m3u8 with vlc however you like if there are no other parameters needed. This has to be looked at. Hls stream detector gave me ready to use ffmpeg command, didn't work either. I forgot to try livestreamer command, it would be compatible with streamlink. There is one news channel that I can watch with VLC 3, but not with any other VLC older than VLC 3. http://nightlies.videolan.org/ Streamlink plays the same m3u8 with whatever VLC i throw at it . 6pm your time is 2am here, I go to bed soon, but anyway If I do the same thing result is the same. Solution would be to try some new trick. Last edited by j_cool : 03-14-2017 at 02:24 AM. |
#5
|
|||
|
|||
Re: Mlb Rtmpdump Problem?Laj,
Every day I see something new somewhere on this forum. Instal firefox extensions HLS stream detector and HDS stream detector, and when your game is on in LA give them a try. |
#6
|
|||
|
|||
Re: Mlb Rtmpdump Problem?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)) |
#7
|
|||
|
|||
Re: Mlb Rtmpdump Problem?@ mckv,
Thanks for the help. Can you explain how to use your python player.py file? What folder does python player.py belong in? What command should I use? Thanks again! |
#8
|
|||
|
|||
Re: Mlb Rtmpdump Problem?@j cool,
Tried to use HLS Stream Detector but can't play mlb streams. Do you know how to use python player.py from mckv in previous post? He doesn't answer. Thanks! |
#9
|
|||
|
|||
Re: Mlb Rtmpdump Problem?I have not looked at python yet but as things go, I will have to.
Take for example rtmpdump, looks abandoned like livestreamer. I see only streamlik on the horizon, or write my own rtmpsuck. |
#10
|
|||
|
|||
Re: Mlb Rtmpdump Problem?@j cool,
http://yoursportsinhd.com/mlb/game/509624/ This game streams good with iPhone user agent change. How can I get it to play in VLC? Thanks again! |
Tags: mlb, rtmpdump |
Thread Tools | |
Display Modes | |
|
|