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

Challenge Lovers...Here is one for you... (token(s) needed)

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

peterpan 09-25-2013 12:25 AM

Challenge Lovers...Here is one for you... (token(s) needed)


 
Hey Gurus,

Can you please take a look at this and see if you can "crack it" and get it to play on xbmc or vlc, for that matter!

http://www.pirlotv.tv/ver-fox-sports.php

Here is some facts about this stream:

a. the server (ip address) changes every time you open/play the channel (so regex is a must)

b. your own ip address is hex encoded in the id=xxxxx..., so that id changes based on where you play the stream from. but is "static", if your ip is static ;)

c. the long string of numbers "ids" (after embed/ and separated by "/") in pageUrl also vary. the 1st half of the id changes only based on the channel you choose, the 2nd half (after "/"), also changes based om your own ip and the channel you're playing (I believe)

d. again, all these IDs remain static if you play the channel form the same location (i.e. your home or cafe, etc...)

e. I think this monster needs a token, maybe even 2 or 3 tokens!!!

Here is what I've captured, and you should be able to capture as well, rather easily...but good luck making it work ;)

rtmp://198.144.153.143:443/kuyo playpath=dfoxsportsptv?id=3?362e31??392e302e36?? conn=S:OK swfUrl=http://yukons.net/yplayerv2.swf
pageUrl=http://yukons.net/embed/36343636364637383733373036463732373437333730373437 36/b1d5f8de4abbd899b4b2453b28c36824/650/440

So in summary, if you were to regex this stream, it looks like only the ip address needs to be regex'ed...piece of cake, right? not so I'd say... I and a buddy of mine have been working on it for a few days, and so far...no luck :( It needs some token or an additional "conn=" expression, which we're not able to find :(

Cheers & Thank You!

AmazingMatze 09-25-2013 04:11 PM

Re: Challenge Lovers...Here is one for you... (token(s) needed)


 
Code:

rtmpdump -v -r "rtmp://50.23.115.84/live" -a "live" -W "http://mips.tv/content/scripts/eplayer.swf" -p "http://mips.tv/embedplayer/dfoxsports/1/650/440" -C S:OK -y "dfoxsports?id=181388" -o "dfoxsports_stream.flv"
Code:

RTMPDump v2.4 GIT-2012-12-09 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
Starting Live Stream
INFO: Metadata:
INFO:  presetname            Custom
INFO:  creationdate          Wed Sep 25 14:37:42 2013
INFO:  videodevice          VC500 Video
INFO:  framerate            29.97
INFO:  width                400.00
INFO:  height                240.00
INFO:  videocodecid          avc1
INFO:  videodatarate        400.00
INFO:  avclevel              31.00
INFO:  avcprofile            66.00
INFO:  videokeyframe_frequency5.00
INFO:  audiodevice          VC500 Video
INFO:  audiosamplerate      22050.00
INFO:  audiochannels        1.00
INFO:  audioinputvolume      75.00
INFO:  audiocodecid          .mp3
INFO:  audiodatarate        32.00
673.771 kB / 15.91 sec

As I am not familiar with XBMC, I can't vouch for it. But it should look like this:

Code:

<link>rtmp://50.23.115.84/live playpath=dfoxsports?id=181388 app=live conn=S:OK swfUrl=http://mips.tv/content/scripts/eplayer.swf pageUrl=http://mips.tv/embedplayer/dfoxsports/1/650/440 live=true swfVfy=true</link>

peterpan 09-25-2013 11:28 PM

Re: Challenge Lovers...Here is one for you... (token(s) needed)


 
Thanks for giving it a try bro!

It's working great! But not exactly what I was looking for...Thank you very much for your effort though. You probably noticed that your capture is quite different than mine. And the reason being is because they (pirlo tv) is now streaming using a different protocol all together MIPS vs. Yukons ;)

I hope they switch back to the "harder stream" soon, so I can proceed with my testing... :)

Cheers!

Len1o 09-02-2014 06:37 PM

Re: Challenge Lovers...Here is one for you... (token(s) needed)


 
how do you get a decoded id ?

mckv 09-03-2014 02:42 AM

Re: Challenge Lovers...Here is one for you... (token(s) needed)


 
they change the stream site all the time so any regex you write will be quickly useless

currently using boxlivetv
Code:

rtmpdump -r "rtmp://162.253.130.162/edge/foxsports" -a "edge/foxsports" -f "LNX 11,2,202,400" -W "http://www.pirlotv.me/players/player2.swf" -p "http://www.boxlivetv.net" -y "foxsports" | vlc -

dexteriptv 09-03-2014 03:05 PM

Re: Challenge Lovers...Here is one for you... (token(s) needed)


 
Got the below..

Used curl (open source) to fetch the page. Basic bash commands to grep the dynamic rtmp URL. No token required!! Cheers :)

Code:

curl "http://www.boxlivetv.net/player.php?chname=foxsports&width=650&height=450&domain=www.pirlotv.tv" > out.txt

findstr "rtmp:" out.txt > out2.txt
for /f usebackq^ tokens^=^4^ delims^=^' %%a in ("out2.txt") do >"rtmp.txt" echo %%a
set /p rtmpurl=< rtmp.txt
del out.txt del out2.txt del rtmp.txt

rtmpdump -v -V -r "%rtmpurl%/foxsports" --pageUrl=http://www.boxlivetv.net/player.php -W http://www.pirlotv.me/players/player2.swf -o - -b 36000 | "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" -q --one-instance --fullscreen --play-and-exit --network-caching=1600 --no-osd -



All times are GMT -6. The time now is 04:15 AM.