Audio/video stream recording forums (http://stream-recorder.com/forum/index.php)
-   rtmpdump (http://stream-recorder.com/forum/forumdisplay.php?f=54)
-   -  

Adobe HDS Downloader

(http://stream-recorder.com/forum/showthread.php?t=14823)

KSV 07-15-2013 11:29 PM

Re: Adobe HDS Downloader


 
i have repackaged the add-on (no code changes) with new SDK to make it compatible with Firefox 22 and above. it will be available on Mozilla website and through auto update after it's fully reviewed by Mozilla which may take a day or two. till then you can use this link to download new version (0.6).

WHOOKIDSON 07-16-2013 12:22 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by KSV (Post 62842)
i have repackaged the add-on (no code changes) with new SDK to make it compatible with Firefox 22 and above. it will be available on Mozilla website and through auto update after it's full reviewed by Mozilla which may take a day or two. till then you can use this link to download new version (0.6).

Super thanks for the update, bro! Even tho I downgraded my FF..I have good reason to upgrade now! :D

do you know why or can address why sometimes frags freeze on the VERY last frag when its downloading? like it gets "stuck" or just "hangs" in cmd...thanks man

KSV 07-16-2013 11:39 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by WHOOKIDSON (Post 62843)
do you know why or can address why sometimes frags freeze on the VERY last frag when its downloading? like it gets "stuck" or just "hangs" in cmd...thanks man

What do you mean by stuck? does it never complete or it just takes some time to complete?

This script downloads several fragments in parallel (default 8, use --parallel switch to change it to any number) so when it displays the last fragment number it is actually downloading last 8 (or other specified number) fragments in parallel so it may seem stuck for a little while.

GtbpyQgB 07-17-2013 07:19 AM

Re: Adobe HDS Downloader


 
KSV@

Thanks for "HDS Link Detector 0.6" update :D. Much appreciated.

chap 08-04-2013 03:38 PM

Re: Adobe HDS Downloader


 
KSV
Adobe HDS Downloader
does not work on the site http://v.kiwi.kz/v2/skshwta45su7/
they came up with a clever trick?:confused:
Thanks

theclansmen 08-04-2013 06:25 PM

Re: Adobe HDS Downloader


 
please i need help
i try to download this vid : http://www.ndr.de/unterhaltung/event...acken2843.html

i used the KSV tutorial and firefox add-on, everything went fine
but when i press enter i got a big list of stuff like this :
<span class="p">;</span></div><div class='line' id='LC1940'> etc etc

and then this message : "something went wrong with that request. please try again"

i don't know what to do, please help me

chap 08-04-2013 11:11 PM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by theclansmen (Post 63060)
please i need help
i try to download this vid : http://www.ndr.de/unterhaltung/event...acken2843.html

no problem
works fine
Code:

php AdobeHDS.php --manifest "http://hds.ndr.de/z/2013/
0804/TV-20130804-0233-2542.,hi,hq,.mp4.csmil/manifest.f4m?hdcore=2.8.2&g=OEDTFVR
OIKOL" --delete --auth "als=0,1,0,1,0,NaN,0,0,0,8,f,0,4604.35,f,s,OEDTFVROIKOL,2
.8.2,8&hdcore=2.8.2" --useragent "Mozilla/5.0 (Windows NT 5.1; rv:22.0) Gecko/20
100101 Firefox/22.0"

                            KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
 Available: 1788 892
 Selected : 1788
Downloading 767/767 fragments
Found 767 fragments
Finished

try use latest Adobe HDS Downloader
Code:

php AdobeHDS.php --update

KSV 08-05-2013 07:19 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by theclansmen (Post 63060)
i used the KSV tutorial and firefox add-on, everything went fine
but when i press enter i got a big list of stuff like this :
<span class="p">;</span></div><div class='line' id='LC1940'> etc etc

and then this message : "something went wrong with that request. please try again"

You have saved the html of script page instead of actual script. use the raw link to save it again or download the zip file.

KSV 08-05-2013 07:34 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by chap (Post 63057)
Adobe HDS Downloader
does not work on the site http://v.kiwi.kz/v2/skshwta45su7/
they came up with a clever trick?:confused:

Yep they tried by obfuscating the mdat box but it's lame one and easy to bypass. following is the code to unobfuscate the fragment before processing. but the way the unobfuscation works, it makes the fragment processing extremely slow. each fragment requires about 10 seconds to unobfuscate. i wouldn't add this to my official repo because it's a site specific trick which they can change whenever they please.

Code:

          // Unobfuscate fragments used by kiwi.kz website
          $encByteIndex = 0;
          $encSum      = 0;
          $encData      = substr($frag, $fragPos, $fragLen);
          $encDataLen  = strlen($encData);
          $timeStart    = microtime(true);
          for ($i = 0; $i < $encDataLen; $i++)
            {
              $x                  = ord($encData[$i]);
              $frag[$fragPos + $i] = chr($x ^ $encSum ^ $encByteIndex++);
              $encSum              = $x;
            }
          $timeEnd = microtime(true);
          LogDebug(sprintf("Fragment %d decrypted in %.2f seconds.", $fragNum, $timeEnd - $timeStart), $debug);

Code:

http://pastebin.com/67TfREWZ
Also firefox add-on doesn't work here due to a minor (probably intentional) glitch (.f4m/). you have to use the manual method instead.

chap 08-05-2013 09:38 AM

Re: Adobe HDS Downloader


 
KSV
thanks and great respect for your work:cool:


All times are GMT -6. The time now is 01:00 PM.