Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
NetStream.Failed Failed to play (stream ID: 1)Hi all, today I've started using rtmpdump and rtmpsuck and I ran into some problems.
First when I fetched the information of the rtmp request I had the first error when it tried to get the swf file from an https domain and it gave me this error: Code:
WARNING: Trying different position for client digest! Processing connect app: Stream?auth=febaac678eccc278d72a35541a3876ae33ea1875e2958807ac814ac23dfd504f9a6661fa48fb9d2f8b7c71e8314a48f1fab72f2bdc346ad8df7467f07344488d5cce21bce3eb187c3685ea6c78735af74e25ffd4fa99463cd756177c0db4c0f1614f01750eb1f65047f65b6e4024af12d5f12ca2389569c2650224196732199c flashVer: LNX 11,2,202,280 swfUrl: https://mog.com/swf/headless_v2_041012_1451.swf ERROR: HTTP_get, TLS_Connect failed ERROR: RTMP_HashSWF: connection lost while downloading swfurl https://mog.com/swf/headless_v2_041012_1451.swf tcUrl: rtmp://MOG.flash-prod.musicnet.com:1935/Stream?auth=febaac678eccc278d72a35541a3876ae33ea1875e2958807ac814ac23dfd504f9a6661fa48fb9d2f8b7c71e8314a48f1fab72f2bdc346ad8df7467f07344488d5cce21bce3eb187c3685ea6c78735af74e25ffd4fa99463cd756177c0db4c0f1614f01750eb1f65047f65b6e4024af12d5f12ca2389569c2650224196732199c pageUrl: https://mog.com/m#album/46432407 Processing connect Code:
rtmpdump -r "rtmp://MOG.flash-prod.musicnet.com:80/Stream?auth=febaac678eccc278d72a35541a3876ae33ea1875e2958807ac814ac23dfd504f9a6661fa48fb9d2f8b7c71e8314a48f1fab72f2bdc346ad8df7467f07344488d5cce21bce3eb187c3685ea6c78735af74e25ffd4fa99463cd756177c0db4c0f1614f01750eb1f65047f65b6e4024af12d5f12ca2389569c2650224196732199c/mp3/mn_mp3_10_19/downloads/a070/046/432/46432423_1_017" --swfhash "d28fa93eed6d6dba130b192dbb40cd793af7c5905a48886663e436e0a5048e59" --swfsize "183754" -o 'test' -V Code:
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: RTMP_ClientPacket, received: invoke 240 bytes DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,2,688> DEBUG: Property: <Name: capabilities, NUMBER: 31.00> DEBUG: Property: <Name: mode, NUMBER: 1.00> DEBUG: (object end) 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: 3,5,2,688> DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call <connect> DEBUG: sending ctrl. type: 0x0003 DEBUG: Invoking createStream DEBUG: RTMP_ClientPacket, received: invoke 21 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <onBWDone> DEBUG: Invoking _checkbw DEBUG: RTMP_ClientPacket, received: invoke 29 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call <createStream> DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mn_mp3_10_19/downloads/a070/046/432/46432423_1_017 DEBUG: Invoking play DEBUG: sending ctrl. type: 0x0003 DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_onbwcheck> DEBUG: Invoking _result DEBUG: HandleCtrl, received ctrl. type: 0, len: 6 DEBUG: HandleCtrl, Stream Begin 1 DEBUG: RTMP_ClientPacket, received: invoke 133 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object begin) DEBUG: Property: <Name: level, STRING: error> DEBUG: Property: <Name: code, STRING: NetStream.Failed> DEBUG: Property: <Name: description, STRING: Failed to play (stream ID: 1).> DEBUG: Property: <Name: clientid, STRING: FXRg-oof> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <onStatus> DEBUG: HandleInvoke, onStatus: NetStream.Failed ERROR: Closing connection: NetStream.Failed DEBUG: Closing connection. Thank you! |
#2
|
|||
|
|||
Re: NetStream.Failed Failed to play (stream ID: 1)Code:
Stream?auth=febaac678eccc278d72a35541a3876ae33ea1875e2958807ac814ac23dfd504f9a6661fa48fb9d2f8b7c71e8314a48f1fab72f2bdc346ad8df7467f07344488d5cce21bce3eb187c3685ea6c78735af74e25ffd4fa99463cd756177c0db4c0f1614f01750eb1f65047f65b6e4024af12d5f12ca2389569c2650224196732199c |
#3
|
|||
|
|||
Re: NetStream.Failed Failed to play (stream ID: 1)How do you know it has expired?
Anyway I know this auth parameters change from time to time but I think I'm doing the process right (correct me if I'm wrong) 1st. Click on the url that points to the rtmp 2nd. Get the information of rtmpsuck from app:"string" 3rd. Paste the "string" in rtmpdump All that in less than 3 seconds, it can't expire in that small time, can it? Thanks And is there any solution to the TLS? |
#4
|
|||
|
|||
Re: NetStream.Failed Failed to play (stream ID: 1)have enough experience with rtmpdump.
Quote:
try with latest git version. |
#5
|
|||
|
|||
Re: NetStream.Failed Failed to play (stream ID: 1)With the latest git version I get this error when i reach the rtmp:
Segmentation fault (core dumped) But I've checked the version that I had before and it was 2.4 so it must be fine. Anyway I just realised that I have to use the SSLv3 protocol to get the swf file, and I guess that rtmpsuck doesn't support further than TLS, is there anyway to give the swf through a file or anything like that? Is there anyway to use the auth given by rtmpsuck before it expires? Thanks for the help Last edited by vndtta : 05-13-2013 at 02:59 PM. |
#6
|
|||
|
|||
Re: NetStream.Failed Failed to play (stream ID: 1)example
Code:
>rtmpdump -r "rtmp://MOG.flash-prod.musicnet.com:80/Stream?auth=1f9919fd20616964 fffeb6897366d00b592c83ea025804a8ff504bbea266b661734ed0d88e52d34af1a50543680a3550 8ea97880fc6fd538eb1c08055f1a2405434ef1a0c313a274526422aaab9362ffe497d44dcb35919f fa1dcddb68abab02e6d475fcc4dcad3c6925008e68bc7a5dd86c3e3d4968fbd069e7c8198451c484 " -y "mp3:/mp3/mn_mp3_10_19/downloads/a070/046/432/46432423_1_017" -o t.flv RTMPDump v2.4 GIT-2012-12-30 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... WARNING: HandShake: client signature does not match! INFO: Connected... Starting download at: 0.000 kB 540.388 kB / 13.65 sec |
#7
|
|||
|
|||
Re: NetStream.Failed Failed to play (stream ID: 1)Chap you missed some of the input that I made:
Code:
rtmpdump -T 'V3.us.F60AXFkfJ31TyREBA6RNM9RpiEzuBwUPpH1vjEQOy1qyLKMq4XdMz9_VBLwms9vQ' -r "rtmp://MOG.flash-prod.musicnet.com:80/Stream?auth=190e6b7df8f3b16b6d255860b7ce457c52402bd9d01a0468e669099661139334d555911c04949a4273ff1ce2a97019afc36d3b9e98de4b93c599c1ab47cde8c88ab91252bb8ded459efd0ef5cffb5720404665336584650c7a612343cba69f1b98b103c3dac65791004e35328145b88ec988d08532fcb8fc1053b73f249cbe38/mp3/mn_mp3_10_19/downloads/a070/046/432/46432423_1_017" --swfhash "d28fa93eed6d6dba130b192dbb40cd793af7c5905a48886663e436e0a5048e59" --swfsize "183754" -o 'test' -V RTMPDump v2.4 (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL DEBUG: Protocol : RTMP DEBUG: Hostname : MOG.flash-prod.musicnet.com DEBUG: Port : 80 DEBUG: Playpath : mn_mp3_10_19/downloads/a070/046/432/46432423_1_017 DEBUG: tcUrl : rtmp://MOG.flash-prod.musicnet.com:80/Stream?auth=190e6b7df8f3b16b6d255860b7ce457c52402bd9d01a0468e669099661139334d555911c04949a4273ff1ce2a97019afc36d3b9e98de4b93c599c1ab47cde8c88ab91252bb8ded459efd0ef5cffb5720404665336584650c7a612343cba69f1b98b103c3dac65791004e35328145b88ec988d08532fcb8fc1053b73f249cbe38/mp3 DEBUG: app : Stream?auth=190e6b7df8f3b16b6d255860b7ce457c52402bd9d01a0468e669099661139334d555911c04949a4273ff1ce2a97019afc36d3b9e98de4b93c599c1ab47cde8c88ab91252bb8ded459efd0ef5cffb5720404665336584650c7a612343cba69f1b98b103c3dac65791004e35328145b88ec988d08532fcb8fc1053b73f249cbe38/mp3 DEBUG: live : no DEBUG: timeout : 30 sec DEBUG: SWFSHA256: DEBUG: d2 8f a9 3e ed 6d 6d ba 13 0b 19 2d bb 40 cd 79 DEBUG: 3a f7 c5 90 5a 48 88 66 63 e4 36 e0 a5 04 8e 59 DEBUG: SWFSize : 183754 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: f4 d3 4b ca d7 cd c6 4b fa 87 c2 c0 28 ba d8 f9 DEBUG: 78 7b de 6c 36 bf 81 d3 f9 fd 24 0c 32 35 31 bc DEBUG: HandShake: Type Answer : 03 DEBUG: HandShake: Server Uptime : 897285170 DEBUG: HandShake: FMS Version : 3.5.2.1 DEBUG: HandShake: Calculated digest key from secure key and server digest: DEBUG: 94 43 41 b3 cc 30 14 5a 90 fa ae ad ba 4b 26 0a DEBUG: f1 73 e1 e5 89 d0 fc 26 74 2d e0 ff a9 71 b2 63 DEBUG: HandShake: Client signature calculated: DEBUG: 68 6d 2c 1e 4d 8d 67 09 37 20 7d 87 1a 18 ad e1 DEBUG: cc bc 41 40 1e f7 39 9b 64 23 e9 29 38 7a 6a 85 DEBUG: HandShake: Server sent signature: DEBUG: 4a c4 49 70 50 36 5c fd 40 f6 cf 26 ba 4c b6 cb DEBUG: 72 e6 87 d3 dd 46 a3 ca 74 d9 67 c7 56 70 90 24 DEBUG: HandShake: Digest key: DEBUG: 29 3d 8d 40 1d 3c e2 77 cc 6f c5 51 78 57 d4 1d DEBUG: 1b 95 16 6d e3 a8 8c 52 09 37 0d fe b6 18 38 99 DEBUG: HandShake: Signature calculated: DEBUG: 4a c4 49 70 50 36 5c fd 40 f6 cf 26 ba 4c b6 cb DEBUG: 72 e6 87 d3 dd 46 a3 ca 74 d9 67 c7 56 70 90 24 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: RTMP_ClientPacket, received: invoke 240 bytes DEBUG: (object begin) DEBUG: (object begin) DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,2,688> DEBUG: Property: <Name: capabilities, NUMBER: 31.00> DEBUG: Property: <Name: mode, NUMBER: 1.00> DEBUG: (object end) 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: 3,5,2,688> DEBUG: (object end) DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call <connect> DEBUG: sending ctrl. type: 0x0003 DEBUG: Invoking createStream DEBUG: RTMP_ClientPacket, received: invoke 21 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <onBWDone> DEBUG: Invoking _checkbw DEBUG: RTMP_ClientPacket, received: invoke 29 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call <createStream> DEBUG: SendPlay, seekTime=0, stopTime=0, sending play: mn_mp3_10_19/downloads/a070/046/432/46432423_1_017 DEBUG: Invoking play DEBUG: sending ctrl. type: 0x0003 DEBUG: RTMP_ClientPacket, received: invoke 16419 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object end) DEBUG: HandleInvoke, server invoking <_onbwcheck> DEBUG: Invoking _result DEBUG: HandleCtrl, received ctrl. type: 0, len: 6 DEBUG: HandleCtrl, Stream Begin 1 DEBUG: RTMP_ClientPacket, received: invoke 133 bytes DEBUG: (object begin) DEBUG: Property: NULL DEBUG: (object begin) DEBUG: Property: <Name: level, STRING: error> DEBUG: Property: <Name: code, STRING: NetStream.Failed> DEBUG: Property: <Name: description, STRING: Failed to play (stream ID: 1).> DEBUG: Property: <Name: clientid, STRING: 3RMgSUg-> DEBUG: (object end) DEBUG: (object end) DEBUG: HandleInvoke, server invoking <onStatus> DEBUG: HandleInvoke, onStatus: NetStream.Failed ERROR: Closing connection: NetStream.Failed DEBUG: Closing connection. Code:
https://mog.com/v2/tracks/46432413/stream.json?high_bw=1&scrobble=0&api_key=chrome&api_token=V3.us.F60AXFkfJ31TyREBA6RNM9RpiEzuBwUPpH1vjEQOy1qyLKMq4XdMz9_VBLwms9vQ&context=album&ts=1368519072&allow_nonstreamable_token=1 |
#8
|
|||
|
|||
Re: NetStream.Failed Failed to play (stream ID: 1)Ok, with rtmpsrv works although the swf file fails, thanks chap
|
Tags: error, rtmpdump, tsl |
Thread Tools | |
Display Modes | |
|
|