PDA

View Full Version : I need help downloading RTMP stream from CNN Turk


bbevren
11-27-2009, 07:03 PM
Hello, im new to this subject, what im trying to do is, im trying to broadcast some tv channels with jw player. Some works some does not.

Here is the url im trying to use it with jw player
http://www.cnnturk.com/servisler/canli.yayin/

I found this url with rtmp://91.191.160.11:1935/livetv/_definst_/CNNTurk1.Orbit with Orbit Downloader (http://all-streaming-media.com/record-video-stream/Download-manager-Orbit-Downloader-Record-HTTP-MMS-RTSP-RTMP-media-streams-Freeware.htm)

rtmpdump (http://all-streaming-media.com/record-video-stream/rtmpdump-freeware-console-RTMP-downloading-application.htm) log:
Connecting ...
DEBUG: Protocol : RTMP
DEBUG: Hostname : kanald.tbt.com.tr
DEBUG: Port : 80
DEBUG: Playpath : CNNTurk1
DEBUG: tcUrl : rtmp://kanald.tbt.com.tr:80/cnnturk
DEBUG: app : cnnturk
DEBUG: flashVer : LNX 9,0,124,0
DEBUG: live : no
DEBUG: timeout : 300 sec
DEBUG: Connect, ... connected, handshaking
DEBUG: HandShake: Client type: 03

DEBUG: HandShake: Client digest offset: 410
DEBUG: HandShake: Initial client digest:
F4 27 5E 0C BE 66 26 CB 4A A6 36 40 23 1E 3D 15 75 87 91 37 AA DB B2 73 FE B3 35
9E 0D 05 1D 02
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 96850052
DEBUG: HandShake: FMS Version : 3.0.1.1
WARNING: Trying different position for server digest!

DEBUG: HandShake: Server DH public key offset: 1021
DEBUG: HandShake: Client signature digest position: 410
DEBUG: HandShake: Digest key:
40 31 CE 52 4E 65 01 9A 7C 0C 57 DE 18 7E A2 F1 0A A3 B4 35 79 BE 68 F8 35 9A 5D
F9 5D 8B CA CE
DEBUG: HandShake: Signature calculated:
DE 45 5E AA 54 33 62 11 13 89 38 1A C9 1B 0F 4D 22 E2 E5 69 95 8F 8D 01 93 42 B8
95 A1 28 B8 8B
DEBUG: HandShake: Server sent signature:
DE 45 5E AA 54 33 62 11 13 89 38 1A C9 1B 0F 4D 22 E2 E5 69 95 8F 8D 01 93 42 B8
95 A1 28 B8 8B
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Calculated digest key from secure key and server digest:
9E ED A0 E9 FC B3 3F D8 7E 08 1F 41 80 75 A1 BB A5 5C EC C1 5F 4C 3D F0 27 7F 69
AE B0 F9 45 47
DEBUG: HandShake: Client signature calculated:
A7 A8 56 39 99 09 71 CA 7D 40 EE 7F FC E0 4C A8 01 47 E5 3F 31 DD C2 5A B4 9F C4
0B 06 64 B0 0A
DEBUG: HandShake: Handshaking finished....
DEBUG: Connect, handshaked
Connected...

Starting download at 0.000 KB
DEBUG: GetNextMediaPacket, received: server BW
DEBUG: GetNextMediaPacket, received: client BW
DEBUG: HandlePing, received ping. type: 0, len: 6
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG: GetNextMediaPacket, received: invoke 163 bytes
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: Property: <Name: level, STRING: error>
DEBUG: Property: <Name: code, STRING: NetConnection.Co
nnect.Rejected>
DEBUG: Property: <Name: description, STRING: Connection faile
d: Application rejected connection.>
DEBUG: Property: <Name: clientid, NUMBER: 443010834.00>
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
DEBUG: GetNextMediaPacket, received: invoke 18 bytes
DEBUG: Property: <Name: no-name., STRING: close>
DEBUG: Property: <Name: no-name., NUMBER: 0.00>
DEBUG: HandleInvoke, server invoking <close>
ERROR: rtmp server requested close
Closing connection... done!



Thanks

compn
12-02-2009, 07:33 AM
works with:
rtmpdump -r rtmp://kanald.tbt.com.tr:80/cnnturk/CNNTurk1 -o output.flv --live -f "WIN 10,0,12,36" -s "http://www.cnnturk.com/swf/player_cnnturk_secure.swf"

bbevren
12-03-2009, 09:09 AM
works with:
rtmpdump -r rtmp://kanald.tbt.com.tr:80/cnnturk/CNNTurk1 -o output.flv --live -f "WIN 10,0,12,36" -s "http://www.cnnturk.com/swf/player_cnnturk_secure.swf"

Hey thats great help compn, thanx alot. So my understanding is, sendin swfUrl and flashVer argumenst does the trick right?

What about being able to embed it to my website and play this stream with jw player or flowplayer? How do i send these parameters? Or is there any other flash player which can send the parameters i need..

compn
12-03-2009, 12:33 PM
Hey thats great help compn, thanx alot. So my understanding is, sendin swfUrl and flashVer argumenst does the trick right?
swfurl yep



What about being able to embed it to my website and play this stream with jw player or flowplayer? How do i send these parameters? Or is there any other flash player which can send the parameters i need..

that i dunno. have to ask jwplayer guys