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-04-2014 12:53 PM

How to rtmpdump coolsport.tv stream?


 
Hi
I was recently dumping coolsport stream, but now I can't do it. Please someone tell the rtmpdump code for this stream.

Code:

http://coolsport.tv/wwenetwork.html

drbmn 06-04-2014 03:00 PM

Re: How to rtmpdump coolsport.tv stream?


 
Code:

rtmpdump -r "rtmp://31.220.0.193:1935/redirect" -a "redirect" -W "http://filotv.pw/atdedead.swf" -p "http://coolsport.tv/wwenetwork.html" -y "16" -T "#atd%#$ZH" -o "wwenetwork.flv"
I have not tested this. but it should work. :)

mckv 06-05-2014 02:33 AM

Re: How to rtmpdump coolsport.tv stream?


 
Code:

rtmpdump -v -r "rtmp://31.220.0.193:1935/redirect" -a "redirect" -W "http://filotv.pw/atdedead.swf" -p "http://filotv.pw" -T '#atd%#$ZH' -y "16"  | vlc -

peterpan 06-05-2014 09:44 AM

Re: How to rtmpdump coolsport.tv stream?


 
Not working! I think it's a similar issue stated in this thread http://stream-recorder.com/forum/err...or-t11276.html. It too uses a redirect. This was suppose to be fixed a while back, but I think it is still a problem....at least for some of us, if not everyone!

Here is the debug log for the Gurus...

Code:

Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.

c:\rtmpdump-2.4a>rtmpdump  -V -r "rtmp://31.220.0.193:1935/redirect" -a "redirec
t" -W "http://filotv.pw/atdedead.swf" -p "http://filotv.pw/player2.php?id=16&wid
th=640&height=460" -T '#atd%#$ZH' -y "16" | "C:\Program Files (x86)\VideoLAN\VLC
\vlc.exe" -
RTMPDump v2.4 GIT-2014-03-02 (Compiled by KSV)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host    : 31.220.0.193
DEBUG: Parsed app    : redirect
WARNING: You haven't specified an output file (-o filename), using stdout
DEBUG: Protocol : RTMP
DEBUG: Hostname : 31.220.0.193
DEBUG: Port    : 1935
DEBUG: Playpath : 16
DEBUG: tcUrl    : rtmp://31.220.0.193:1935/redirect
DEBUG: swfUrl  : http://filotv.pw/atdedead.swf
DEBUG: pageUrl  : http://filotv.pw/player2.php?id=16&width=640&height=460
DEBUG: app      : redirect
DEBUG: live    : no
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: 2e 04 8c 98 fc fb f8 ac 53 0c b1 20 9a dd b8 d7
DEBUG: 16 db 06 d2 79 8c 5b b2 bf 14 95 b7 72 9d e5 bb
DEBUG: SWFSize  : 288107
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 160
DEBUG: HandShake: Initial client digest:
DEBUG: c6 16 21 40 92 c8 2a 4e 25 4a da a8 b5 49 7c a0
DEBUG: 6d 69 3e 17 78 39 5f cd 38 ca 53 6d 4e e3 66 f6
DEBUG: HandShake: Type Answer  : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version  : 3.0.1.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 9e ed a0 e9 fc b3 3f d8 7e 08 1f 41 80 75 a1 bb
DEBUG: a5 5c ec c1 5f 4c 3d f0 27 7f 69 ae b0 f9 45 47
DEBUG: HandShake: Client signature calculated:
DEBUG: 26 ac fd 77 a9 85 64 c6 3e 18 70 0d f0 34 cf 45
DEBUG: 95 15 eb d9 12 1f f5 1e 21 84 12 8d 96 33 40 64
DEBUG: HandShake: Server sent signature:
DEBUG: e6 9e 20 0a ac 59 90 08 0e 02 fa d7 9b a1 1b ae
DEBUG: ea 00 e7 e3 35 09 bb 7c 52 09 67 d5 50 89 b8 de
DEBUG: HandShake: Digest key:
DEBUG: 79 2d 9e 94 de cb 8b b8 3a d6 2e 4e cc 29 03 31
DEBUG: e7 11 9e b0 61 23 1f 23 b2 00 da 97 df 52 be 2e
DEBUG: HandShake: Signature calculated:
DEBUG: e6 9e 20 0a ac 59 90 08 0e 02 fa d7 9b a1 1b ae
DEBUG: ea 00 e7 e3 35 09 bb 7c 52 09 67 d5 50 89 b8 de
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleCtrl, received ctrl, type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 260 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING:    _error>
DEBUG: Property: <Name:            no-name, NUMBER:    1.00>
DEBUG: Property: NULL
DEBUG: Property: <Name:            no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:    error>
DEBUG: Property: <Name:              code, STRING:    NetConnection.Connect.Re
jected>
DEBUG: Property: <Name:        description, STRING:    Connection failed: Appli
cation rejected connection.>
DEBUG: Property: <Name:                ex, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:          redirect, STRING:    rtmp://37.220.32.55:443/
liverepeater>
DEBUG: Property: <Name:              code, NUMBER:    302.00>
DEBUG: (object end)
DEBUG: Property: <Name:    objectEncoding, NUMBER:    3.00>
DEBUG: Property: <Name:          clientid, NUMBER:    1878297750.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host    : 37.220.32.55
DEBUG: Parsed app    : liverepeater
INFO: rtmp server sent redirect
DEBUG: RTMP_ClientPacket, received: invoke 18 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING:    close>
DEBUG: Property: <Name:            no-name, NUMBER:    0.00>
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <close>
INFO: trying to connect with redirected url
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 368
DEBUG: HandShake: Initial client digest:
DEBUG: b4 f2 83 a8 cc c1 97 85 b5 36 8e 15 22 af 06 43
DEBUG: 0f 18 a1 ab 65 e2 c0 e2 03 23 2d 5c 92 90 1b 43
DEBUG: HandShake: Type Answer  : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version  : 3.0.1.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 9e ed a0 e9 fc b3 3f d8 7e 08 1f 41 80 75 a1 bb
DEBUG: a5 5c ec c1 5f 4c 3d f0 27 7f 69 ae b0 f9 45 47
DEBUG: HandShake: Client signature calculated:
DEBUG: da 78 f1 d6 75 f4 5c 2c 7d b2 61 20 3f b5 1f 6d
DEBUG: e1 ff 4e 4a 9d cb 8d cc f1 5d 36 b2 6e 27 d5 f8
DEBUG: HandShake: Server sent signature:
DEBUG: 89 d9 5e 94 68 aa b2 0c be 45 75 05 ec cc 75 8c
DEBUG: 07 62 24 ac 14 33 f4 95 b7 84 ba 24 94 5b 46 1d
DEBUG: HandShake: Digest key:
DEBUG: f0 5e c0 c4 5c b2 09 7d c9 92 88 1d c2 de 23 31
DEBUG: dd 76 23 19 2f 7f db 05 14 e7 bb 1f 0f 4b 6b f6
DEBUG: HandShake: Signature calculated:
DEBUG: 89 d9 5e 94 68 aa b2 0c be 45 75 05 ec cc 75 8c
DEBUG: 07 62 24 ac 14 33 f4 95 b7 84 ba 24 94 5b 46 1d
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
DEBUG: HandleServerBW: server BW = 2500000
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG: HandleCtrl, received ctrl, type: 0, len: 6
DEBUG: HandleCtrl, Stream Begin 0
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: RTMP_ClientPacket, received: invoke 347 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING:    _result>
DEBUG: Property: <Name:            no-name, NUMBER:    1.00>
DEBUG: Property: <Name:            no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:            fmsVer, STRING:    FMS/3,5,4,210>
DEBUG: Property: <Name:      capabilities, NUMBER:    31.00>
DEBUG: Property: <Name:              mode, NUMBER:    1.00>
DEBUG: (object end)
DEBUG: Property: <Name:            no-name, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name:              level, STRING:    status>
DEBUG: Property: <Name:              code, STRING:    NetConnection.Connect.Su
ccess>
DEBUG: Property: <Name:        description, STRING:    Connection succeeded.>
DEBUG: Property: <Name:              data, ECMA_ARRAY>
DEBUG: (object begin)
DEBUG: Property: <Name:            version, STRING:    3,5,4,210>
DEBUG: (object end)
DEBUG: Property: <Name:          clientid, NUMBER:    1069670925.00>
DEBUG: Property: <Name:    objectEncoding, NUMBER:    3.00>
DEBUG: Property: <Name:        secureToken, STRING:    e9be73a0be9d50189273dfe0
66444a6b6edf097273721818a9c043aef42dc8e570494a19>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG: Invoking secureTokenResponse
DEBUG: sending ctrl, type: 0x0003
DEBUG: Invoking createStream
DEBUG: Socket closed by server, nBytes: 0
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.


mckv 06-05-2014 11:28 AM

Re: How to rtmpdump coolsport.tv stream?


 
i'm not sure if ksv includes the redirect patch, you can just change the url to rtmp://37.220.32.55:443/liverepeater manually

peterpan 06-05-2014 11:39 AM

Re: How to rtmpdump coolsport.tv stream?


 
Update: Ok I found what the problem was...

You had the token syntax wrong ;) After replacing ' with " in -T, ".........", even the original link worked!!! No need to look for the redirect url ...so it looks like KSV has indeed fixed it...

Code:

rtmpdump -r "rtmp://31.220.0.193:1935/redirect" -a "redirect" -W "http://filotv.pw/atdedead.swf" -p "http://filotv.pw/player2.php?id=16&width=640&height=460" -T "#atd%%#$ZH" -y "16" -o "out.flv"
Cheers!

mckv 06-05-2014 11:46 AM

Re: How to rtmpdump coolsport.tv stream?


 
try with -f "WIN 13,0,0,214" or whatever the latest flash version is maybe

they might be blocking the flash bersion ksv rtmpdump uses by default

sandy187 06-05-2014 11:49 AM

Re: How to rtmpdump coolsport.tv stream?


 
Quote:

Originally Posted by peterpan (Post 68133)
I did, and I've changed the -a to "liverepeater", but still it didn't work!

This works for me:
Code:

rtmp://31.220.0.193:1935/redirect  -W http://filotv.pw/atdedead.swf -p http://filotv.pw -T "#atd%#$ZH" -y 16
Code:

RTMPDump v2.4
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
INFO: rtmp server sent redirect
INFO: trying to connect with redirected url
Starting Live Stream
INFO: Metadata:
INFO:  presetname              Custom
INFO:  creationdate            Tue Jun 03 10:31:52 2014
INFO:  videodevice            VHScrCap
INFO:  framerate              29.97
INFO:  width                  640.00
INFO:  height                  350.00
INFO:  videocodecid            avc1
INFO:  videodatarate          450.00
INFO:  avclevel                31.00
INFO:  avcprofile              66.00
INFO:  videokeyframe_frequency 5.00
INFO:  audiodevice            Stereo Mix (Realtek High Defini
INFO:  audiosamplerate        22050.00
INFO:  audiochannels          1.00
INFO:  audioinputvolume        29.00
INFO:  audiocodecid            .mp3
INFO:  audiodatarate          32.00
210.048 kB / 3.42 sec


summitsc 06-06-2014 06:15 AM

Re: How to rtmpdump coolsport.tv stream?


 
Not working for me. I used this code:

rtmpdump -r "rtmp://31.220.0.193:1935/redirect" -a "redirect" -W "http://filotv.pw/atdedead.swf" -p "http://filotv.pw/player2.php?id=16&width=640&height=460" -T "#atd%%#$ZH" -y "16" -o "out.flv"

and, please send me direct link to KSV rtmpdump linux!

mckv 06-07-2014 03:25 AM

Re: How to rtmpdump coolsport.tv stream?


 
on linux/bash you need to use single quotes ( ' ) to prevent expansion of $ @ % # etc.


All times are GMT -6. The time now is 04:37 PM.