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) |
Re: 3dbuzz videosfound token but by me same problem
don't works :confused: sorry Bro Code:
-T "92J3ax!077M6%.EZckS776^J$i8=}I" Code:
RTMPDump v2.4 GIT-2014-03-02 (Compiled by KSV) |
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
|
Re: 3dbuzz videosplease also inform me :D
|
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. |
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. |
Re: 3dbuzz videosi think with next release of rtmpdump can @KSV this implement
can you move this here |
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.... |
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.... |
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) C code for transposition Code:
int local8,local3,r2size; |
Re: 3dbuzz videosAlso, its very important to take account of the following notes:
"In other languages: remember always to use either unsigned right-shift operators or unsigned type declarations, according to features available in the language – signed right shift operations will fail; also, in strToLongs(), to avoid running off the end of the string, some languages may need the string to be padded to a multiple of 4 characters, with the equivalent of for (var p=0; p<3-(s.length-1)%4; p++) s += '\0';." (Chris Veness) |
Re: 3dbuzz videosHmmmm.... I'll have to use the actuall php.exe when I get home. I was using an online interpreter to test your code. I got the actionscript to process it correctly. Must be something wrong with my bitwise operations. I swear I am using unsigned right-shift operators....
|
Re: 3dbuzz videos1 Attachment(s)
Ok, it's working. You must calculate the path too
- from rtmp://vs.3dbuzz.com/buzz/nmX0fNaK0Qgta2cwD3eZqgkDu4o take the token=nmX0fNaK0Qgta2cwD3eZqgkDu4o to construct the path which results in CrjmqAnX0DwGOhxWLmtxF6SKRk4. That's invariable, so you need only to work the r2-response. Here the compiled rtmpdump http://speedy.sh/6wGcv/rtmpdump.exe |
Re: 3dbuzz videosThanks for this denobis. I'll have to try it sometime soon. I finally got my decryption to work (java is very picky about the bitwise stuff).
|
All times are GMT -6. The time now is 10:00 PM. |