PDA

View Full Version : Need help with RTMP and token


quan3t
09-04-2015, 02:30 PM
Hello,
I am trying to stream some sports at this site but look like it have token which I couldn't figure out. Can someone help? Thanks
Link I tried.
http://www.vipleague.se/tennis/326201/1/svitolina-vs-makarova-(arhtur-ashe-stadium)-live-stream-online.html
Might be offline now since event is over, but you can pick any of the live event from the that website and try.
Here is the info I got from trmpdump
Processing connect
app: zmliveme
flashVer: WIN 18,0,0,232
swfUrl: http://static.zoomtv.me/player/jwplayer.6.7.4.swf
tcUrl: rtmp://80.82.64.72:1935/zmliveme
pageUrl: http://www.zoomtv.me/embed.php?v=1dogma&vw=660&vh=450
Playpath: 4jsao38mvl
Saving as: 4jsao38mvl
INFO: Metadata:
INFO: presetname Custom
INFO: creationdate Fri Sep 04 16:21:00 2015
INFO: videodevice XSplitBroadcaster
INFO: framerate 20.00
INFO: width 640.00
INFO: height 360.00
INFO: videocodecid avc1
INFO: avclevel 22.00
INFO: avcprofile 100.00
INFO: videodatarate 390.62
INFO: audiodevice VHAudioCustom
INFO: audiosamplerate 44100.00
INFO: audiochannels 2.00
INFO: audioinputvolume 100.00
INFO: audiocodecid mp4a
INFO: audiodatarate 93.75
INFO: bufferSize 600k
INFO: maxBitrate 600k
INFO: xsplitBroadcasterVersion1.3.0.416
INFO: xsplitCoreVersion 2.3.1505.0542 Version 2.3
INFO: xsplitGameSourceVersion1.1.1.141
INFO: xsplitMediaLibVersion 2.0.0.507
INFO: pluginName CustomRTMP
INFO: pluginVersion 2.3.1505.0501
WARNING: ignoring too small audio packet: size: 0
ERROR: WriteN, RTMP send error 10054 (4043 bytes)

This is my syntax
rtmpdump.exe -v -r rtmp://46.28.205.7:1935/zmliveme -f "WIN 18,0,0,232" -y "4jsao38mvl" -W "http://static.zoomtv.me/player/jwplayer.6.7.4.swf" -p "http://www.zoomtv.me/embed.php?v=1dogma&vw=660&vh=450" -a "zmliveme" --quiet | "C:\Program Files\VideoLAN\VLC\vlc.exe"

biezom
09-04-2015, 05:14 PM
Hello,
I am trying to stream some sports at this site but look like it have token which I couldn't figure out. Can someone help? Thanks
Link I tried.
http://www.vipleague.se/tennis/326201/1/svitolina-vs-makarova-(arhtur-ashe-stadium)-live-stream-online.html
Might be offline now since event is over, but you can pick any of the live event from the that website and try.
Here is the info I got from trmpdump


This is my syntax
rtmpdump.exe -v -r rtmp://46.28.205.7:1935/zmliveme -f "WIN 18,0,0,232" -y "4jsao38mvl" -W "http://static.zoomtv.me/player/jwplayer.6.7.4.swf" -p "http://www.zoomtv.me/embed.php?v=1dogma&vw=660&vh=450" -a "zmliveme" --quiet | "C:\Program Files\VideoLAN\VLC\vlc.exe"

yes need token but 2 other dynamic values and " " for other value

-T "Q!lrB@G1)ww(-dQ4J4"

-C S:1441407845 -C S:938ce04926b0a5f1fa0ad9debdf3ecf7

-C S:"V>JWhui^@2ESdu0?}>AN"
rtmpdump -r "rtmp://93.174.93.70:1935/zmliveme" -a "zmliveme" -f "WIN 18,0,0,209" -W "http://static.zoomtv.me/player/jwplayer.6.7.4.swf" -p "http://www.zoomtv.me/embed.php?v=1dogma&vw=660&vh=450" --live -C S:4jsao38mvl -C S:1441407845 -C S:938ce04926b0a5f1fa0ad9debdf3ecf7 -C S:"V>JWhui^@2ESdu0?}>AN" -y "4jsao38mvl" -T "Q!lrB@G1)ww(-dQ4J4" | "C:\Program Files\VideoLAN\VLC\vlc.exe" -


http://i.imgur.com/GVsfcQC.png

quan3t
09-04-2015, 09:10 PM
Sweet. Do you mind sharing how you got the token? Did you use winhex? I tried using winhex and was not successful. Also how do you find the extra parameters? Wasn't part of the dump. Thanks

biezom
09-04-2015, 09:53 PM
Sweet. Do you mind sharing how you got the token? Did you use winhex? I tried using winhex and was not successful. Also how do you find the extra parameters? Wasn't part of the dump. Thanks

yes i use winhex to find the token
and rtmpdumphelper to find the code (with -C S:.....)

quan3t
09-07-2015, 08:35 AM
Hi. Can you please help with another stream. I am having difficulty trying to find the Token. Thank you much.
http://www.stream2watch.co/live-tv/us/discovery-channel-live-stream

troller12
09-07-2015, 09:01 AM
Hi,

token=F27b4e798158a711baf6d028666e09fe
streamer=rtmp://95.211.209.165:1935/edge/_definst_/?xs=_we_cm83YzllaGEwejk2aHBwfDE0NDE2Mzc4MTF8NzcuMi 45Ny4yNDB8NTVlZGE0NGI5N2Q5YnxkNDY3NzMzMmQ2NmEzOGM4 ZTM5ZTA3ZWI4MjE5MWFiNWU4MjhmMDhk
file=ro7c9eha0z96hpp.flv
greetz

peterpan
09-07-2015, 09:13 AM
Edit: I need to work on my speed lol troller was faster ;)

Here you go...


rtmpdump -r "rtmp://watch4.streamlive.to:1935/edge/_definst_/" -a "edge/_definst_/?xs=_we_cm83YzllaGEwejk2aHBwfDE0NDE2Mzg3NDB8NzYuMT gxLjQ2LjIzNHw1NWVkYTdlYzY0MTkyfDI3YTkzZTk3ZmQzMTU2 ZGU1N2E0Mzc2NjhjM2YyZTZiNjZiZGNlZDY." -f "WIN 18,0,0,232" -W "http://www.streamlive.to/ads/embed/player_ilive_embed.swf" -p "http://www.streamlive.to/embedplayer.php?channel=69110&width=700&height=480&autoplay=true" -y "ro7c9eha0z96hpp" -T "W8a336bb92090a4e05a2664db10677c3" | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -


http://i.imgur.com/HbGXzcsm.png



Hi. Can you please help with another stream. I am having difficulty trying to find the Token. Thank you much.
http://www.stream2watch.co/live-tv/us/discovery-channel-live-stream

quan3t
09-07-2015, 09:46 AM
I copy and paste your code but it not working.. I wonder if they have some rotation token as seem your token and trollers posted token are different.
Ps. I tried Trollers token and not working either.
http://i.imgur.com/5gRFQMb.jpg

quan3t
09-07-2015, 09:50 AM
BTW. Do you mind giving quick note on how you find the token? I tried using winhex but couldn't find it.. Here my steps:
1) I open firefox and go to stream link
2) Stream start playing, I open winhex and go to Tools, Memory
3) I open plugin.container and do a search for secureToken
4) Nothing found :(

troller12
09-07-2015, 10:22 AM
Hi,

yes token is dynamic.
--------------------------------------------------
http://www.streamlive.to/server.php?id=1441641275
{"token":"n74d7d9ca79ac8b0c4004058d4d129c7"}
--------------------------------------------------
As response you get token data if you follow / debug the way.If you want to find token in memory then you have to search for..
token=
...as I did post before already.Now you find it.On original site of streamlive...
streamlive.to
http://www.streamlive.to/view/69110/Discoverylive-stream-channel

...you can also find a playlist....
file': 'http://23.92.70.42:1935/edge/ro7c9eha0z96hpp/playplist.m3u8
...but livestreamer dosen't play it and get any timeout problem etc so I think for this you need to use some extra --http-header paramters etc.
livestreamer "hls://http://23.92.70.42:1935/edge/ro7c9eha0z96hpp/playplist.m3u8" best
[cli][info] Found matching plugin stream for URL hls://http://23.92.70.42:1935/edge/ro7c9eha0z96hpp/playplist.m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (hls)
[cli][error] Could not open stream: Unable to open URL: http://23.92.70.42:1935/
edge/ro7c9eha0z96hpp/playplist.m3u8 ((<requests.packages.urllib3.connectionpool.
HTTPConnectionPool object at 0x01358630>, 'Connection to 23.92.70.42 timed out.
(connect timeout=20.0)'))
greetz

biezom
09-07-2015, 03:34 PM
livestreamer "hlsvariant://http://89.248.172.57:1935/edge/_definst_/ro7c9eha0z96hpp/playlist.m3u8?xs=_we_cm83YzllaGEwejk2aHBwfDE0NDE2N jE5MjR8NjIuNzMuMTAuODd8NTVlZTAyN2MyZWJiZnw3YmMyZGZ lZDdmOWUwMTMyODJkYzUzZjkwZGQ4MmMzMjgxZTIyMGI0" best -o discovery.ts
[cli][info] Found matching plugin stream for URL hlsvariant://http://89.248.172.57:1935/edge/_definst_/ro7c9eha0z96hpp/playlist.m3u8?xs=_we_cm83YzllaGEwejk2aHBwfDE0NDE2N jE5MjR8NjIuNzMuMTAuODd8NTVlZTAyN2MyZWJiZnw3YmMyZGZ lZDdmOWUwMTMyODJkYzUzZjkwZGQ4MmMzMjgxZTIyMGI0
[cli][info] Available streams: 505k (worst, best)
[cli][info] Opening stream: 505k (hls)
[download][discovery.ts] Written 1.6 MB (9s @ 171.4 KB/s)


you can use the same value found with rtmpdumphelper

quan3t
09-07-2015, 04:20 PM
hmm. so I copy peterpan command to the T using a new token I found using Troller method but it just wouldn't play. Anyone see issue with my command?
rtmpdump -r "rtmp://watch4.streamlive.to:1935/edge/_definst_/" -a "edge/_definst_/?xs=_we_cm83YzllaGEwejk2aHBwfDE0NDE2Mzg3NDB8NzYuMT gxLjQ2LjIzNHw1NWVkYTdlYzY0MTkyfDI3YTkzZTk3ZmQzMTU2 ZGU1N2E0Mzc2NjhjM2YyZTZiNjZiZGNlZDY." -f "WIN 18,0,0,232" -W "http://www.streamlive.to/ads/embed/player_ilive_embed.swf" -p "http://www.streamlive.to/embedplayer.php?channel=69110&width=700&height=480&autoplay=true" -y "ro7c9eha0z96hpp" -T "xabdfda0e4876e63b405426c1d59c163" | "C:\Program Files\VideoLAN\VLC\vlc.exe" -

biezom
09-07-2015, 04:30 PM
hmm. so I copy peterpan command to the T using a new token I found using Troller method but it just wouldn't play. Anyone see issue with my command?

xs=_we_cm83YzllaGEwejk2aHBwfDE0NDE2Mzg3NDB8NzYuMTg xLjQ2LjIzNHw1NWVkYTdlYzY0MTkyfDI3YTkzZTk3ZmQzMTU2Z GU1N2E0Mzc2NjhjM2YyZTZiNjZiZGNlZDY.

you can't use this value you need find your own value

quan3t
09-07-2015, 05:01 PM
Oddly, that the same value I got when I rerun rtmpsucks

biezom
09-07-2015, 05:12 PM
Oddly, that the same value I got when I rerun rtmpsucks

maybe because token changed

-T "Fa1553332f283c7354232baab981f8be"

biezom
09-07-2015, 05:31 PM
http://m.streamlive.to/view/69110

################################################## #######################################
http://i.imgur.com/RLkw2e2.png

################################################## ########################################
http://i.imgur.com/kRKS9aH.png

lajvguy
09-07-2015, 07:39 PM
http://m.streamlive.to/view/69110

################################################## #######################################
http://i.imgur.com/RLkw2e2.png

################################################## ########################################
http://i.imgur.com/kRKS9aH.png

Can you help me to make this .bat file work? Thanks!

livestreamer "hlsvariant://http://89.248.172.57:1935/edge/_definst_/ro7c9eha0z96hpp/playlist.m3u8?xs=_we_cm83YzllaGEwejk2aHBwfDE0NDE2O DA0NTZ8MjYwMjozMDY6YzRiYzo1NDcwOmRjMWU6NzZkYjpmNjV mOjYxZjl8NTVlZTNlMzhlYTI1N3xkNmIzMTY5OTY2NDlhMGUyZ ThjZDkwMTFiN2Q1ZjQ3YjQyNmYyYjQ2" best