Re: Adobe HDS DownloaderCan someone please explain how does the script calculate the fragments number based on manifest file.
I could not really understand that from code. I need to know how many fragments to expect based on f4m file, but struggling to find any info on this. Thanks |
Re: Adobe HDS DownloaderQuote:
|
Re: Adobe HDS DownloaderQuote:
|
Re: Adobe HDS DownloaderNothing yet about decrypting Adobe Flash DRM Access ?
i totally Stuck here ... i have seen this video but seems like a spam https://www.youtube.com/watch?v=FBwUB38C2dc |
Re: Adobe HDS DownloaderQuote:
|
Re: Adobe HDS DownloaderQuote:
I have the same problem when I updated to firefox 40. The HDS icon did not show up in the upper right toolbar with the new release. I went back to 39.0.3 and the icon showed up. Can the script be updated for ff 40? |
Re: Adobe HDS Downloaderi have released updated version to make it compatible with Firefox 40.
https://addons.mozilla.org/firefox/a...link-detector/ |
Re: Adobe HDS DownloaderQuote:
|
Re: Adobe HDS DownloaderQuote:
|
Re: Adobe HDS DownloaderHDS Link Detector 0.7.1
Code:
1. added the option to customize generated command line |
Re: Adobe HDS DownloaderQuote:
Hi KSV, I have been trying to look into the akamai HD player verification and packet decryption. After few weeks of work, i am able to get player verification working understood what was happening, using the player hash and encrypted string it creates the HMAC etc. Now, looking into tagDecrypt function, it takes the key (fetched via keyUrl by parsing the first packet) and the Packet Data. it then creates multiple HMAC with the key and then with internal data to get to the final stage, which i believe you call a global key. Here, i am little lost. I can see that its using a block cipher algorithm, possibly aes (but not sure ecb or cbc) where it operates using what look like aes code and then xor using some data then finally append it to response. Also, i dont know how we figure out when the encoded data starts as it definately got the header of some sort and then encrypted data section 16 byte long each. I can show you the code in PM about the PV code or this function that i am talking about. Let me know. |
Re: Adobe HDS Downloaderok some more information and the confirmation that this is definately AES cbc.
Basic info for the first packet. the cipher key is Code:
31dc4a65c4d06334b61bc43653544915 Code:
0c0000000055e6de3d0000ffff8f107971716510636c4095195d0687592f7a2f5353315f31403330393730312f6b65795f415142534c5a6843507677387a7a3365356c58705a777461445958304644763345455a686e4c78576232524443376c705754382b5274427644614643385075396b5763394e396c720001399eedccbc8f2a0e59cecdd0f899410435387fce8bf4a20289a91a20d64254f50000000000000000000000000000000000000000b159aee6bed571bb8449ad3ab868d8be420a487379ffc80dea46f51351a892e6e0ef8b26b0af6998979c68e0f945f155075aaa9f14c7335f093b79355e15b039947655ce468001000428f96bc8 This is header This is IV This is Key Url Data This is encrypted data if you chop the encrypted data in 16bytes multiple then you get 79ffc80dea46f51351a892e6e0ef8b26b0af6998979c68e0f9 45f155075aaa9f14c7335f093b79355e15b039947655ce They cipher key converts into global key which is Code:
a930fb441df4db669815e4bbab0e33c9 so use the above encrypted data, then use the IV listed above and the globak key, apply AES cbc and you should endup with 48 bytes of data starting with 0x1700 remaining data will then append to make the final output which is Code:
1700000000014d401fffe10025274d401fb90c02802dd80880000003008000001970300013d6200027ac77bdc07c2211468001000428f96bc8 so now i have to find proper methods to know when the encrypted data starts and when the header finishes! feeling i am getting there. the global key calculation is not very far off but i am reusing the same key for the same data till i get reliably generate that. |
Re: Adobe HDS DownloaderI had reversed the Akamai Player Verification long time ago and posted it here. many downloading software's and scripts around the web still use the same key i posted above. as for Akamai DRM the main hurdle was to derive per packet decryption key from global key as i have explained earlier in my old post.
|
Re: Adobe HDS DownloaderQuote:
As for finding the global key for the request, there 5 steps, for various HMAC creation, using key and the portion of the encrypted packet, all 5 hmac are linked to each other, there is only one step left which i need to figure out how we are generating the key for that step so just there yet far away! |
Re: Adobe HDS DownloaderI haven't looked into it for long time so things may have changed in the meantime. can you send me the swf file, encrypted fragment, related key and any other details via pm? I can take another look into it.
|
Re: Adobe HDS DownloaderI have pushed new update to the repo which enables the script to remove Akamai media encryption. KDF function to generate per packet decryption key from global session key was reverse engineered by user shani_08. i already had the details of encrypted packet header and some other ancillary information. I have tested it on few videos and it seems to work well at the moment. They may soon try to patch it. if you wanna keep it working longer then don't try to plaster it everywhere you can think of. enjoy while it lasts :D.
|
Re: Adobe HDS Downloaderyes much thanking you shani_08 and ksv!!
no hoping likewise curing flashaccess hds? |
Re: Adobe HDS DownloaderQuote:
|
Re: Adobe HDS Downloadercan your script download this kind of links
Code:
hds/XXXX.XXXX.ism/XXXX.XXXXX.drmmeta Code:
hds/mediaDelivery/media/XXXXXXXXXXXXXXXXXXXXX.f4m?cdn=l3 can you fix this Pls |
Re: Adobe HDS DownloaderAny chance on TSN or Turner like Cartoon Network F4M ?
|
Re: Adobe HDS DownloaderI have problem when using AdobeHDS in VMware environment although when I ping to original IP, it stills respond!
(In normal machine, it still works properly!) Any solution or VMware block this connection ? Code:
php AdobeHDS.php --quality high --manifest "http://scache.fptplay.net.vn/liver/truyenhinhfpt_2000.stream/manifest.f4m" --useragent "Mozilla/5.0 (Windows NT 6.1; rv:30.0) Gecko/20100101 Firefox/41.0" --parallel 4 --referrer http://fptplay.net/livetv/ --outfile onetv.flv |
Re: Adobe HDS DownloaderUsed ADOBEHDS daily for a year, great!
However, improvements I usually add to all new version 1. adding 1-2-3 retries to both manifest and fragments. My problem I;m not sure what decoding does with my "improvements". Order of received fragments, timestamps etc, but at least AdobeHDS does not exit that easily but stutters on while beeping. For live streams one can live with some missed fragments (and an error beep), main thing recording continues. 2. for esp archived streams, a name-change or similar (extra small name-ok "log" file) when total stream downloaded properly. (I wrote frontend where I dragdrop links, also checks if alrdy donloaded, but doesnt know if correctly or ongoing) Then a "shot in the dark", C-span.org live streams behave(d?) strange this last week, Video/Audio timestamp problem. Seems V-timestamps inside a fragment run too fast, then backdown at next fragment? Mplayer goes video-slowmotion, then waits, VLC stutters trying to resynch. Worst, changes to "bug-mode" only appr once a day, then suddenly OK again after 9-12hours. Points to byte+24bit timestamp problem?? Is this a "classic" problem? or my mistake-bug? (I'll have it figured out soon but slow to find them once/day things) http://www.c-span.org/schedule Gunnar |
Re: Adobe HDS DownloaderCSPAN1 just went into "V-slowmotion" mode.
tested latest AdobeHDS version From just observing A,V,A-V timestamps with standalone mplayer it looks like Audio-timestamps are running exactly 4x speed. V goes to normally 1,2,3 to 100, A alrdy speeded to 400. A little strange, that 4x Audio playback is normal (mplayer master sync?) but Video slowmotion, until new cycle begins after "stutter catchup" Btw, mplayer also reports appr 4x longer total (faster) time and mplayer time goes appr 4x speed (follows master audio?) ANy chance of wrong "inter-fragment" (wrongly fixed, or similar) audio-format parameter?? 44 vs 14kHz or similar, somewhere, althgh mplayer gives the rigth normal A,V formats (given by adobeHDs?) Mplayer, strangly, tries to slow down video? until after some appr 100-400 limit it stutters audio until video catches up in slowmotion Maybe bc the error-timestamp comes in bursts or similar?? Lots of weird adaptive and stamp-fixes here! My old "test and beep" version finds a negative timestamp jump at start of every fragment. (A little messy as LastTS can be both Audio and Video? plus PacketTS and fixed stamps and all) That is, both (now) behave the same. At one point I thought one was OK but not the other, mistaken observation? Gunnar PS WHAT IF?? the stream changes audio-format "in the middle", 2-3 times per day?? Note, I am catching the HDS parameters every now and then with HDS linkdetector and then use the same ones "until problems". Worked OK for more than a year butbutbut? Note2. Reason for seldom updated parameters that CSPAN demands a USA website cable authorization for most programs but not all. Thats when I catch them and then they work for all programs. Seems most parameters "are not needed" anyway, no actual strict authorization. WHAT IF2: If server tries to use fallback lower speed stream? AdobeHDS lacks that protocol software?? Weird things might happen?? |
Re: Adobe HDS Downloaderhi i need KSV Adobe HDS Downloader i dont know the link can any one post link of KSV Adobe HDS Downloader 64 bits windows
|
Re: Adobe HDS Downloaderpost link of KSV Adobe HDS Downloader 64 bits windows/
------- Added later REMEMBERED ,FOUND, GOOGLED "K-S-V adobehds php windows dummies" It is in Github/K-S-V/scripts wiki https://github.com/K-S-V/Scripts/wiki but I leave my own text if it helps?? ---------- Google "k-s-v adobehds", a cpl of GitHub links idea GitHub -> K-S-V -> his SCRIPTS https://github.com/K-S-V/Scripts where AdobeHDS first in list. Dont understand the 64bit thing as AdobeHDs is a script written in PHP to run on any machine with a php "interpreter" For windows you need to install the (64bit?) php-"interpreter" google "PHP windows", gives http://windows.php.net/ Then, the funny part, installation of "(64bit) PHP for Windows", K-S-V has written a "Instal PHP for Windows Dummies" somewhere. Main problem to add the PHP.exe path to the windose DOS-path, maybe check the php.ini file too? (path, something like system->advanced->enviroment, always a pain to find it, plus administrator rights and wrongs) Anyway, not needed if you do "everything" in the same directory you installed php.exe That is, open DOS command window (start->run and cmd, but better make a shortcut), or DOS powershell, go where php.exe is and - write php<enter> to check it is there. Then in its simplest form php AdobeHDS.php --manifest etc etc or from anywhere <path to>php.exe <path to> AdobeHDS.php --manifest etc ect Gunnar PS then it is "back to the DOS batch files" to see what happens PPS Note the difference dbldash -- and singledash - if you are not used to them PPPS The adobeHds.php file is not downloaded, but just copy-pasted to a (text) file with that or other name |
Re: Adobe HDS DownloaderQuote:
http://stream-recorder.com/forum/dow...t19250p34.html see post of moet |
Re: Adobe HDS DownloaderIam trying to download hotstar video got this
php AdobeHDS.php --manifest "http://staragvod1-vh.akamaihd.net/z/videos/plus/sns/1509/1000070501_,180,400,800,1300,2000,_STAR.mp4.csmil/manifest.f4m?hdnea=st=1446704006~exp=1446704606~ac l=/*~hmac=9463e3cf76e3d9d08f1773dd185e6046ac8c04e18d7 d991fa753986136c5a381&g=TJLPYOWLKHBG&hdcore=3.7.0& plugin=aasp-3.7.0.39.44" --delete --auth "hdntl=exp=1446790722~acl=%2f*~data=hdntl~hmac=7f3 42d5c916e7564cf300544067af902e15427e78e5c300c23fa1 9da67db8386&als=0,3,NaN,0,0,NaN,0,0,0,48,f,0,1259. 8,f,u,TJLPYOWLKHBG,3.7.0,48&hdcore=3.7.0&plugin=aa sp-3.7.0.39.44" --useragent "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0" KVS Adobe HDS Downloader You have to install and enable the following extentions<s> to continue: 'curl' whats this? |
Re: Adobe HDS DownloaderHi to all,
is there any chance to grab the f4m url where some other software failed? i tried with the "KVS HDS link detector", "urlsnooper" , "grab any media", but no result. any solution? thanks in advance. |
Re: Adobe HDS DownloaderHi.....I have a question.....eg:I need to download a mainfest.f4m video with adobehds.php. The video has 215 fragments.....can I download only a single fragment 53...?
|
Re: Adobe HDS DownloaderGot a problem with adobehds.php....
failed to download akamai session key whats this means? |
Re: Adobe HDS DownloaderIam trying to download hotstar video got this/
Seems you captured the command line with the "HDS Link Detector". It looks ok, it starts with php.exe with the AdobeHDS script plus arguments. 1. as above, you must install php for windows 2. use windows PowerShell (better than simple dos command window) 3. navigate PowerShell to where you have BOTH php.exe (installed) and AdobeHDS.php 4. When HDS Link Detector gives the link, click on it (copies it to "mouse") 5. paste the link into PowerShell with right-click mouse in window (above prompt) The command line you posted shld appear in PowerShell hit Enter, and php.exe starts AdobeHDS script, download begins. Other possibility to paste the commandline into a batch file where you can change it, then run it. With this method possible problem with old cookie timestamps. Gunnar CURL, forget it. I remembred wrong, used by another similar program (python scripts) that also uses AdobeHDS Note, often a 60s or minute timeout for cookies, they must be "fresh" |
Re: Adobe HDS Downloaderfailed to download akamai session key/
Encryption protection and maybe worse? Earlier AdobeHDS scripts cldnt do any Akamai session encryption stuff, latest can. Tested it on two cases I knew, worked ok |
AdobeHDS not getting the entire episodeHey, I'm trying to download episode 4 from Keeping Canada Alive. It only downloads the fragments for the first 12m31s.
The description for the episode online does say it's 12m31s, however, the web player's timeline actually shows 39m26s. If I let the episode play through it is 39m26s. The other remaining episodes all download complete. Any ideas or suggestions? Here's the manifest URL (the session has already expired) if it helps: Code:
http://mobilehls-vh.akamaihd.net/z/prodVideo/entertainment/CBC_Entertainment_VMS/405/382/Keep_Canada_Alive_S01_E04_Oct_24_2015_,960x540_2500kbps__762132,852x480_1800kbps__231965,640x360_1200kbps__794297,640x360_900kbps__867510,370x208_500kbps__345244,320x180_350kbps__596690,.mp4.csmil/manifest.f4m?hdnea=ip=99.225.102.91~st=1447087497~exp=1447087887~acl=/z/*~id=da9d1b6f-54c0-48b7-aa72-71db4995df7c~hmac=35ad9cc5f3441630b2c4c4e07ad8136d32535700cece0a2eabad510f302ea60b&g=CCHZGAIENJBW&hdcore=3.5.0 -Pete |
Re: Adobe HDS DownloaderI figured it out... not all the fragments were available for the highest quality bitrate of that stream. So I used the next highest quality bitrate and it had all the fragments available.
|
Re: Adobe HDS DownloaderHi I tried to play manifest.f4m video in vlc..got this.
php AdobeHDS.php --manifest "http://staragvod1-vh.akamaihd.net/z/videos/plus/sns/1509/1000070501_,180,400,800,1300,2000,_STAR.mp4.csmil/manifest.f4m?hdnea=st=1446704006~exp=1446704606~ac l=/*~hmac=9463e3cf76e3d9d08f1773dd185e6046ac8c04e18d7 d991fa753986136c5a381&g=TJLPYOWLKHBG&hdcore=3.7.0& plugin=aasp-3.7.0.39.44" --delete --auth"hdntl=exp=1446790722~acl=%2f*~data=hdntl~hmac =7f3 42d5c916e7564cf300544067af902e15427e78e5c300c23fa1 9da67db8386&als=0,3,NaN,0,0,NaN,0,0,0,48,f,0,1259. 8,f,u,TJLPYOWLKHBG,3.7.0,48&hdcore=3.7.0&plugin=aa sp-3.7.0.39.44" --useragent "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0" --play | vlc --file-caching=10000 'vlc' is not a internal or external command. what is this mean? |
Re: Adobe HDS DownloaderQuote:
I believe it needs the whole path to vlc.exe, e.g. "C:\Program Files\VideoLAN\VLC\vlc.exe" |
Re: Adobe HDS DownloaderQuote:
hi https://github.com/K-S-V/Scripts/wiki maybe with --start and --duration options Code:
--start [param] start from specified fragment Code:
--duration [param] stop recording after specified number of seconds |
Re: Adobe HDS DownloaderQuote:
|
Re: Adobe HDS DownloaderHey guys, Trying to follow these steps, but I don't know where adobehds.php is located at. I'm trying to download form syfy's website. Any help?
|
Re: Adobe HDS DownloaderI would like to know whether or not current AdobeHDS.php is able to support swf verification?
|
All times are GMT -6. The time now is 02:39 PM. |