Audio/video stream recording forums
|
Attention Visitor: |
You may have to register or log in before you can post:
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
3dbuzz videosSo I am new here (obviously) and I have been trying to get some videos off 3dbuzz so I can watch them while I am offline. I have tried many variations of the rtmpdump commands and always end up with an error.
Here is a link to a video like that I want to download. I can't show the exact videos as they are for subscribers. However, this video has the same setup as the subscriber videos. Code:
http://www.3dbuzz.com/training/view/comprehensive-aspnet-mvc/introduction/series-introduction Code:
rtmpdump -r "rtmp://vs.3dbuzz.com/buzz/" -a "buzz/" -f "WIN 14,0,0,177" -W "http://www.3dbuzz.com/content/flash/Player3.swf" -p "http://www.3dbuzz.com/training/view/comprehensive-aspnet-mvc/introduction/series-ntroduction" -y "a3AOjCPW0Dvl2dcyaUnBr6CnLxR" -o "out.flv" Code:
rtmpdump -r "rtmp://vs.3dbuzz.com/buzz/" -a "buzz/" -f "WIN 14,0,0,177" -W "http://www.3dbuzz.com/content/flash/Player3.swf" -p "http://www.3dbuzz.com/training/view/comprehensive-aspnet-mvc/introduction/series-ntroduction" -y "a3AOjCPW0Dvl2dcyaUnBr6CnLxR" -o "out.flv" -V -R --buffer 2000 Code:
DEBUG: RTMPSockBuf_Fill, recv returned -1. GetSockError(): 10060 (Unknown error) ERROR: RTMP_ReadPacket, failed to read RTMP packet header |
#2
|
|||
|
|||
Re: 3dbuzz videosfound token but by me same problem
don't works sorry Bro Code:
-T "92J3ax!077M6%.EZckS776^J$i8=}I" Code:
RTMPDump v2.4 GIT-2014-03-02 (Compiled by KSV) (c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL Connecting ... INFO: Connected... Starting download at: 0.000 kB ERROR: RTMP_ReadPacket, failed to read RTMP packet header 0.000 kB / 0.00 sec Download complete |
#3
|
|||
|
|||
Re: 3dbuzz videosThat actually helped man. I'm assuming you got that from the swf? It looks like 3dbuzz added a separate call into the rtmp connect call. going to try a few things to see if I can get it to work
|
#4
|
|||
|
|||
Re: 3dbuzz videosplease also inform me
|
#5
|
|||
|
|||
Re: 3dbuzz videosWell,
to catch the stream you need to, after the "NetConnection.Connect.Success", send the command this._connection.call("rr", null, $decrypt); where decrypt is the tea_decryption of the r2-property received and transformed. See https://github.com/denobis/4od/blob/...ea_decrypt.php where i've implemented the decryption process in php. For example, when connecting we received r2=5n251623p7q688po5s9o89p8249so8oqs399r7os8982srs 70852662qpq14r2409r6q58r8 which is decrypted to 55a7b6f3-ba33-4596-8965-b46d2247ea51 But you need to implement this in the c-sources of rtmpdump and compile it. Funny. |
#6
|
|||
|
|||
Re: 3dbuzz videosI think it's only needed to append a special case in rtmp.c
Instead of if (RTMP_FindFirstMatchingProperty(&obj, &av_secureToken, &p)) { DecodeTEA(&r->Link.token, &p.p_vu.p_aval); SendSecureTokenResponse(r, &p.p_vu.p_aval); } we have to consider &av_r2 and apply to it the transformation before the DecodeTEA. |
#8
|
|||
|
|||
Re: 3dbuzz videosdenobis, that is exactly what I was thinking and what I have been testing. I've been trying to implement it a java rtmp client (because I know java the best), but am having trouble with the decryption stuff. I'll keep messing with it and get about to you guys.
For some reason whenever I try to decrypt the r2 value, i get weird characters.... even on known working implementations of the tea decryption.... |
#9
|
|||
|
|||
Re: 3dbuzz videosFor some reason I cannot get the TEA decryption to work. Even the implementation denobis provided does not work. They all come back with strings like this oA¤4?2?{¸iá»3??")Zd?,@Âî·ë?[?`q??
I don't know what I am doing wrong.... |
#10
|
|||
|
|||
Re: 3dbuzz videosSorry, i dont know what you're doing but the code i provided works, not beeing anything else that a pure php implementation of the tea-decrypt algorithm, exactly like the DecodeTEA(AVal *key, AVal *text) from rtmp.c.
Remember that before make de tea-decription you need to transform the r2-string to make it hex-number: Code:
function transform_r2($r2) { $_local2 = ""; $_local3 = 0; $chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMabcdefghijklmnopqrstuvwxyzabcdefghijklm"; while ($_local3 < strlen($r2)) { $_local5 = $r2[$_local3]; if (strpos($chars,$_local5) or $_local5=="A") { $_local5 = $chars[strpos($chars,$_local5) + 13]; } $_local2.= $_local5; $_local3++; } return $_local2; } C code for transposition Code:
int local8,local3,r2size; char *chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMabcdefghijklmnopqrstuvwxyzabcdefghijklm"; char *local6 = text; r2size = strlen(local6); char local2[r2size]; local3 = 0; while (local3 < r2size) { local8 = local6[local3]; char *b = strchr (chars, local8); int pos = pos ? b - chars : -1; if (pos>-1) {local8=chars[pos + 13];} char local52[2]; memcpy( local52, &local8, 1 ); local2[local3]=local52[0]; local3++; } memcpy(text, local2, r2size);:cool: |
Tags: 3dbuzz, rtmpdump |
Thread Tools | |
Display Modes | |
|
|