PDA

View Full Version : Need help with this stream


tdx3000
12-06-2012, 11:23 AM
http://tv24.vn/TV24/10/2/sctv-2-xem-truc-tuyen-mien-phi-toc-do-cao-cuc-hot-cuc-hay.html

http://tv24.vn/TV24/10/7/sctv1-xem-truc-tuyen-mien-phi-toc-do-cao-cuc-hot-cuc-hay.html

I can't get the links and secure token.

Thanks

chap
12-06-2012, 11:38 AM
rtmpdump -r "rtmpe://112.197.2.11:1935/live" -a "live" -f "WIN 11,4,402,287" -W "http://tv24.vn/getflash.ashx" -p "http://tv24.vn/TV24/10/2/sctv-2-xem-truc-tuyen-mien-phi-toc-do-cao-cuc-hot-cuc-hay.html" --live -y "SDsctv2.stream" -o "SDsctv2.stream.flv" -T "!3zxcvbnm4@"

tdx3000
12-06-2012, 02:52 PM
Thank you Chap !

uplotre
12-12-2012, 01:53 PM
Hello everybody,

Thanks for the great help you are providing on this forum!

Can you help me with this stream?


http://www.antenna.gr/webtv/live


I tried with rtmpsrv but it is not working.

Thanks.

hasomaso
12-12-2012, 10:08 PM
rtmpdump v -r "rtmp://tmplive.ant1.gr/live" -a "live" -f "WIN 11,5,502,135" -W "http://static.ant1.gr/live.ashx" -p "http://www.antenna.gr/webtv/live" -y "ant1tvnilova" -o "ant1tvnilova.flv"

uplotre
12-13-2012, 02:34 AM
Thanks hasomaso,
But it does not work,there is something special with that stream.

DEBUG: Protocol : RTMP
DEBUG: Hostname : tmplive.ant1.gr
DEBUG: Port : 1935
DEBUG: Playpath : ant1tvnilova
DEBUG: tcUrl : rtmp://tmplive.ant1.gr:1935/live
DEBUG: swfUrl : http://static.ant1.gr/live.ashx
DEBUG: pageUrl : http://www.antenna.gr/webtv/live
DEBUG: app : live
DEBUG: flashVer : WIN 11,5,502,135
DEBUG: live : no
DEBUG: timeout : 30 sec
DEBUG: SWFSHA256:
DEBUG: 78 6b 52 13 c8 54 0f 62 04 45 ba a8 d4 d3 ec 0c
DEBUG: f4 79 14 75 54 cd bf a7 b5 23 1b 80 52 74 0c 72
DEBUG: SWFSize : 14
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 430
DEBUG: HandShake: Initial client digest:
DEBUG: 3a 33 02 7e 2a 4c 30 16 eb 59 d8 e8 31 9f 32 fa
DEBUG: 79 df f4 0b 69 a5 81 b4 5f 25 f8 b2 52 bf c6 c7
DEBUG: HandShake: Type Answer : 03
DEBUG: HandShake: Server Uptime : 277055875
DEBUG: HandShake: FMS Version : 4.5.0.1
DEBUG: HandShake: Calculated digest key from secure key and server digest:
DEBUG: 8d 07 49 94 65 5d 90 c2 a7 6e b8 57 08 fd 1d b4
DEBUG: 79 7d 95 67 e4 52 ad 3c 43 4a 54 37 a4 7f 40 72
DEBUG: HandShake: Client signature calculated:
DEBUG: d4 5d d5 78 b3 22 7f 83 24 08 03 43 75 b5 00 28
DEBUG: a8 3c f1 31 0e d8 ec c9 52 33 24 ef 69 76 26 86
DEBUG: HandShake: Server sent signature:
DEBUG: 8e b2 99 c6 02 d7 90 fb b5 db 00 8a 63 d4 38 a9
DEBUG: 3a d9 b4 d2 c9 75 b7 57 4f d2 bf be 24 6e 1d a5
DEBUG: HandShake: Digest key:
DEBUG: ea f7 3c ed ff 5c 4f 17 8a 78 ed ec 7e 15 b8 8a
DEBUG: c0 ea 7e 8e e9 a6 fc 0e cb 70 cd 0a 2a 6a d3 15
DEBUG: HandShake: Signature calculated:
DEBUG: 8e b2 99 c6 02 d7 90 fb b5 db 00 8a 63 d4 38 a9
DEBUG: 3a d9 b4 d2 c9 75 b7 57 4f d2 bf be 24 6e 1d a5
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG2: RTMP_SendPacket: fd=5, size=291
DEBUG2: 0000: 03 00 00 00 00 01 23 14 00 00 00 00 ......#.....
DEBUG2: 0000: 02 00 07 63 6f 6e 6e 65 63 74 00 3f f0 00 00 00 ...connect.?....
DEBUG2: 0010: 00 00 00 03 00 03 61 70 70 02 00 04 6c 69 76 65 ......app...live
DEBUG2: 0020: 00 08 66 6c 61 73 68 56 65 72 02 00 10 57 49 4e ..flashVer...WIN
DEBUG2: 0030: 20 31 31 2c 35 2c 35 30 32 2c 31 33 35 00 06 73 11,5,502,135..s
DEBUG2: 0040: 77 66 55 72 6c 02 00 1f 68 74 74 70 3a 2f 2f 73 wfUrl...http://s
DEBUG2: 0050: 74 61 74 69 63 2e 61 6e 74 31 2e 67 72 2f 6c 69 tatic.ant1.gr/li
DEBUG2: 0060: 76 65 2e 61 73 68 78 00 05 74 63 55 72 6c 02 00 ve.ashx..tcUrl..
DEBUG2: 0070: 20 72 74 6d 70 3a 2f 2f 74 6d 70 6c 69 76 65 2e rtmp://tmplive.
DEBUG2: 0000: c3 .
DEBUG2: 0000: 61 6e 74 31 2e 67 72 3a 31 39 33 35 2f 6c 69 76 ant1.gr:1935/liv
DEBUG2: 0010: 65 00 04 66 70 61 64 01 00 00 0c 63 61 70 61 62 e..fpad....capab
DEBUG2: 0020: 69 6c 69 74 69 65 73 00 40 2e 00 00 00 00 00 00 ilities.@.......
DEBUG2: 0030: 00 0b 61 75 64 69 6f 43 6f 64 65 63 73 00 40 a8 ..audioCodecs.@.
DEBUG2: 0040: ee 00 00 00 00 00 00 0b 76 69 64 65 6f 43 6f 64 ........videoCod
DEBUG2: 0050: 65 63 73 00 40 6f 80 00 00 00 00 00 00 0d 76 69 ecs.@o........vi
DEBUG2: 0060: 64 65 6f 46 75 6e 63 74 69 6f 6e 00 3f f0 00 00 deoFunction.?...
DEBUG2: 0070: 00 00 00 00 00 07 70 61 67 65 55 72 6c 02 00 20 ......pageUrl..
DEBUG2: 0000: c3 .
DEBUG2: 0000: 68 74 74 70 3a 2f 2f 77 77 77 2e 61 6e 74 65 6e http://www.anten
DEBUG2: 0010: 6e 61 2e 67 72 2f 77 65 62 74 76 2f 6c 69 76 65 na.gr/webtv/live
DEBUG2: 0020: 00 00 09 ...
DEBUG: Invoking connect
INFO: Connected...
DEBUG2: RTMP_ReadPacket: fd=5
DEBUG2: 0000: 02 00 00 00 00 00 04 05 00 00 00 00 ............
DEBUG2: 0000: 00 26 25 a0 .&%.
DEBUG: HandleServerBW: server BW = 2500000
DEBUG2: RTMP_ReadPacket: fd=5
DEBUG2: 0000: 02 00 00 00 00 00 05 06 00 00 00 00 ............
DEBUG2: 0000: 00 26 25 a0 02 .&%..
DEBUG: HandleClientBW: client BW = 2500000 2
DEBUG2: RTMP_ReadPacket: fd=5
DEBUG2: 0000: 02 00 00 00 00 00 04 01 00 00 00 00 ............
DEBUG2: 0000: 00 00 10 00 ....
DEBUG: HandleChangeChunkSize, received: chunk size change to 4096
DEBUG2: RTMP_ReadPacket: fd=5
DEBUG2: 0000: 02 00 00 00 00 00 03 04 00 00 00 00 ............
DEBUG2: 0000: 00 1a 01 ...
DEBUG: HandleCtrl, received ctrl. type: 26, len: 3
DEBUG: HandleCtrl, SWFVerification ping received:
DEBUG: sending ctrl. type: 0x001b
DEBUG: Sending SWFVerification response:
DEBUG: 00 1b 01 01 00 00 00 0e 00 00 00 0e d7 f6 ba 79
DEBUG: a5 cb 44 eb 06 cf 01 1e 53 52 e7 c4 51 33 84 09
DEBUG: 38 a4 6d e1 ab db 6e f8 9e 3e 48 e3
DEBUG2: RTMP_SendPacket: fd=5, size=44
DEBUG2: 0000: 42 00 00 00 00 00 2c 04 B.....,.
DEBUG2: 0000: 00 1b 01 01 00 00 00 0e 00 00 00 0e d7 f6 ba 79 ...............y
DEBUG2: 0010: a5 cb 44 eb 06 cf 01 1e 53 52 e7 c4 51 33 84 09 ..D.....SR..Q3..
DEBUG2: 0020: 38 a4 6d e1 ab db 6e f8 9e 3e 48 e3 8.m...n..>H.
DEBUG2: RTMP_ReadPacket: fd=5
DEBUG2: 0000: 03 00 00 00 00 00 f0 14 00 00 00 00 ............
DEBUG2: 0000: 02 00 07 5f 72 65 73 75 6c 74 00 3f f0 00 00 00 ..._result.?....
DEBUG2: 0010: 00 00 00 03 00 06 66 6d 73 56 65 72 02 00 0d 46 ......fmsVer...F
DEBUG2: 0020: 4d 53 2f 34 2c 35 2c 30 2c 32 39 37 00 0c 63 61 MS/4,5,0,297..ca
DEBUG2: 0030: 70 61 62 69 6c 69 74 69 65 73 00 40 6f e0 00 00 pabilities.@o...
DEBUG2: 0040: 00 00 00 00 04 6d 6f 64 65 00 3f f0 00 00 00 00 .....mode.?.....
DEBUG2: 0050: 00 00 00 00 09 03 00 05 6c 65 76 65 6c 02 00 06 ........level...
DEBUG2: 0060: 73 74 61 74 75 73 00 04 63 6f 64 65 02 00 1d 4e status..code...N
DEBUG2: 0070: 65 74 43 6f 6e 6e 65 63 74 69 6f 6e 2e 43 6f 6e etConnection.Con
DEBUG2: 0080: 6e 65 63 74 2e 53 75 63 63 65 73 73 00 0b 64 65 nect.Success..de
DEBUG2: 0090: 73 63 72 69 70 74 69 6f 6e 02 00 15 43 6f 6e 6e scription...Conn
DEBUG2: 00a0: 65 63 74 69 6f 6e 20 73 75 63 63 65 65 64 65 64 ection succeeded
DEBUG2: 00b0: 2e 00 0e 6f 62 6a 65 63 74 45 6e 63 6f 64 69 6e ...objectEncodin
DEBUG2: 00c0: 67 00 00 00 00 00 00 00 00 00 00 04 64 61 74 61 g...........data
DEBUG2: 00d0: 08 00 00 00 00 00 07 76 65 72 73 69 6f 6e 02 00 .......version..
DEBUG2: 00e0: 09 34 2c 35 2c 30 2c 32 39 37 00 00 09 00 00 09 .4,5,0,297......
DEBUG: RTMP_ClientPacket, received: invoke 240 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/4,5,0,297>
DEBUG: Property: <Name: capabilities, NUMBER: 255.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.Success>
DEBUG: Property: <Name: description, STRING: Connection succeeded.>
DEBUG: Property: <Name: objectEncoding, NUMBER: 0.00>
DEBUG: Property: <Name: data, OBJECT>
DEBUG: (object begin)
DEBUG: Property: <Name: version, STRING: 4,5,0,297>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_result>
DEBUG: HandleInvoke, received result for method call <connect>
DEBUG2: RTMP_SendPacket: fd=5, size=4
DEBUG2: 0000: 02 00 00 00 00 00 04 05 00 00 00 00 ............
DEBUG2: 0000: 00 26 25 a0 .&%.
DEBUG: sending ctrl. type: 0x0003
DEBUG2: RTMP_SendPacket: fd=5, size=10
DEBUG2: 0000: 42 00 00 00 00 00 0a 04 B.......
DEBUG2: 0000: 00 03 00 00 00 00 00 00 01 2c .........,
DEBUG2: RTMP_SendPacket: fd=5, size=25
DEBUG2: 0000: 43 00 00 00 00 00 19 14 C.......
DEBUG2: 0000: 02 00 0c 63 72 65 61 74 65 53 74 72 65 61 6d 00 ...createStream.
DEBUG2: 0010: 40 00 00 00 00 00 00 00 05 @........
DEBUG: Invoking createStream
DEBUG2: RTMP_ReadPacket: fd=5
DEBUG2: 0000: 03 00 00 00 00 00 15 14 00 00 00 00 ............
DEBUG2: 0000: 02 00 08 6f 6e 42 57 44 6f 6e 65 00 00 00 00 00 ...onBWDone.....
DEBUG2: 0010: 00 00 00 00 05 .....
DEBUG: RTMP_ClientPacket, received: invoke 21 bytes
DEBUG: (object begin)
DEBUG: Property: <Name: no-name., STRING: onBWDone>
DEBUG: Property: <Name: no-name., NUMBER: 0.00>
DEBUG: Property: NULL
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onBWDone>
DEBUG2: RTMP_SendPacket: fd=5, size=21
DEBUG2: 0000: 03 00 00 00 00 00 15 14 00 00 00 00 ............
DEBUG2: 0000: 02 00 08 5f 63 68 65 63 6b 62 77 00 40 08 00 00 ..._checkbw.@...
DEBUG2: 0010: 00 00 00 00 05 .....
DEBUG: Invoking _checkbw
DEBUG2: RTMP_ReadPacket: fd=5
DEBUG: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 104 (Connection reset by peer)
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
DEBUG: Closing connection.

uplotre
12-13-2012, 04:11 AM
rtmpdump v -r "rtmp://tmplive.ant1.gr/live" -a "live" -f "WIN 11,5,502,135" -W "http://static.ant1.gr/live.ashx" -p "http://www.antenna.gr/webtv/live" -y "ant1tvnilova" -o "ant1tvnilova.flv"

Thanks hasomaso,

But it does not work :(

I cannot post log here, because it is more that 10.000 chars.

Debug Log: http://pastebin.com/xewvuNM8

hasomaso
12-13-2012, 11:48 AM
hi

the stream works

rtmpdump v -r "rtmp://tmplive.ant1.gr/live" -a "live" -f "WIN 11,5,502,135" -W "http://static.ant1.gr/live.ashx" -p "http://www.antenna.gr/webtv/live" -y "ant1tvnilova" -o "ant1tvnilova.flv"


http://img5.imageshack.us/img5/571/unbenanntlw.png

uplotre
12-13-2012, 05:42 PM
hi

the stream works


Wow! Great! Thanks hasomaso.

What version of rtmpdump should i use?

Currently i am using the one in ubuntu 12.04 and i am getting the error posted above.


Architecture: i386
Version: 2.4~20110711.gitc28f1bab-1
Depends: libc6 (>= 2.4), librtmp0 (>= 2.3)
Suggests: ffmpeg, mplayer
Filename: pool/universe/r/rtmpdump/rtmpdump_2.4~20110711.gitc28f1bab-1_i386.deb

svnpenn2
12-14-2012, 01:09 AM
rtmpdump -v -r rtmp://tmplive.ant1.gr/live/ant1tvnilova -W http://static.ant1
.gr/live.ashx -o a.flv
RTMPDump v2.4-75-ge783798
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
INFO: Connected...
ERROR: rtmp server sent error
Starting Live Stream
INFO: Metadata:
INFO: author ANT1 Internet
INFO: copyright 2009
INFO: description:
INFO: keywords:
INFO: rating:
INFO: title:
INFO: presetname Custom
INFO: creationdate Tue Dec 04 10:59:01 2012
INFO: videodevice Osprey-210 Video Device 1
INFO: framerate 25.00
INFO: width 640.00
INFO: height 360.00
INFO: videocodecid avc1
INFO: videodatarate 650.00
INFO: avclevel 31.00
INFO: avcprofile 66.00
INFO: videokeyframe_frequency5.00
INFO: audiodevice Realtek HD Audio Input
INFO: audiosamplerate 22050.00
INFO: audiochannels 2.00
INFO: audioinputvolume 80.00
INFO: audiocodecid .mp3
INFO: audiodatarate 48.00
1035.646 kB / 6.10 sec

uplotre
12-14-2012, 04:33 AM
Thanks svnpenn2 and hasomaso.

(I will have to compile this version for linux, it is working with wine too!)