Thread: rtmpt - problem
View Single Post
  #1  
Old 07-20-2014, 08:22 AM
samsamsam2 samsamsam2 is offline
Junior Member
 
Join Date: Jul 2014
Posts: 3
samsamsam2 is on a distinguished road
Default

rtmpt - problem


Hello,

I have problem with getting work following streams "https://videostar.pl/#polo-tv" in rtmpdump.

In rtmpsuck it is working:
Code:
WARNING: Trying different position for client digest!
Processing connect
app: 19/_definst_
flashVer: WIN 12,0,0,44
swfUrl: https://videostar.pl/javascripts/libs/flowplayer/flowplayer.commercial-3
.2.11.swf
tcUrl: rtmp://stream1.videostar.pl:1935/19/_definst_
pageUrl: https://videostar.pl/#polo-tv
Playpath: mp4:193.stream
Saving as: mp4_193.stream
INFO: Metadata:
INFO: trackinfo:
INFO:   type                  video
INFO:   profile-level-id      42801e
INFO:   sprop-parameter-sets  Z0KAHpZSAWhr82AqEAAAAwAQAAADAy4EABQkAACMYT8Y4wIACh
IAAEYwn4xw7QoVJA==,aMuNSA==
INFO:   description           {H264CodecConfigInfo: codec:H264, profile:Baseline
, level:3.0, frameSize:720x406, displaySize:720x406, frameRate:25.0, PAR:1:1, cr
op: l:0 r:0 t:0 b:5}
INFO:   type                  audio
INFO:   config                1190
INFO:   description           {AACFrame: codec:AAC, channels:2, frequency:48000,
 samplesPerFrame:1024, objectType:LC}
INFO: rtpsessioninfo:
INFO:   connectiondata        IN IP4 239.239.6.22
INFO:   name                  WowzaMediaServer
INFO:   origin                - 782932949 782932949 IN IP4 127.0.0.1
INFO:   timing                0 0
INFO:   protocolversion       0
INFO: attributes:
INFO:   range                 npt=now-
INFO:   videocodecid          avc1
INFO:   width                 720.00
INFO:   height                406.00
INFO:   frameWidth            720.00
INFO:   frameHeight           406.00
INFO:   displayWidth          720.00
INFO:   displayHeight         406.00
INFO:   framerate             25.00
INFO:   videodatarate         292.00
INFO:   audiochannels         2.00
INFO:   audiosamplerate       48000.00
INFO:   audiocodecid          mp4a
INFO:   audiodatarate         93.00
INFO: transcoder:
INFO:   audioCodec            AAC
INFO:   audioBitrate          96000.00
INFO:   audioEncodingParams   FALSE
INFO:   videoCodec            H264
INFO:   videoBitrate          300000.00
INFO:   videoImplementation   DEFAULT
INFO:   videoProfile          BASELINE
INFO:   videoFrameSizeFitMode letterbox
INFO:   videoFrameSizeWidth   720.00
INFO:   videoFrameSizeHeight  405.00
INFO:   videoKeyFrameFollowSourceFALSE
INFO:   videoKeyFrameInterval 10.00
INFO:   videoEncodingParams   FALSE
WARNING: ignoring too small audio packet: size: 0
INFO: Metadata:
INFO: trackinfo:
INFO:   type                  video
INFO:   profile-level-id      42801e
INFO:   sprop-parameter-sets  Z0KAHpZSAWhr82AqEAAAAwAQAAADAy4EAAZLUAAIxhPxjjAgAD
JagABGMJ+McO0KFSQ=,aMuNSA==
INFO:   description           {H264CodecConfigInfo: codec:H264, profile:Baseline
, level:3.0, frameSize:720x406, displaySize:720x406, frameRate:25.0, PAR:1:1, cr
op: l:0 r:0 t:0 b:5}
INFO:   type                  audio
INFO:   config                1190
INFO:   description           {AACFrame: codec:AAC, channels:2, frequency:48000,
 samplesPerFrame:1024, objectType:LC}
INFO: rtpsessioninfo:
INFO:   connectiondata        IN IP4 239.239.6.22
INFO:   name                  WowzaMediaServer
INFO:   origin                - 782932949 782932949 IN IP4 127.0.0.1
INFO:   timing                0 0
INFO:   protocolversion       0
INFO: attributes:
INFO:   range                 npt=now-
INFO:   videocodecid          avc1
INFO:   width                 720.00
INFO:   height                406.00
INFO:   frameWidth            720.00
INFO:   frameHeight           406.00
INFO:   displayWidth          720.00
INFO:   displayHeight         406.00
INFO:   framerate             25.00
INFO:   videodatarate         1464.00
INFO:   audiochannels         2.00
INFO:   audiosamplerate       48000.00
INFO:   audiocodecid          mp4a
INFO:   audiodatarate         93.00
INFO: transcoder:
INFO:   audioCodec            AAC
INFO:   audioBitrate          96000.00
INFO:   audioEncodingParams   FALSE
INFO:   videoCodec            H264
INFO:   videoBitrate          1500000.00
INFO:   videoImplementation   DEFAULT
INFO:   videoProfile          BASELINE
INFO:   videoFrameSizeFitMode letterbox
INFO:   videoFrameSizeWidth   720.00
INFO:   videoFrameSizeHeight  405.00
INFO:   videoKeyFrameFollowSourceFALSE
INFO:   videoKeyFrameInterval 10.00
INFO:   videoEncodingParams   FALSE
WARNING: ignoring too small audio packet: size: 0
ERROR: RTMP_ReadPacket, failed to read RTMP packet header
Closing connection... done!
DEBUG from rtmpdump:
Code:
rtmpdump -V -r "rtmp://stream1.videostar.pl:1935/12/_definst_/mp4:12.stream" --protocol="1" --live --swfVfy="https://videostar.pl/javascripts/libs/flowplayer/flowplayer.netvi-x.swf" --swfUrl="https://videostar.pl/javascripts/
libs/flowplayer/flowplayer.commercial-3.2.11.swf" --pageUrl="https://videostar.pl/#tv-puls" --flashVer="WIN 12,0,0,44"
RTMPDump v2.4 KSV
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
DEBUG: Parsing...
DEBUG: Parsed protocol: 0
DEBUG: Parsed host    : stream1.videostar.pl
DEBUG: Parsed app     : 12/_definst_
WARNING: You haven't specified an output file (-o filename), using stdout
DEBUG: Protocol : RTMPT
DEBUG: Hostname : stream1.videostar.pl
DEBUG: Port     : 1935
DEBUG: Playpath : mp4:12.stream
DEBUG: tcUrl    : rtmpt://stream1.videostar.pl:1935/12/_definst_
DEBUG: swfUrl   : https://videostar.pl/javascripts/libs/flowplayer/flowplayer.commercial-3.2.11.swf
DEBUG: pageUrl  : https://videostar.pl/#tv-puls
DEBUG: app      : 12/_definst_
DEBUG: flashVer : WIN 12,0,0,44
DEBUG: live     : yes
DEBUG: timeout  : 30 sec
DEBUG: SWFSHA256:
DEBUG: cc be f5 df 0e 96 64 10 49 a1 65 8a 33 75 0c 43
DEBUG: 61 ea 1a 1c 60 8d d9 8b e2 ed 83 85 2d 68 a2 89
DEBUG: SWFSize  : 259247
DEBUG: Setting buffer time to: 36000000ms
Connecting ...
DEBUG: RTMP_Connect1, ... connected, handshaking
DEBUG: HandShake: Client type: 03
DEBUG: HandShake: Client digest offset: 417
DEBUG: HandShake: Initial client digest: 
DEBUG: ee 84 ff 01 ef 8c 4d df 0e b2 93 77 b7 0e 1b 67
DEBUG: bb b3 30 25 9f eb 4d 2f f1 31 77 90 88 08 e7 42
DEBUG: Trying to fill HTTP buffer, Retries: 1
DEBUG: Trying to read HTTP response, Bytes Available: 147
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: 09 d2 a0 ab 5d fa ef 8a 61 b0 f7 ed c4 d2 3c b1
DEBUG: 22 31 c9 7b ef 01 43 b5 76 d4 53 b5 b9 8d 49 20
DEBUG: HandShake: Server sent signature:
DEBUG: c4 47 d2 eb a5 eb f4 3c 5e a6 d5 13 16 63 51 f7
DEBUG: 87 0b 7c a3 16 cd a2 88 7a bd 3d 79 8c a6 2e 3c
DEBUG: HandShake: Digest key: 
DEBUG: 63 d8 f6 c6 65 85 e3 8b 45 bf 40 bb 7d 8c e7 0d
DEBUG: c8 45 5b ec cb e9 2e df 5b f8 42 eb ae d5 16 22
DEBUG: HandShake: Signature calculated:
DEBUG: c4 47 d2 eb a5 eb f4 3c 5e a6 d5 13 16 63 51 f7
DEBUG: 87 0b 7c a3 16 cd a2 88 7a bd 3d 79 8c a6 2e 3c
DEBUG: HandShake: Genuine Adobe Flash Media Server
DEBUG: HandShake: Handshaking finished....
DEBUG: RTMP_Connect1, handshaked
DEBUG: Invoking connect
INFO: Connected...
DEBUG: Trying to fill HTTP buffer, Retries: 1
DEBUG: Trying to read HTTP response, Bytes Available: 146
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 119 bytes
DEBUG: (object begin)
DEBUG: Property: <Name:            no-name, STRING:     onStatus>
DEBUG: Property: <Name:            no-name, NUMBER:     0.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.Rejected>
DEBUG: Property: <Name:        description, STRING:     Error>
DEBUG: Property: <Name:           clientid, NUMBER:     945411752.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <onStatus>
DEBUG: HandleInvoke, onStatus: NetConnection.Connect.Rejected
DEBUG: RTMP_ClientPacket, received: invoke 190 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.Rejected>
DEBUG: Property: <Name:        description, STRING:     Connection failed: Application rejected connection.>
DEBUG: Property: <Name:        application, STRING:     CloseStream>
DEBUG: Property: <Name:           clientid, NUMBER:     945411752.00>
DEBUG: (object end)
DEBUG: (object end)
DEBUG: HandleInvoke, server invoking <_error>
ERROR: rtmp server sent error
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>
ERROR: rtmp server requested close
DEBUG: Closing connection.

I think that a security token is needed but how can I get it?

Thank you,
SSS
Reply With Quote