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

How to rtmpdump coolsport.tv stream?

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

summitsc 06-09-2014 07:43 AM

Re: How to rtmpdump coolsport.tv stream?


 
It is not working, I am using rtmpdump v2.4 (installed in ubuntu from sudo command)

sudo apt-get install rtmpdump

rtmpdump -v -r "rtmp://31.220.0.193:1935/redirect/16" -f "WIN 11,5,502,149" -W "http://filotv.pw/atdedead.swf" -p "http://filotv.pw/" -T '#atd%#$ZH' -C S:OK -q

gajm 06-09-2014 08:39 AM

Re: How to rtmpdump coolsport.tv stream?


 
@summitsc, the rtmpdump version you're using doesn't handle the redirect, but you can use something like this, grepping the redirect from the debug (-V) output:
Code:

## Debug (-V) redirect output example:
## DEBUG: Property: <Name:          redirect, STRING:        rtmp://37.220.32.55:443/liverepeater>
redirect=`rtmpdump -v -r "rtmp://31.220.0.193:1935/redirect" -W "http://filotv.pw/atdedead.swf" -p "http://filotv.pw" -y "16" -T '#atd%#$ZH' -V -B 0.1 2>&1 | grep "redirect, STRING:" | grep -o 'rtmp[^>]*'`
rtmpdump -v -r "$redirect" -W "http://filotv.pw/atdedead.swf" -p "http://filotv.pw" -y "16" -T '#atd%#$ZH' -o out.flv

Cheers

summitsc 06-09-2014 10:32 AM

Re: How to rtmpdump coolsport.tv stream?


 
Thanks. That's working :)


All times are GMT -6. The time now is 02:36 PM.