Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
rtmpe and swf verification problems with tv4play.seHi, I'm trying to download video from tv4play.se, i.e. this video
Code:
http://www.tv4play.se/noje_och_humor/forkvall?videoId=1.1357384 command: Code:
rtmpdump --debug --swfUrl 'http://cdn01.tv4.se/polopoly_fs/1.939636.1259243966!approot/tv4video.swf' --swfhash '422ba2018ca814bc67ec59b39c0ba1b4f5d3246dbd137b4fd63ba327487848d5' --swfsize '124349' --rtmp 'rtmpe://cp70051.edgefcs.net/tv4ondemand' --app 'tv4ondemand' --playpath 'mp4:/mp4root/2009-11-25/A53G0CFN-FORKVALLHALSA_885464_T6MP48_.mp4' -o out.flv Code:
RTMPDump v1.9 (c) 2009 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL DEBUG: Parsing... DEBUG: Parsed protocol: 3 DEBUG: Parsed host : cp70051.edgefcs.net DEBUG: Parsed app : tv4ondemand DEBUG: Protocol : RTMPE DEBUG: Hostname : cp70051.edgefcs.net DEBUG: Port : 1935 DEBUG: Playpath : mp4:/mp4root/2009-11-25/A53G0CFN-FORKVALLHALSA_885464_T6MP48_.mp4 DEBUG: tcUrl : rtmpe://cp70051.edgefcs.net:1935/tv4ondemand DEBUG: swfUrl : http://cdn01.tv4.se/polopoly_fs/1.939636.1259243966!approot/tv4video.swf DEBUG: app : tv4ondemand DEBUG: flashVer : LNX 10,0,22,87 DEBUG: live : no DEBUG: timeout : 120 sec DEBUG: SWFSHA256: 42 2B A2 01 8C A8 14 BC 67 EC 59 B3 9C 0B A1 B4 F5 D3 24 6D BD 13 7B 4F D6 3B A3 27 48 78 48 D5 DEBUG: SWFSize : 124349 DEBUG: Setting buffer time to: 36000000ms Connecting ... DEBUG: Connect, ... connected, handshaking DEBUG: HandShake: Client type: 06 DEBUG: HandShake: DH pubkey position: 1315 DEBUG: HandShake: Client digest offset: 334 DEBUG: HandShake: Initial client digest: DB BC B7 06 54 EC 48 74 2E 9D B9 2B 3E A4 DD CE 6F A8 E4 39 0D BB 03 FE 07 CC A7 A8 54 D4 C9 49 DEBUG: HandShake: Type Answer : 06 DEBUG: HandShake: Server Uptime : 176694172 DEBUG: HandShake: FMS Version : 3.5.1.1 DEBUG: HandShake: Server DH public key offset: 334 DEBUG: HandShake: Secret key: 0A 1B 1B FA 4E BD B2 A9 D4 63 6F A8 92 2B BE F9 F7 CE BE 09 A7 CD 8E 21 CB FA 17 AC AC 2B 0C 3B B4 84 8E 79 33 78 95 2C 1C 41 15 43 37 53 48 6F E2 23 C1 DA 01 BC DE 54 8F D1 B4 6B 0E A1 87 C0 C3 76 FE 7C FC DB 4E B7 BE 0D E5 80 3E BD 54 16 A3 55 35 E9 CB 71 34 98 B4 8B 1A 1B 42 A2 E2 9E EA CC DD 4F D0 BE 54 CD 6E 14 9D FD FC 24 0C A2 C1 2C 4F 90 49 9A 79 AB EC 33 8B 22 E7 53 3F 00 DEBUG: RC4 Out Key: 45 BB 0D 1E 15 F3 67 F0 58 97 00 25 44 EE 13 EA DEBUG: RC4 In Key: 91 88 A5 E3 5A 07 E8 A0 87 ED 20 12 05 2F 03 96 DEBUG: HandShake: Client signature digest position: 334 DEBUG: HandShake: Digest key: C8 4D FA 8A 3E BF 88 5A 67 8E F0 93 16 59 0D 13 8B 73 C1 85 86 F6 E1 29 E5 48 CD F6 11 FD 7D 97 DEBUG: HandShake: Signature calculated: 68 EF 35 E7 11 5F 07 2C 40 06 0B 6D 94 FC A8 0A 3D AB F5 DA 5F 7B 4C 61 7E 08 6F F4 A1 FF 55 41 DEBUG: HandShake: Server sent signature: 68 EF 35 E7 11 5F 07 2C 40 06 0B 6D 94 FC A8 0A 3D AB F5 DA 5F 7B 4C 61 7E 08 6F F4 A1 FF 55 41 DEBUG: HandShake: Genuine Adobe Flash Media Server DEBUG: HandShake: Calculated digest key from secure key and server digest: FE 14 B7 73 61 CB A9 08 2F 50 D9 06 B9 C2 96 78 D1 4B F5 18 50 06 9F 0D E7 E4 F2 3A EA 42 B8 95 DEBUG: HandShake: Client signature calculated: A6 EB F5 56 AC 49 7A ED B1 2F 75 01 E8 BC 9C 78 F4 A1 4C 77 BC 77 66 F4 B2 39 38 C5 B6 D5 CC 67 DEBUG: HandShake: Handshaking finished.... DEBUG: Connect, handshaked DEBUG: Invoking connect INFO: Connected... DEBUG: HandleServerBW: server BW = 1250000 DEBUG: HandleClientBW: client BW = 1250000 2 DEBUG: HandleCtrl, received ctrl. type: 0, len: 6 DEBUG: HandleCtrl, Stream Begin 0 DEBUG: HandleCtrl, received ctrl. type: 26, len: 2 DEBUG: HandleCtrl, SWFVerification ping received: DEBUG: sending ctrl. type: 0x001b DEBUG: Sending SWFVerification response: 00 1B 01 01 00 01 E5 BD 00 01 E5 BD 8E A1 ED 57 3A FA 69 DC 9D DA C7 BE 2F 1E 49 D3 00 17 D5 D8 B9 DA 25 5C E8 0B BB F3 B3 75 C8 BE DEBUG: HandlePacket, received: invoke 21 bytes DEBUG: Property: <Name: no-name., STRING: onBWDone> DEBUG: Property: <Name: no-name., NUMBER: 0.00> DEBUG: HandleInvoke, server invoking <onBWDone> DEBUG: Invoking _checkbw DEBUG: HandlePacket, received: invoke 29 bytes DEBUG: Property: <Name: no-name., STRING: _result> DEBUG: Property: <Name: no-name., NUMBER: 2.00> DEBUG: Property: NULL DEBUG: Property: <Name: no-name., NUMBER: 1.00> DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call <createStream> DEBUG: SendPlay, seekTime=0.00, dLength=0, sending play: mp4:/mp4root/2009-11-25/A53G0CFN-FORKVALLHALSA_885464_T6MP48_.mp4 DEBUG: Invoking play DEBUG: sending ctrl. type: 0x0003 DEBUG: FillBuffer, recv returned -1. GetSockError(): 104 (Connection reset by peer) ERROR: ReadPacket, failed to read RTMP packet header DEBUG: Closing connection. |
#2
|
|||
|
|||
Re: rtmpe and swf verification problems with tv4play.seLooks like your swfUrl / swfSize / swfHash are invalid. I found these parameters from that site and it works for me:
rtmpdump --debug --swfUrl 'http://www.tv4play.se/polopoly_fs/1.939636.1260780980!approot/superspelarflashlet.swf' --swfhash 'e1797c5d77de16df98184bbfa4399bb03009dbd6cace43037 77b34eeab45b7e2' --swfsize '225218' --rtmp 'rtmp://cp70051.edgefcs.net/tv4ondemand?ovpfv=2.1.2' --playpath 'mp4:/mp4root/2009-11-25/A53G0CFN-FORKVALLHALSA_885464_T6MP48_.mp4' -o out.flv -p "http://www.tv4play.se/noje_och_humor/forkvall?videoId=1.1357384" Notice that it doesn't need rtmpe. |
#3
|
|||
|
|||
Re: rtmpe and swf verification problems with tv4play.sehow can you find the correct swf url?
|
#4
|
|||
|
|||
Re: rtmpe and swf verification problems with tv4play.seI used this:
http://lists.mplayerhq.hu/pipermail/...er/000181.html: Quote:
Code:
RTMP Server v2.0 (c) 2009 Andrej Stepanchuk, Howard Chu; license: GPL Streaming on rtmp://0.0.0.0:1935 DEBUG: serverThread: accepted connection from 192.168.1.21 to 24.143.203.55 DEBUG: SHandShake: Type Requested : 03 DEBUG: SHandShake: Client Uptime : 77360913 DEBUG: SHandShake: Player Version: -128.0.3.2 DEBUG: SHandShake: Handshaking finished.... DEBUG: ServePacket, received packet type 14, size 442 bytes DEBUG: ServePacket, received: invoke 442 bytes DEBUG: (object begin) DEBUG: Property: <Name: no-name., STRING: connect> DEBUG: Property: <Name: no-name., NUMBER: 1.00> DEBUG: Property: <Name: no-name., OBJECT> DEBUG: (object begin) DEBUG: Property: <Name: app, STRING: tv4ondemand?ovpfv=2.1.2> DEBUG: Property: <Name: flashVer, STRING: LNX 10,0,42,34> DEBUG: Property: <Name: swfUrl, STRING: http://www.tv4play.se/polopoly_fs/1.939636.1260780980!approot/superspelarflashlet.swf> DEBUG: Property: <Name: tcUrl, STRING: rtmp://cp70051.edgefcs.net:1935/tv4ondemand?ovpfv=2.1.2> DEBUG: Property: <Name: fpad, BOOLEAN: FALSE> DEBUG: Property: <Name: capabilities, NUMBER: 15.00> DEBUG: Property: <Name: audioCodecs, NUMBER: 3191.00> DEBUG: Property: <Name: videoCodecs, NUMBER: 252.00> DEBUG: Property: <Name: videoFunction, NUMBER: 1.00> DEBUG: Property: <Name: pageUrl, STRING: http://www.tv4play.se/noje_och_humor/forkvall?videoId=1.1357384> DEBUG: Property: <Name: objectEncoding, NUMBER: 3.00> DEBUG: (object end) DEBUG: (object end) DEBUG: ServeInvoke, client invoking <connect> DEBUG: Invoking _result DEBUG: ServePacket, received packet type 11, size 22 bytes DEBUG: ServePacket, flex message, size 22 bytes, not fully supported DEBUG: (object begin) DEBUG: Property: <Name: no-name., STRING: _checkbw> DEBUG: Property: <Name: no-name., NUMBER: 0.00> DEBUG: (object end) DEBUG: ServeInvoke, client invoking <_checkbw> DEBUG: ServePacket, received packet type 11, size 26 bytes DEBUG: ServePacket, flex message, size 26 bytes, not fully supported DEBUG: (object begin) DEBUG: Property: <Name: no-name., STRING: createStream> DEBUG: Property: <Name: no-name., NUMBER: 2.00> DEBUG: (object end) DEBUG: ServeInvoke, client invoking <createStream> DEBUG: Invoking _result DEBUG: ServePacket, received packet type 04, size 10 bytes DEBUG: ServePacket, received packet type 04, size 10 bytes DEBUG: ServePacket, received packet type 11, size 104 bytes DEBUG: ServePacket, flex message, size 104 bytes, not fully supported DEBUG: (object begin) DEBUG: Property: <Name: no-name., STRING: play> DEBUG: Property: <Name: no-name., NUMBER: 0.00> DEBUG: Property: NULL DEBUG: Property: <Name: no-name., STRING: mp4:/mp4root/2009-11-25/A53G0CFN-FORKVALLHALSA_885464_T6MP43_.mp4> DEBUG: Property: <Name: no-name., NUMBER: 0.00> DEBUG: Property: <Name: no-name., NUMBER: -1000.00> DEBUG: (object end) DEBUG: ServeInvoke, client invoking <play> Last edited by Stream Recorder : 01-01-2010 at 05:35 AM. Reason: added example output |
#5
|
|||
|
|||
Re: rtmpe and swf verification problems with tv4play.seThanks, I will try this ASAP (tonight).
|
#6
|
|||
|
|||
Re: rtmpe and swf verification problems with tv4play.seI'm also trying to download a clip from tv4play.
Code:
http://www.tv4play.se/aktualitet/nyhetsmorgon?videoId=1.1421120 Code:
$ ./rtmpdump_x86 --swfUrl 'http://www.tv4play.se/polopoly_fs/1.939636!approot/embedvideo.swf' --swfhash '2de6131e59345b482cea6ee7dd3b9c4f8470b9b7cb8aabe182d2d337b66c4cd7' --swfsize '124349' --rtmp 'rtmp://cp70051.edgefcs.net:1935/tv4ondemand?ovpfv=2.1.2' --playpath 'mp4:/mp4root/2009-12-30/A5K02BXQ-WEBBNYMOVILLARE_902118_T6MP48_.mp4' -o out.flv -p "http://www.tv4play.se/aktualitet/nyhetsmorgon?videoId=1.1421120" --resume RTMPDump v1.6 (c) 2009 Andrej Stepanchuk, license: GPL DEBUG: Parsing... DEBUG: Parsed protocol: 0 DEBUG: Parsed host : cp70051.edgefcs.net DEBUG: Parsed port : 1935 DEBUG: Parsed app : tv4ondemand?ovpfv=2.1.2 ERROR: No playpath found! WARNING: No playpath in URL! DEBUG: Setting buffer time to: 36000000ms Connecting ... DEBUG: Protocol : RTMP DEBUG: Hostname : cp70051.edgefcs.net DEBUG: Port : 1935 DEBUG: Playpath : mp4:/mp4root/2009-12-30/A5K02BXQ-WEBBNYMOVILLARE_902118_T6MP48_.mp4 DEBUG: tcUrl : rtmp://cp70051.edgefcs.net:1935/tv4ondemand?ovpfv=2.1.2 DEBUG: swfUrl : http://www.tv4play.se/polopoly_fs/1.939636!approot/embedvideo.swf DEBUG: pageUrl : http://www.tv4play.se/aktualitet/nyhetsmorgon?videoId=1.1421120 DEBUG: app : tv4ondemand?ovpfv=2.1.2 DEBUG: flashVer : LNX 9,0,124,0 DEBUG: live : no DEBUG: timeout : 300 sec DEBUG: SWFSHA256: 2D E6 13 1E 59 34 5B 48 2C EA 6E E7 DD 3B 9C 4F 84 70 B9 B7 CB 8A AB E1 82 D2 D3 37 B6 6C 4C D7 DEBUG: SWFSize : 124349 DEBUG: Connect, ... connected, handshaking DEBUG: HandShake: Client type: 03 DEBUG: HandShake: Client digest offset: 533 DEBUG: HandShake: Initial client digest: 5F DF 72 73 9C 4F DD 0B EF 4A CF 5D 56 63 2B 79 81 44 29 55 DE 49 1D 65 BD 09 42 E0 0B 82 2E 64 DEBUG: HandShake: Type Answer : 03 DEBUG: HandShake: Server Uptime : 1663647677 DEBUG: HandShake: FMS Version : 3.5.1.1 WARNING: Trying different position for server digest! DEBUG: HandShake: Server DH public key offset: 821 DEBUG: HandShake: Client signature digest position: 533 DEBUG: HandShake: Digest key: 31 30 E4 9D F8 3B 3B 45 CA 36 48 5A 00 4D E0 A3 78 1A CD 78 77 9B 8D 84 1D C8 BB 57 81 A6 2A 7A DEBUG: HandShake: Signature calculated: 22 5B AF 0B 18 79 8F B0 01 BA 68 67 66 1B B7 1C 2F 1D 16 FE F9 4A 05 93 B9 5C A9 E1 57 62 AC 16 DEBUG: HandShake: Server sent signature: 22 5B AF 0B 18 79 8F B0 01 BA 68 67 66 1B B7 1C 2F 1D 16 FE F9 4A 05 93 B9 5C A9 E1 57 62 AC 16 DEBUG: HandShake: Genuine Adobe Flash Media Server DEBUG: HandShake: Calculated digest key from secure key and server digest: B7 AE 1D 00 C3 24 09 C4 A2 30 8E 45 50 12 D8 3F CF B1 3A 5D 0F 0B 0E 8A E5 AF 2E BD 71 96 4D F3 DEBUG: HandShake: Client signature calculated: C9 7D 50 2B EB 0E 13 DF 8A BF 59 EB A0 39 29 16 F7 E0 F5 31 0C B8 22 17 C7 B3 D8 96 72 98 8C DA 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: HandlePing, received ping. type: 26, len: 2 DEBUG: HandlePing, SWFVerification ping received: DEBUG: sending ping. type: 0x001b DEBUG: Sending SWFVerification response: 00 1B 01 01 00 01 E5 BD 00 01 E5 BD 88 54 7E BE 30 E8 BD DB 15 08 47 DF 2E 96 88 8B 8C 16 2A 1D D0 26 75 86 73 18 6A D1 75 86 D0 68 DEBUG: GetNextMediaPacket, received: invoke 240 bytes DEBUG: Property: <Name: no-name., STRING: _result> DEBUG: Property: <Name: no-name., NUMBER: 1.00> DEBUG: Property: <Name: no-name., OBJECT> DEBUG: Property: <Name: fmsVer, STRING: FMS/3,5,1,525> DEBUG: Property: <Name: capabilities, NUMBER: 31.00> DEBUG: Property: <Name: mode, NUMBER: 1.00> DEBUG: Property: <Name: no-name., OBJECT> 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: Property: <Name: version, STRING: 3,5,1,525> DEBUG: HandleInvoke, server invoking <_result> DEBUG: HandleInvoke, received result for method call <connect> DEBUG: sending ping. type: 0x0003 DEBUG: GetNextMediaPacket, received: invoke 21 bytes DEBUG: Property: <Name: no-name., STRING: onBWDone> DEBUG: Property: <Name: no-name., NUMBER: 0.00> DEBUG: HandleInvoke, server invoking <onBWDone> DEBUG: ReadN, RTMP socket closed by server ERROR: ReadPacket, failed to read RTMP packet header Closing connection... done! |
#7
|
|||
|
|||
Re: rtmpe and swf verification problems with tv4play.se^
Try version 1.9 |
#8
|
|||
|
|||
Re: rtmpe and swf verification problems with tv4play.seNot sure if you've picked a valid swfUrl.
Try version 2.1, use the -W option instead of -s/-w/-x. |
#9
|
|||
|
|||
Re: rtmpe and swf verification problems with tv4play.seRTMPE recorders can download tv4play.se videos.
|
Tags: rtmpdump, rtmpe, swf verification, tv4play se |
Thread Tools | |
Display Modes | |
|
|