i am starting this new thread to continue previously deleted thread. you can ask AdobeHDS script related questions here instead of PM'ing me.
https://github.com/K-S-V/Scripts
Read wiki (https://github.com/K-S-V/Scripts/wiki) before asking any question.
https://github.com/K-S-V/Scripts/wiki
HDS Link Detector add-on for Firefox:
i have also written a pretty basic Firefox add-on to auto-detect HDS link and generate proper command line which you can simply paste in command prompt. whenever a link is detected it shows a notification which remains visible for few seconds. clicking on this notification will copy the generated command to clipboard. i have tested it with pluzz.fr, fora.tv, nrk.no and few other sites and it seems to work pretty well. though i have no intention to work on it any further it still serves as a good cross-platform helper tool to easily grab HDS videos. feedback welcome.
https://addons.mozilla.org/firefox/addon/hds-link-detector/
After installation it will show up in add-on bar (Ctrl + /). clicking the icon will enable or disable the link detection.
Changelog:
0.7.1
1. added the option to customize generated command line
2. make the add-on available in private mode
0.7.0
Minor fixes for compatibility with Firefox 40
0.6
Repackaged for compatibility with Firefox 22
0.5
fixed a regression in previous commit
0.4
validate manifest content
0.3
improved regex for better link detection
0.2
improved detection of set level manifest
0.1
initial public release
Stream Ripper
12-27-2012, 11:04 PM
Post stickied - thank you KSV
svnpenn
12-27-2012, 11:14 PM
@ Stream Ripper, do you care to explain why this very important thread is being repeatedly deleted? This is absolutely unacceptable, and even worse with no backups.
first post has been updated.
karlo2105
12-28-2012, 10:02 AM
@ Stream Ripper, do you care to explain why this very important thread is being repeatedly deleted? This is absolutely unacceptable, and even worse with no backups.
Something tells me it can't be a coincidence as this happened for a third time.
@KSV
I sent you PM about AdobeHDS delay bug, I hope you will be able to fix it. ;)
xandebarata
12-30-2012, 06:28 PM
KSV,
Is there a way to work around the auth that keeps constantly changing?
Im trying to download and after the package number 8 it seems that the access autentication change.
mucea
01-02-2013, 01:14 AM
@KSV
Great script. It works on pretty much any f4m out there, including the ones needing proxy. Under proxy, the stream has some lagging or buffering, which is expected, but overall it works. One of the most useful pieces of software in the field.
http://forums.boxoffice.com/public/style_emoticons/default/smiley-happy096.gif
Stream Ripper
01-03-2013, 10:36 PM
@ Stream Ripper, do you care to explain why this very important thread is being repeatedly deleted? This is absolutely unacceptable, and even worse with no backups.
Unfortunately, the thread was deleted with about 200 spam posts that came in that 24 hour period. We're taking measures to assure that doesn't happen again.
chanc
01-05-2013, 08:01 AM
when I tried to apply it to palemoon, it says not compatible with palemoon 15.3.2
davevad
01-12-2013, 11:30 AM
Hi All,
I have installed PHP and the Firefox extension. I get the link in my clipboard and run it from the command line, but all that happens is a lot of text flashes by and nothing downloads. I never see the "Adobe HDS" title or anything remotely resembling what I have seen in screenshots here.
Even just tried running "AdobeHDS.php --update" and it does not seem to do anything. So I tried adding "--debug 2 > debug.txt", the resulting debug.txt file is actually an html copy of the GitHub Scripts / AdobeHDS.php listing?
I am running PHP 5.4 on Win8. Any idea what I might be doing wrong?
Thanks,
Dave
gastone
01-12-2013, 04:21 PM
You use a copy of the webpage as AdobeHDS.php. You should look for the zip-link at https://github.com/K-S-V/Scripts.
dublin
01-14-2013, 05:55 AM
This is really nice piece of code. Thanks!
Any change you could add --header option so i could use "X-Forwarded-For" request header.
I sent you PM about AdobeHDS delay bug, I hope you will be able to fix it. ;)
unfortunately that particular stream server doesn't updates it's bootstrap info in timely manner so stream is few seconds behind than actual live stream.
KSV,
Is there a way to work around the auth that keeps constantly changing?
Im trying to download and after the package number 8 it seems that the access autentication change.
provide actual link to the stream with more details.
when I tried to apply it to palemoon, it says not compatible with palemoon 15.3.2
i have only tested it with Firefox 17 and above.
This is really nice piece of code. Thanks!
Any change you could add --header option so i could use "X-Forwarded-For" request header.
may be in some future update. for the time being you can just modify the script yourself.
function headers()
{
$headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
$headers[] = 'Connection: Keep-Alive';
$headers[] = 'X-Forwarded-For: 1.2.3.4';
return $headers;
}
dublin
01-14-2013, 07:58 AM
may be in some future update. for the time being you can just modify the script yourself.
function headers()
{
$headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
$headers[] = 'Connection: Keep-Alive';
$headers[] = 'X-Forwarded-For: 1.2.3.4';
return $headers;
}
Thanks! Now i can watch BBC streams without proxy or using privoxy to send x-forwarded-for header.
apeofgod
01-16-2013, 01:31 PM
php AdobeHDS.php --manifest "http://cdnvh20.cers.com.br/z/1686_120312_OAB_1_FASE_X_EXAME_D_AMBIENTAL_AULA_01 _Pt_III_OK.mp4/manifest.f4m?hdnea=st=1358367519~exp=1358367659~ac l=/*~id=aumd9k8ne4qo16g0qumh1deh76~hmac=96175f9b01449 c9520d4c2fb5c021f6da1270b621f44ecbae07a75d9fd662eb 5&hdcore=2.11.3&g=KHAPICXOXLKI" --delete --auth "pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a%7Edata %3DZXhwPTEzNTg0NTM5MjJ+YWNsPSUyZip+ZGF0YT1wdmMsc35 obWFjPWZmOGZhZmY2MDIwNzhiMjVkY2VmNmFjYmM0YjA5NzgwN 2I1M2ZkMWEyM2QzZmEyNjE4NGIzYzExYzYyMWVkYjA%3D%21s8 9x42iJxsXVhAOpg7fnHAzKts3OjahmXO+ITcZGShk%3D%7Ehma c%3D8C0DD78CE40ABFC6371C96C11991BEB7551F3A15EE9991 2415EE6A68359A21DB&hdntl=exp=1358453922~acl=%2f*~data=hdntl~hmac=51f2 a8933d6aeca90f6e36a5b6cd965c4dc39b2d013e17cf94441f 860216c7cd&als=0,0.1,0,0,0,NaN,0,0,0,29,f,0,1774.56,f,s,KHAPI CXOXLKI,2.11.3,29&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0"
Tried to download from www.cers.com.br and HDS Downloader give me an error:
Unknow packet type 11 encontered! Encriypted fragments can't be recovered.
Someone could help?
karlo2105
01-16-2013, 03:48 PM
You can't get as it's encrypted with DRM.
chanc
01-19-2013, 08:28 AM
How could you make it , watch bbc without using a proxy, while still not in GB?
Can you share your way with me ?
dublin
01-24-2013, 02:50 AM
How could you make it , watch bbc without using a proxy, while still not in GB?
Can you share your way with me ?
1. Open AdobeHDS.php with any text editor.
2. Add following line:
$headers[] = 'X-Forwarded-For: 1.2.3.4';
3. Replace 1.2.3.4 with any UK ip address.
4. Save. That's it.
Locabv
01-26-2013, 10:40 AM
You can't get as it's encrypted with DRM.
How to download files encrypted with DRM?
chanc
01-27-2013, 04:04 AM
1. Open AdobeHDS.php with any text editor.
2. Add following line:
$headers[] = 'X-Forwarded-For: 1.2.3.4';
3. Replace 1.2.3.4 with any UK ip address.
4. Save. That's it.
I need more help with the steps following those four mentioned above.
My operate system is winxp.
so ,what need I do next , after putting the code in to Adobehds.php ?
dublin
01-27-2013, 06:06 AM
I need more help with the steps following those four mentioned above.
My operate system is winxp.
so ,what need I do next , after putting the code in to Adobehds.php ?
wiki should answer any questions you have.
https://github.com/K-S-V/Scripts/wiki
chanc
01-28-2013, 12:56 AM
I am able to download videos by using adobehds .php, but I have no clue to watch bbc with it.
The wiki tells how to get videos and even says how to play the video with a certain player. But how can I use it to watch iplayer from BBC on the iplayer site ?
I have no clue.
Please help me .
I need a step-by-step guide.
dublin
01-28-2013, 06:05 AM
But how can I use it to watch iplayer from BBC on the iplayer site ?
I'm not quite sure i understand you correctly...You want to watch stream with iplayer/in iplayer site? This script won't help you with that. The whole point of this script is download and/or watch bbc streams with external player (e.g. VLC player). If you want to watch stream on the BBC site, just use UK proxy or VPN.
Here's example how to watch BBC One with VLC:
http://pastebin.com/H5YhRHhn
coolboy
01-28-2013, 11:52 AM
Hi!
I've read the wiki but I'm still stucked.
I have installed php, gone to cmd and wrote php-v. Then I used the plugin on firefox and pasted it.
There were many code letters passing at an enourmous speed and it end with some ajax error. I've pasted a screenshot.
Below is the code the addin gave me:
php AdobeHDS.php --manifest "http://absassets.ign.com/z/assets.ign.com/videos/zencoder/,640/ae0054e5051caaf4bd2a170343d8f9cb-500000,640/ae0054e5051caaf4bd2a170343d8f9cb-1000000,960/ae0054e5051caaf4bd2a170343d8f9cb-2500000,1280/ae0054e5051caaf4bd2a170343d8f9cb-3000000,-1358513998-w.mp4.csmil/manifest.f4m?hdcore&b=800-" --delete
and attached the screenshot. Anyone can help me?
http://s8.postimage.org/pbfk3co6p/php.jpg (http://postimage.org/image/pbfk3co6p/)
Thanks for your time and attention
Yours faithfully
coolboy
@coolboy
you have downloaded the html page showing the script instead of script itself. click the raw button (https://github.com/K-S-V/Scripts/blob/master/AdobeHDS.php) before saving script or just download the zip (https://github.com/K-S-V/Scripts/archive/master.zip) file.
coolboy
01-28-2013, 03:42 PM
@coolboy
you have downloaded the html page showing the script instead of script itself. click the raw button (https://github.com/K-S-V/Scripts/blob/master/AdobeHDS.php) before saving script or just download the zip (https://github.com/K-S-V/Scripts/archive/master.zip) file.
Thanks for the help.
Now it says the curl extension is not installed!
I've attached the php.ini file.
Thanks
@coolboy
Have you even followed the wiki section named installing php for dummies (https://github.com/K-S-V/Scripts/wiki)?
coolboy
01-29-2013, 02:28 AM
@coolboy
Have you even followed the wiki section named installing php for dummies (https://github.com/K-S-V/Scripts/wiki)?
Thank you KVS. It was just following the tutorial (I thought it was correctly installed) - like I'm a newbie but I thought not "that newbie" :)
The link for the download of php was broken, so I've used the http://fossies.org/windows/www/php-5.4.11-Win32-VC9-x86.zip/ instead.
Thank you very much - it's a super fast app :)
Best regards
coolboy
chanc
01-29-2013, 07:26 AM
Here's example how to watch BBC One with VLC:
http://pastebin.com/H5YhRHhn
By studying the example given, I got it. Thank you very much.
But how can I get the url ended with .f4m ?
When I go to bbc iplayer, and press the play button, the web console of firefox finds no link like that.
dublin
01-29-2013, 09:56 AM
But how can I get the url ended with .f4m ?
When I go to bbc iplayer, and press the play button, the web console of firefox finds no link like that.
Use 'URL snooper' to obtain f4m manifest files. Also, if you are outside UK you'll need UK proxy.
chanc
01-29-2013, 05:52 PM
Use 'URL snooper' to obtain f4m manifest files. Also, if you are outside UK you'll need UK proxy.
Thanks a million for your generous help.
I went to
http://www.bbc.co.uk/iplayer/episode/b01qbz9k/Lost_Kingdoms_of_South_America_Lands_of_Gold/
And I got two links concerning media
http://www.bbc.co.uk/mediaselector/4/mtis/stream/p00pvbh0
http://www.bbc.co.uk/mediaselector/4/mtis/stream/b01qbylx
Opened it up, I got something like :
<mediaSelection><!--This code and data form part of the BBC iPlayer content protection system. Tampering with, removal of, misuse of, or unauthorised use of this code or data constitutes circumvention of the BBC's content protection measures and may result in legal action. BBC (C) 2012.--><media bitrate="276" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="176" kind="video" media_file_size="101112702" service="iplayer_streaming_n95_wifi" type="video/mp4" width="320"><connection href="http://3gp-acl.bbc.co.uk/sdpgen/3gpclip/iPlayer/prod_3gp_mpeg4_med/wifi_Lost_Kingdoms_of_South_America_Episode_3_b01q bylx_1359407568.mp4" identifier="sdpgen/3gpclip/iPlayer/prod_3gp_mpeg4_med/wifi_Lost_Kingdoms_of_South_America_Episode_3_b01q bylx_1359407568.mp4" kind="sis" priority="5" protocol="http" server="http://3gp-acl.bbc.co.uk" supplier="sis"/></media><media bitrate="480" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="360" kind="video" media_file_size="198046527" service="iplayer_streaming_h264_flv_lo" type="video/mp4" width="640"><connection application="ondemand" authExpires="2013-01-30T02:05:04+00:00" authString="auth=daEaFbqcZbBaFb3a9dhbvahafc8d.bmaFaC-brcgPX-bWG-CorFBoDnGCsEozJ&aifp=v001&slist=secure/480kbps/MP/b01qbylx_1359407568.mp4;secure/1500kbps/MP/b01qbylx_1359407261.mp4;secure/800kbps/MP/b01qbylx_1359407568.mp4;secure/400kbps/b01qbylx_1359407568.mp4" identifier="mp4:secure/480kbps/MP/b01qbylx_1359407568.mp4" kind="akamai" priority="5" protocol="rtmp" server="cp41752.edgefcs.net" supplier="akamai"/><connection application="a1414/e3" authExpires="2013-01-30T02:19:50+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4,iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4&et=1359513233&fmta-token=1321971c183e025ab502ee11c22c97e4ce067b49839b 78a5af5f7c8dc914e434" dpw="60" identifier="mp4:iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4" kind="limelight" priority="10" protocol="rtmp" server="bbcmedia.fcod.llnwd.net" supplier="limelight"/></media><media expires="2013-02-11T21:59:00+00:00" kind="captions" media_file_size="106499" service="captions" type="application/ttaf+xml"><connection href="http://www.bbc.co.uk/iplayer/subtitles/ng/l/x/b01qbylx_1359394114.xml" identifier="ng/l/x/b01qbylx_1359394114.xml" kind="http" priority="10" protocol="http" server="http://www.bbc.co.uk/iplayer/subtitles/" supplier="sis"/></media><media bitrate="1500" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="468" kind="video" media_file_size="664536158" service="iplayer_streaming_h264_flv_high" type="video/mp4" width="832"><connection authExpires="2013-01-30T02:05:04+00:00" authString="auth=daEaFbqcZbBaFb3a9dhbvahafc8d.bmaFaC-brcgPX-bWG-CorFBoDnGCsEozJ&aifp=v001&slist=secure/480kbps/MP/b01qbylx_1359407568.mp4;secure/1500kbps/MP/b01qbylx_1359407261.mp4;secure/800kbps/MP/b01qbylx_1359407568.mp4;secure/400kbps/b01qbylx_1359407568.mp4" identifier="mp4:secure/1500kbps/MP/b01qbylx_1359407261.mp4" kind="akamai" priority="5" protocol="rtmp" server="cp41752.edgefcs.net" supplier="akamai"/><connection application="a1414/e3" authExpires="2013-01-30T02:19:50+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4,iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4&et=1359513233&fmta-token=1321971c183e025ab502ee11c22c97e4ce067b49839b 78a5af5f7c8dc914e434" dpw="60" identifier="mp4:iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4" kind="limelight" priority="10" protocol="rtmp" server="bbcmedia.fcod.llnwd.net" supplier="limelight"/></media><media bitrate="796" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="360" kind="video" media_file_size="352773965" service="iplayer_streaming_h264_flv" type="video/mp4" width="640"><connection authExpires="2013-01-30T02:05:04+00:00" authString="auth=daEaFbqcZbBaFb3a9dhbvahafc8d.bmaFaC-brcgPX-bWG-CorFBoDnGCsEozJ&aifp=v001&slist=secure/480kbps/MP/b01qbylx_1359407568.mp4;secure/1500kbps/MP/b01qbylx_1359407261.mp4;secure/800kbps/MP/b01qbylx_1359407568.mp4;secure/400kbps/b01qbylx_1359407568.mp4" identifier="mp4:secure/800kbps/MP/b01qbylx_1359407568.mp4" kind="akamai" priority="5" protocol="rtmp" server="cp41752.edgefcs.net" supplier="akamai"/><connection application="a1414/e3" authExpires="2013-01-30T02:19:50+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4,iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4&et=1359513233&fmta-token=1321971c183e025ab502ee11c22c97e4ce067b49839b 78a5af5f7c8dc914e434" dpw="60" identifier="mp4:iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4" kind="limelight" priority="10" protocol="rtmp" server="bbcmedia.fcod.llnwd.net" supplier="limelight"/></media><media bitrate="396" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="224" kind="video" media_file_size="160819264" service="iplayer_streaming_h264_flv_vlo" type="video/mp4" width="400"><connection application="ondemand" authExpires="2013-01-30T02:05:04+00:00" authString="auth=daEaFbqcZbBaFb3a9dhbvahafc8d.bmaFaC-brcgPX-bWG-CorFBoDnGCsEozJ&aifp=v001&slist=secure/480kbps/MP/b01qbylx_1359407568.mp4;secure/1500kbps/MP/b01qbylx_1359407261.mp4;secure/800kbps/MP/b01qbylx_1359407568.mp4;secure/400kbps/b01qbylx_1359407568.mp4" identifier="mp4:secure/400kbps/b01qbylx_1359407568.mp4" kind="akamai" priority="5" protocol="rtmp" server="cp41752.edgefcs.net" supplier="akamai"/><connection application="a1414/e3" authExpires="2013-01-30T02:19:50+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4,iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4&et=1359513233&fmta-token=1321971c183e025ab502ee11c22c97e4ce067b49839b 78a5af5f7c8dc914e434" dpw="60" identifier="mp4:iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4" kind="limelight" priority="10" protocol="rtmp" server="bbcmedia.fcod.lln
All these links are of mp4, nothing indicates .f4m.
Where can I find the correct link ?
chanc
01-29-2013, 07:40 PM
@coolboy
you have downloaded the html page showing the script instead of script itself. click the raw button (https://github.com/K-S-V/Scripts/blob/master/AdobeHDS.php) before saving script or just download the zip (https://github.com/K-S-V/Scripts/archive/master.zip) file.
Do I have anything wrong with the installation ?
C:\Documents and Settings\Administrator>php -v
PHP 5.4.11 (cli) (built: Jan 16 2013 20:26:43)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
C:\Documents and Settings\Administrator>php AdobeHDS.php --manifest "http://stre
am.fora.tv/h12084/2011-09-22_kirshembaum_FORAcast-4x3-384kbps-12084.f4m" --delet
e
Could not open input file: AdobeHDS.php
dublin
01-30-2013, 04:56 AM
All these links are of mp4, nothing indicates .f4m.
Where can I find the correct link ?
Well it seems that iPlayer Ondemand videos are not using adaptive streaming. So you must use rtmpdump to donwload those files. :(
But no worries here's how-to example:
http://pastebin.com/8Tfpwgsx
If that seems too complicated use RTMPExploreX to download.
https://github.com/andr3jx/RTMPExploreX
Edit:
Do I have anything wrong with the installation ?
C:\Documents and Settings\Administrator>php AdobeHDS.php --manifest "http://stream.fora.tv/h12084/2011-09-22_kirshembaum_FORAcast-4x3-384kbps-12084.f4m" --delete
Could not open input file: AdobeHDS.php
I'm guessing AdobeHDS.php is not in C:\Documents and Settings\Administrator> folder....?
theDirtyDuB
02-03-2013, 03:21 AM
Thanks a million for your generous help.
I went to
http://www.bbc.co.uk/iplayer/episode/b01qbz9k/Lost_Kingdoms_of_South_America_Lands_of_Gold/
And I got two links concerning media
http://www.bbc.co.uk/mediaselector/4/mtis/stream/p00pvbh0
http://www.bbc.co.uk/mediaselector/4/mtis/stream/b01qbylx
Opened it up, I got something like :
<mediaSelection><!--This code and data form part of the BBC iPlayer content protection system. Tampering with, removal of, misuse of, or unauthorised use of this code or data constitutes circumvention of the BBC's content protection measures and may result in legal action. BBC (C) 2012.--><media bitrate="276" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="176" kind="video" media_file_size="101112702" service="iplayer_streaming_n95_wifi" type="video/mp4" width="320"><connection href="http://3gp-acl.bbc.co.uk/sdpgen/3gpclip/iPlayer/prod_3gp_mpeg4_med/wifi_Lost_Kingdoms_of_South_America_Episode_3_b01q bylx_1359407568.mp4" identifier="sdpgen/3gpclip/iPlayer/prod_3gp_mpeg4_med/wifi_Lost_Kingdoms_of_South_America_Episode_3_b01q bylx_1359407568.mp4" kind="sis" priority="5" protocol="http" server="http://3gp-acl.bbc.co.uk" supplier="sis"/></media><media bitrate="480" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="360" kind="video" media_file_size="198046527" service="iplayer_streaming_h264_flv_lo" type="video/mp4" width="640"><connection application="ondemand" authExpires="2013-01-30T02:05:04+00:00" authString="auth=daEaFbqcZbBaFb3a9dhbvahafc8d.bmaFaC-brcgPX-bWG-CorFBoDnGCsEozJ&aifp=v001&slist=secure/480kbps/MP/b01qbylx_1359407568.mp4;secure/1500kbps/MP/b01qbylx_1359407261.mp4;secure/800kbps/MP/b01qbylx_1359407568.mp4;secure/400kbps/b01qbylx_1359407568.mp4" identifier="mp4:secure/480kbps/MP/b01qbylx_1359407568.mp4" kind="akamai" priority="5" protocol="rtmp" server="cp41752.edgefcs.net" supplier="akamai"/><connection application="a1414/e3" authExpires="2013-01-30T02:19:50+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4,iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4&et=1359513233&fmta-token=1321971c183e025ab502ee11c22c97e4ce067b49839b 78a5af5f7c8dc914e434" dpw="60" identifier="mp4:iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4" kind="limelight" priority="10" protocol="rtmp" server="bbcmedia.fcod.llnwd.net" supplier="limelight"/></media><media expires="2013-02-11T21:59:00+00:00" kind="captions" media_file_size="106499" service="captions" type="application/ttaf+xml"><connection href="http://www.bbc.co.uk/iplayer/subtitles/ng/l/x/b01qbylx_1359394114.xml" identifier="ng/l/x/b01qbylx_1359394114.xml" kind="http" priority="10" protocol="http" server="http://www.bbc.co.uk/iplayer/subtitles/" supplier="sis"/></media><media bitrate="1500" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="468" kind="video" media_file_size="664536158" service="iplayer_streaming_h264_flv_high" type="video/mp4" width="832"><connection authExpires="2013-01-30T02:05:04+00:00" authString="auth=daEaFbqcZbBaFb3a9dhbvahafc8d.bmaFaC-brcgPX-bWG-CorFBoDnGCsEozJ&aifp=v001&slist=secure/480kbps/MP/b01qbylx_1359407568.mp4;secure/1500kbps/MP/b01qbylx_1359407261.mp4;secure/800kbps/MP/b01qbylx_1359407568.mp4;secure/400kbps/b01qbylx_1359407568.mp4" identifier="mp4:secure/1500kbps/MP/b01qbylx_1359407261.mp4" kind="akamai" priority="5" protocol="rtmp" server="cp41752.edgefcs.net" supplier="akamai"/><connection application="a1414/e3" authExpires="2013-01-30T02:19:50+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4,iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4&et=1359513233&fmta-token=1321971c183e025ab502ee11c22c97e4ce067b49839b 78a5af5f7c8dc914e434" dpw="60" identifier="mp4:iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4" kind="limelight" priority="10" protocol="rtmp" server="bbcmedia.fcod.llnwd.net" supplier="limelight"/></media><media bitrate="796" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="360" kind="video" media_file_size="352773965" service="iplayer_streaming_h264_flv" type="video/mp4" width="640"><connection authExpires="2013-01-30T02:05:04+00:00" authString="auth=daEaFbqcZbBaFb3a9dhbvahafc8d.bmaFaC-brcgPX-bWG-CorFBoDnGCsEozJ&aifp=v001&slist=secure/480kbps/MP/b01qbylx_1359407568.mp4;secure/1500kbps/MP/b01qbylx_1359407261.mp4;secure/800kbps/MP/b01qbylx_1359407568.mp4;secure/400kbps/b01qbylx_1359407568.mp4" identifier="mp4:secure/800kbps/MP/b01qbylx_1359407568.mp4" kind="akamai" priority="5" protocol="rtmp" server="cp41752.edgefcs.net" supplier="akamai"/><connection application="a1414/e3" authExpires="2013-01-30T02:19:50+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4,iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4&et=1359513233&fmta-token=1321971c183e025ab502ee11c22c97e4ce067b49839b 78a5af5f7c8dc914e434" dpw="60" identifier="mp4:iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4" kind="limelight" priority="10" protocol="rtmp" server="bbcmedia.fcod.llnwd.net" supplier="limelight"/></media><media bitrate="396" encoding="h264" expires="2013-02-11T21:59:00+00:00" height="224" kind="video" media_file_size="160819264" service="iplayer_streaming_h264_flv_vlo" type="video/mp4" width="400"><connection application="ondemand" authExpires="2013-01-30T02:05:04+00:00" authString="auth=daEaFbqcZbBaFb3a9dhbvahafc8d.bmaFaC-brcgPX-bWG-CorFBoDnGCsEozJ&aifp=v001&slist=secure/480kbps/MP/b01qbylx_1359407568.mp4;secure/1500kbps/MP/b01qbylx_1359407261.mp4;secure/800kbps/MP/b01qbylx_1359407568.mp4;secure/400kbps/b01qbylx_1359407568.mp4" identifier="mp4:secure/400kbps/b01qbylx_1359407568.mp4" kind="akamai" priority="5" protocol="rtmp" server="cp41752.edgefcs.net" supplier="akamai"/><connection application="a1414/e3" authExpires="2013-01-30T02:19:50+00:00" authString="as=adobe-hmac-sha256&av=1&te=connect&mp=iplayerstream/secure_auth/480kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/1500kbps/MP/b01qbylx_1359407261.mp4,iplayerstream/secure_auth/800kbps/MP/b01qbylx_1359407568.mp4,iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4&et=1359513233&fmta-token=1321971c183e025ab502ee11c22c97e4ce067b49839b 78a5af5f7c8dc914e434" dpw="60" identifier="mp4:iplayerstream/secure_auth/400kbps/b01qbylx_1359407568.mp4" kind="limelight" priority="10" protocol="rtmp" server="bbcmedia.fcod.lln
All these links are of mp4, nothing indicates .f4m.
Where can I find the correct link ?
I am also having similar issues. I do not quite understand how to create/access/obtain the manifest file. i would like to restream the link that is caputured with the HDS Detector. where do i find this? I have been able to dl the file to my HDD and would like to now know how streaming is possible. thank you.
Hi KSV,
what tools do you need to try to break the encryption of HDS? I may give it a try.
I feel that it is important to enable playback on platforms without flash (FreeBSD etc.)
What´s the problem? What is wrong?
C:\PHP>php AdobeHDS.php --manifest "http://cdnvh20.cers.com.br/z/1463_10041
_2012_PRIMEIROS_SOCORROS_AULA_01_Pt_III_OK.mp4/manifest.f4m?hdnea=st=136016
exp=1360163346~acl=/*~id=8cuotac0im3usjhf8v565a33j1~hmac=31adb9e4ea563 6dfde
7a85720dde9b28476513ab92e69b6bdf31cfd58a0&hdcore=2.11.3&g=IQUNDDNNQMLY" --d
--auth "pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a%7Edata %3DZXhwPTEzNjAyN
h+YWNsPSUyZip+ZGF0YT1wdmMsc35obWFjPWYwY2IzOGU1NGY3 YzE0YWFkZTkyOTAyNGIzZjBkM
EwNTE1OGRlNzI2ZTJkYzkyNzY3NDQ3MWQ0NWQ2NDI%3D%21s89 x42iJxsXVhAOpg7fnHAzKts3O
O+ITcZGShk%3D%7Ehmac%3D3BD16436F381F123D9F441BB987 1CAA9E187F6B60208C6C62733
E9BDD3A&hdntl=exp=1360249608~acl=%2f*~data=hdntl~hmac=729c e7e368f503c375ded
1c3dbede1c621d5fc9f53c9ee06b4c1c5c5166&als=0,0.1,0,0,0,NaN,0,0,0,28,f,0,217
f,s,IQUNDDNNQMLY,2.11.3,28&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows
.2; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0"
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 308
Selected : 308
Unknown packet type 11 encountered! Encrypted fragments can't be recovered.
karlo2105
02-06-2013, 05:13 PM
@ont
Video is encrypted with DRM, you can't decode it without specific key.
GtbpyQgB
02-06-2013, 09:20 PM
How do I download the following video:
Video Direct link:
http://www.nrk.no/embed/PS*93936
Video Embedded:
http://www.nrk.no/nyheter/verden/1.10889437
I have tested Adobe HDS Downloader but dont got any access to the file even I see the manifest(.f4m), the video extension and the "Seg" inside the links:
[05:16:44.309] GET http://nrkclip3c-f.akamaihd.net/z/wo/open/b3/b3b9ad4bee6d0fc801f5ad56687708f38833ae63/b3b9ad4bee6d0fc801f5ad56687708f38833ae63_,141,316, 563,1266,2250,.mp4.csmil/manifest.f4m?hdcore=2.11.3&g=LWTEUZLARMDH [HTTP/1.0 200 OK 158ms]
------------------------------------------------------------------------
http://nrkclip3c-f.akamaihd.net/z/wo/open/b3/b3b9ad4bee6d0fc801f5ad56687708f38833ae63/b3b9ad4bee6d0fc801f5ad56687708f38833ae63_,141,316, 563,1266,2250,.mp4.csmil/3_ff872347d3c4987d_Seg1-Frag1?als=0,0.1,0,3,0,NaN,0,0,0,29,f,0,31.81,f,s,L WTEUZLARMDH,2.11.3,29&hdcore=2.11.3
Would anyone test it for me to so I'am 100% sure it wont work ?
Would anyone test it for me to so I'am 100% sure it wont work?
Have you even read the first post or wiki (https://github.com/K-S-V/Scripts/wiki)?
php AdobeHDS.php --manifest "http://nrkclip3c-f.akamaihd.net/z/wo/open/b3/b3b9ad4bee6d0fc801f5ad56687708f38833ae63/b3b9ad4bee6d0fc801f5ad56687708f38833ae63_,141,316, 563,1266,2250,.mp4.csmil/manifest.f4m?hdcore=2.11.3&g=THURWHPRNYNI" --delete --auth "als=0,0.1,0,3,0,NaN,0,0,0,41,f,0,31.81,f,s,THURWHP RNYNI,2.11.3,41&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 5.1; rv:18.0) Gecko/20100101 Firefox/18.0"
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 2381 1406 711 387 213
Selected : 2381
Downloading 5/5 fragments
Found 5 fragments
Finished
@IV
following is the info i posted long ago in now deleted thread. This is only related to custom encryption used by Akamai CDN (Packet type 10 & 11) not FlashAccess DRM (Packet type 40 & 41).
==========
I am just posting it publicly. this info is based on actual reversing i tried few months ago. global key is different for each session. SessionID and KeyUrl are not of much relevance because they are only used to retrieve GlobalKey. mysterious salt block in each packet header can be broken into 4 different blocks. first was always 01 and third block was always all zeros.
SessionID: 010075cd3e8441c5f40f4427ae4f93e8b2b00a1b6740eda2fd 0049958d1532318bd1423ec94a2c3f4074ede220dd615b9d58 8f6ad1ef
GlobalKey: acfab40e035ee120520fc77d1e532c20
FirstTag:
Header: 0c000000004fae27440000ffff IV: e7b25c7a1d67280a8681ba4314e1e66d KeyUrl: /z/0809/20090106_1_dvorak_slavonic-dance/h264_high_,0700,1100,1500,2000,2500,.mp4.csmil/key_AQB1zT6EQcX0D0Qnrk+T6LKwDRtnQO2i%2fQBJlY0VMjGL 0UI+yUosP0B07eIg3WFbnViPatHv
Salt?: 01 b7199175c7c7dbea80f9eda39a5b6b0abf2b17dac035636c66 67331243aefdec 0000000000000000000000000000000000000000 dc11391dd7c0211c95c3c1e597665f850f01d2c0
EncryptedBlock: 2df9494fdac3355db2cb942258641fe0 2709b1ec662e8897bf78ad0acf14184b e5c7e47f9e95d918bd6dad1560f2c6a2 31c1da18311e01000568e98d3525
DecryptedVideoFrame: 170000000001640028ffe10029676400 28ac2ca703c045fbc05a808080a00000 0300200000065c1400186a0000e4e17e 31c1da18311e01000568e98d3525
SecondTag:
Header: 0c000000004fae27440000fffb IV: e7b25c7a1d67280a8681ba4314e1e66d
Salt?: 01 25bfbacb92b3c6b837ca6a47ef20a8a77defbc631124bfa5b5 e6b2cc0c58fe6d 0000000000000000000000000000000000000000 46d3344f230830a040d4fc6d3751f6ff83f8cbea
EncryptedBlock: af0011900000
DecryptedAudioFrame: af0011900000
Encryption scheme used is AES-128-CBC. i couldn't figure out the KDF (key derivation function) used to derive individual packet decryption key from global key using the salt block as shown above. KDF function is executed inside Alchemy VM (a method used to execute c code from ActionScript VM) which makes it very hard to reverse engineer from disassembled code.
==========
GtbpyQgB
02-07-2013, 07:44 AM
Have you even read the first post or wiki (https://github.com/K-S-V/Scripts/wiki)?
Yes, I had read your wiki or else I would not have mentioned this in my first post
"manifest(.f4m), the video extension and the "Seg" inside the links"
I even installed Firefox extension: "HDS link detector 03" and did everything manually in the wiki but it was late so I must have slipped somehow because I did not get it to work!
Thanks to you I tried once more and now it works :D
I wish I could have helped you with the reversing of "Akamai CDN (Packet type 10 & 11)" but my knowledge is far behind you!
However, it could be interesting to know an similar example with all the links where these information is getting from so people is able to compare and see how it is captured out from the links.
Anyway, thanks I hope you continue to develop your highly appreciated work ;)
A minor update for hds addon added to first post.
TorresRJ
02-15-2013, 10:38 AM
Hey Guys.
Can someone help me to download this video?
Manifest: http://cdnvh20.cers.com.br/z/1791_013013_COMECANDO_DO_ZERO_D_CIVIL_AULA_01_Pt_I _OK.mp4/manifest.f4m?hdnea=st=1360944412~exp=1360944552~ac l=/*~id=u00knms4hn2k3qrjok9rkg4r70~hmac=15c39bfcdaee9 653a51cd19e11460899e25bb1ecdfabefa954896e35a8b5310 2&hdcore=2.11.3&g=UDWSQBNHSMBB
Useragent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0
seg1-frag1: http://cdnvh20.cers.com.br/z/1791_013013_COMECANDO_DO_ZERO_D_CIVIL_AULA_01_Pt_I _OK.mp4/0_ff872347d3c4987d_Seg1-Frag1?pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a% 7Edata%3DZXhwPTEzNjEwMzA4MTZ+YWNsPSUyZip+ZGF0YT1wd mMsc35obWFjPWQ1MjVmYjliY2QwYWJiMjA5NzY2NDhjYjIxNDY zYzU2YTRiZGNiYmU2YjNmYTA2ZDI3MmU0ZjJmZmYyYzI0Zjc%3 D%21s89x42iJxsXVhAOpg7fnHAzKts3OjahmXO+ITcZGShk%3D %7Ehmac%3D78BA2D74E3BA231C9DE77F1BD9AEA34A89EB1BC9 6AE1711EBE144300E07914D3&hdntl=exp=1361030816~acl=%2f*~data=hdntl~hmac=3cac 303acdc1018e60f7c1388cdf439c6b642cf7d14cbd53173664 cfcad92bce&als=0,0.1,0,0,0,NaN,0,0,0,28,f,0,1811.02,f,s,UDWSQ BNHSMBB,2.11.3,28&hdcore=2.11.3
The message in the end is "Acess Denied! Unable to Download the manifest"
Thanks in advance,
TorresRJ.
c:\PHP>php adobehds.php --manifest "http://cdnvh20.cers.com.br/z/1791_013013_COMECANDO_DO_ZERO_D_CIVIL_AULA_01_Pt_I _OK.mp4/manifest.f4m?hdnea=st=1360944412~exp=1360944552~ac l=/*~id=u00knms4hn2k3qrjok9rkg4r70~hmac=15c39bfcdaee9 653a51cd19e11460899e25bb1ecdfabefa954896e35a8b5310 2&hdcore=2.11.3&g=UDWSQBNHSMBB" --auth "pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a%7Edata %3DZXhwPTEzNjEwMzA4MTZ+YWNsPSUyZip+ZGF0YT1wdmMsc35 obWFjPWQ1MjVmYjliY2QwYWJiMjA5NzY2NDhjYjIxNDYzYzU2Y TRiZGNiYmU2YjNmYTA2ZDI3MmU0ZjJmZmYyYzI0Zjc%3D%21s8 9x42iJxsXVhAOpg7fnHAzKts3OjahmXO+ITcZGShk%3D%7Ehma c%3D78BA2D74E3BA231C9DE77F1BD9AEA34A89EB1BC96AE171 1EBE144300E07914D3&hdntl=exp=1361030816~acl=%2f*~data=hdntl~hmac=3cac 303acdc1018e60f7c1388cdf439c6b642cf7d14cbd53173664 cfcad92bce&als=0,0.1,0,0,0,NaN,0,0,0,28,f,0,1811.02,f,s,UDWSQ BNHSMBB,2.11.3,28&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0" --delete
KSV Adobe HDS Downloader
Processing manifest info....
Access Denied! Unable to download the manifest.
@TorresRJ
Most probably manifest link is valid only for few seconds. so try to use it quickly and also using the add-on is recommended to generate proper command line.
@all
i have also uploaded the latest add-on version to official add-on website.
https://addons.mozilla.org/en-US/firefox/addon/hds-link-detector/
TorresRJ
02-16-2013, 11:57 AM
@KSV
I think we're on the right way! Copying and pasting the manifest as fast as I could, I managed to download 8 frags of the video.
Unfortunately after the download has started it stopped and I received the following message: "Unknown packet type 11 encountered! Encrypted fragments can not be recovered."
Do you have any tips to solve this problem, or that video really can not be downloaded?
If you have some time, patience and interest I can give you the website, my login and password so you try to download that video.
I noticed that the manifest changes everytime. For exemple:
Access 1
http://cdnvh20.cers.com.br/z/1791_013013_COMECANDO_DO_ZERO_D_CIVIL_AULA_01_Pt_I _OK.mp4/manifest.f4m?hdnea=st=1361035445~exp=1361035585~ac l=/*~id=8qvhhcflh8kk1heh5or0dtnqi3~hmac=748e3591cc177 46d3f8d37a1fe34456c1aea4116c3bf15396f3e691c1209583 e&hdcore=2.11.3&g=MTKSKNGJCDLB
Access 2
http://cdnvh20.cers.com.br/z/1791_013013_COMECANDO_DO_ZERO_D_CIVIL_AULA_01_Pt_I _OK.mp4/manifest.f4m?hdnea=st=1361035839~exp=1361035979~ac l=/*~id=8qvhhcflh8kk1heh5or0dtnqi3~hmac=0f18a6275db69 eb213a391c163e56f6a883f4fcdaf48a19efe3c8efbc3fc6bd 9&hdcore=2.11.3&g=NCFQJIJAPILU
Access 3
http://cdnvh20.cers.com.br/z/1791_013013_COMECANDO_DO_ZERO_D_CIVIL_AULA_01_Pt_I _OK.mp4/manifest.f4m?hdnea=st=1361036108~exp=1361036248~ac l=/*~id=8qvhhcflh8kk1heh5or0dtnqi3~hmac=0975d1e8799e6 9945c697ee3ab37ad896c7a76e5e573519d656abcdd574130c 1&hdcore=2.11.3&g=TJLIHJWYSQCE
You have to be fast to paste the manifest in cmd or will not be allowed to download. But as I said, a few fragments after the download is canceled.
212eta
02-16-2013, 12:33 PM
@KSV
I'd like to THANK! you for the HDS Link Detector (https://addons.mozilla.org/en-US/firefox/addon/hds-link-detector/) Firefox add-on!
By using the above add-on and your Instructions (https://github.com/K-S-V/Scripts/wiki) , I managed to download
THIS (http://calgary.ctvnews.ca/video?clipId=855494&playlistId=1.1137363&binId=1.820591&playlistPageNum=1) Video!!!
TorresRJ
02-16-2013, 03:29 PM
I managed to download all 302 fragments of my video.
For this I used the code --parallel 302.
With 302 downloads in progress I was able to download several parts, but whenever I reached a certain point I got the message: "Unknown packet type 11 encountered! Encrypted fragments can not be recovered." At the end I found that whenever the file containing the fragment 1 (Frag1-seg-1) was present in the download directory I received the above message.
Now I have all the pieces, but the script not joined into one. Is there any command to do that?
Thanks!
TorresRJ
02-16-2013, 05:34 PM
I used the code --rename to try to unite all the fragments.
Unfortunately I received the following message "Unknown packet type 11 encountered! Encrypted fragments can not be recovered."
Any ideas to solve this fight?
c:\PHP>php AdobeHDS.php "7c6434dac5180ea97b744cb8107a5c9f_0_ff872347d3c4987 d_Seg
1-Frag" --rename
KSV Adobe HDS Downloader
Found 302 fragments
Unknown packet type 11 encountered! Encrypted fragments can't be recovered.
@TorresRJ
it has nothing to do with number of fragments downloaded. isn't error message clear enough?
Unknown packet type 11 encountered! Encrypted fragments can't be recovered.
This stream is protected with DRM and this script doesn't support such encrypted streams.
TorresRJ
02-18-2013, 10:15 AM
@KSV
Ok, thanks for all your patience and help.
DriveBR
02-19-2013, 01:52 PM
@KSV
Is there any way to download videos protected by DRM?
Thank you!
Is there any way to download videos protected by DRM?
None i am aware of.
DriveBR
02-20-2013, 09:47 AM
ok! Thank you....Now, wait for it!
comando
02-21-2013, 06:49 PM
I'm trying to download a video, using Adobe HDS Downloader, but when I run the commands on prompt, it shows the following message: KSV Adobe HDS Downloader --- You don't have "curl" extension installed. please install it before continuing" Please, does anyone know how to solve it ? Thank you very much.
GtbpyQgB
02-21-2013, 07:36 PM
I'm trying to download a video, using Adobe HDS Downloader, but when I run the commands on prompt, it shows the following message: KSV Adobe HDS Downloader --- You don't have "curl" extension installed. please install it before continuing" Please, does anyone know how to solve it ? Thank you very much.
Probably something wrong with your PHP settings:
Take a look at the following tutorials and learn how to install a full version of PHP:
http://www.premiumwebbloghosting.com/2012/03/how-to-install-php-on-windows-7.html
or
http://www.vbforums.com/showthread.php?651571-Installing-PHP-5.3-and-Apache-HTTP-Server-on-Windows-7
Or you can search Youtube or google for other videoes by searchword "install PHP" in search field, to find one that fit your need.
Remember to puth your PHP directory into path
Hope this helps :)
does anyone know how to solve it ?
How about reading the wiki (https://github.com/K-S-V/Scripts/wiki)?
Stream Ripper
02-22-2013, 01:11 AM
While not ideal, Screen Capture (http://all-streaming-media.com/record-video-from-screen/) tool such as Replay Video Capture (http://applian.com/replay-video-capture/) do work perfectly with DRM...
k1601
03-03-2013, 06:38 AM
Very strong out of sync between video and audio when downloading from NRK (video lags behind). Because of what it could be and how to fix it? (the latest version of the script)
dublin
03-05-2013, 02:59 AM
Very strong out of sync between video and audio when downloading from NRK (video lags behind). Because of what it could be and how to fix it? (the latest version of the script)
Just downloaded few vids from NRK. No lag/delay/sync issues. Maybe the problem is on your end. What player are you using?
Dream_Team100
03-07-2013, 07:22 AM
1. Open AdobeHDS.php with any text editor.
2. Add following line:
$headers[] = 'X-Forwarded-For: 1.2.3.4';
3. Replace 1.2.3.4 with any UK ip address.
4. Save. That's it.
Hello
- Can I use Tor as a proxy?
- The protocol "http://" I do not have to specify?
- Do I need to specify the port?
Thanks in advance.
dublin
03-07-2013, 10:45 AM
Hello
- Can I use Tor as a proxy?
- The protocol "http://" I do not have to specify?
- Do I need to specify the port?
Thanks in advance.
I'm not sure what you are asking...? If you want to bypass geoblock using that 'x-forwarded-for' header trick you don't need tor or proxy.
If you want download/watch bbc streams just replace 1.2.3.4 with any uk ip, then bbc server will think that you are from uk.
k1601
03-07-2013, 02:06 PM
Just downloaded few vids from NRK. No lag/delay/sync issues. Maybe the problem is on your end. What player are you using?
Use KMP and VLC. It is not noticeable for small videos and at the beginning of a long, but at the end of two hours - video with sound at odds for several or more seconds.
Dream_Team100
03-08-2013, 02:17 AM
I'm not sure what you are asking...? If you want to bypass geoblock using that 'x-forwarded-for' header trick you don't need tor or proxy.
If you want download/watch bbc streams just replace 1.2.3.4 with any uk ip, then bbc server will think that you are from uk.
Thanks for your quick reply.
Unfortunately, it does not work for me, even though I have located with "http://www.utrace.de/" some UK IPs by larger companies and have entered into the script. Unfortunately, I am not familiar with programming, but I thought I would have done this right. Where is my fault?
// function headers()
// {
// $headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
// $headers[] = 'Connection: Keep-Alive';
// return $headers;
// }
function headers()
{
$headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
$headers[] = 'Connection: Keep-Alive';
$headers[] = 'X-Forwarded-For: 134.223.2.33';
return $headers;
}
falkeklubben
03-08-2013, 03:47 AM
Use KMP and VLC. It is not noticeable for small videos and at the beginning of a long, but at the end of two hours - video with sound at odds for several or more seconds.
Hi. Just tried a 90 minutes clip and it stays on sync (in both VLC and Totem). Do you have a URL for a long video that goes out of sync?
dublin
03-08-2013, 05:10 AM
Thanks for your quick reply.
Unfortunately, it does not work for me, even though I have located with "http://www.utrace.de/" some UK IPs by larger companies and have entered into the script. Unfortunately, I am not familiar with programming, but I thought I would have done this right. Where is my fault?
// function headers()
// {
// $headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
// $headers[] = 'Connection: Keep-Alive';
// return $headers;
// }
function headers()
{
$headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
$headers[] = 'Connection: Keep-Alive';
$headers[] = 'X-Forwarded-For: 134.223.2.33';
return $headers;
}
Would you post link to the video you are trying to download.
Dream_Team100
03-08-2013, 07:57 AM
Would you post link to the video you are trying to download.
This is the url (http://bbcfmhds.vo.llnwd.net/hds-live/livepkgr/_definst_/bbc1/bbc1_1500.f4m)
karlo2105
03-08-2013, 01:35 PM
@Dream_Team100
I advise you to remove the link above and to ask it through PM if you want it to keep on working in the future. :D
dublin
03-09-2013, 06:38 AM
This is the url (http://bbcfmhds.vo.llnwd.net/hds-live/livepkgr/_definst_/bbc1/bbc1_1500.f4m)
Hope this helps. :)
sourabh zope
03-09-2013, 03:20 PM
:rolleyes: download with AdobeHDS.php IS NOT WORKING FOR ME
is there any way to download those vedios
the main url of vedio is
http://www.startv.in/episodes/prithviraj-declares-war-against-gujarat-and-decides-to-kill-bhimdev/29772
sourabh zope
03-09-2013, 03:36 PM
ok! Thank you....Now, wait for it!
Have you got somthing about decryption of drm
Dream_Team100
03-10-2013, 08:15 AM
Hope this helps. :)
Thanks, works fine.
mo7i25
03-13-2013, 02:40 AM
Hi, is there any way to download files as mp4 files?
thank you for this wonderful script and addon!!!!!!!!
falkeklubben
03-13-2013, 02:54 AM
Hi, is there any way to download files as mp4 files?
thank you for this wonderful script and addon!!!!!!!!
You have to use ffmpeg (etc) to repackage the flv to mp4. Something like this:
ffmpeg -i videofile.flv -vcodec copy -acodec copy videofile.mp4
Hi, is there any way to download files as mp4 files?
thank you for this wonderful script and addon!!!!!!!!
you can simply use FFMpeg (http://ffmpeg.zeranoe.com/builds/) to remux (not re-encode) flv file to mp4 or mkv format.
FFMpeg -i input.flv -c copy output.mp4
or
FFMpeg -i input.flv -c copy output.mkv
mo7i25
03-13-2013, 09:37 AM
Wow it worked!!! thank you falkeklubben, thank you ksv.
thank you so much for the help!!!!!!!
Dream_Team100
03-18-2013, 08:39 AM
Hi, is there any way to download files as mp4 files?
thank you for this wonderful script and addon!!!!!!!!
You can use a pipe:
--play | ffmpeg -re -i - -c:a copy -c:v copy output.mp4
amedeo
03-20-2013, 04:48 AM
How can i see in a player:
http://www.tgcom24.mediaset.it/video/
or
http://www.italiatv.org/webtv/live/tgcom24.htm
Thanks in advance
Nomorecocktails
03-20-2013, 06:27 AM
I am trying to use this infor to get fox news videos. I have the extension installed and PHp installed. I have read the wiki and ollowed the steps and get the message Zend Engine. I pasted in the command from the firefox but get Cold not open input file AdobeHDS.php
What i am doing wrong?
got it working
dublin
03-21-2013, 04:53 AM
How can i see in a player:
http://www.tgcom24.mediaset.it/video/
or
http://www.italiatv.org/webtv/live/tgcom24.htm
Thanks in advance
Those are MS Silverlight streams. Use ismdownloader (http://rghost.ru/39507985) and for help go to this thread (http://stream-recorder.com/forum/ism-downloader-download-silverlight-videos-and-save-t7654.html).
I am trying to use this infor to get fox news videos. I have the extension installed and PHp installed. I have read the wiki and ollowed the steps and get the message Zend Engine. I pasted in the command from the firefox but get Cold not open input file AdobeHDS.php
What i am doing wrong?
got it working
It's hard to help if you don't provide link to the video...
biashead
03-21-2013, 01:40 PM
Hi KSV and hello to all!
I have tried to capture a realtime webstream of german channel 'ARD' via their HDS webstream. I already used your PHP script before to download a news report. Now I installed your Firefox addon, but could not get the URL with it.
Here is the page for the online stream:
http://live.daserste.de/int/index.html#programm
DownloadHelper finds the f4m URL, but your addon doesn't. I don't understand why.
Also, I tried URL's gained from Downloadhelper and also from Google Chrome's "Inspect Element" option (in the Network tab), but none worked. Everytime I ran your script, it returned with the error "Access Denied! Unable to download the manifest.".
Does it mean that the manifest file gets invalid? I tried your idea and tried to get the manifest URL and run the script as quickly as possible, but the result was all the same.
What can be the problem with the HDS Link Detector?
Is there a way to capture live HDS stream?
Regards,
Sebastian.
karlo2105
03-21-2013, 06:58 PM
You are right it doesn't work.
php AdobeHDS.php --manifest "http://daserste_live-lh.akamaihd.net/z/daserste_int@91203/manifest.f4m?hdcore&hdcore=2.10.3&g=OWWZULMGVPCN" --delete --auth "pvtoken=st%3D0000000000%7Eexp%3D9999999999%7Eacl%3 D%252f%252a%7Edata%3DZXhwPTEzNjM5OTk3MTJ+YWNsPSUyZ ip+ZGF0YT1wdmMsc35obWFjPTI1ODI3MzAyNmVmMThjZjI5YzY wYjI3Yjg3NDM5NDIxNDZiMzdlYzQ0MjkyOTRkNzY1NWJjNGQ4N mZhNWI3YmE%3D%212h9klBy593CyIgKa8MHTYJIh7SgV9vPM5h KFVK+wywA%3D%7Ehmac%3D76872EAE24E6459F7455DDDDCBCA D0AFBD6DA54215431205CEB2D4D844BFA00D&hdcore&als=0,8,0,4,0,NaN,0,0,0,47,f,8583656,8583666.33,t, s,OWWZULMGVPCN,2.10.3,47&hdcore=2.10.3" --useragent "Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0"
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 1600 960 576 320 160
Selected : 1600
^Cdating bootstrap info, Retries: 1
# Netscape HTTP Cookie File
# http://curl.haxx.se/rfc/cookie_spec.html
# This file was generated by libcurl! Edit at your own risk.
.daserste_live-lh.akamaihd.net TRUE /z/daserste_int@91203/ FALSE 0 _alid_ 2h1lcECr0mI7g2JUUDGeNw==
.daserste_live-lh.akamaihd.net TRUE / FALSE 0 PV-IDENT exp=1364000243~acl=%2f*~hmac=0b95a14d9a70b0b6c84fc b127d87a7db5f503b240ee93a3d3e201cea412830a6
daserste_live-lh.akamaihd.net FALSE /z/daserste_int@91203/ FALSE 315576000 PV-IDENT exp=1364000191~acl=%2f*~hmac=7de53083b2dca9e7651af 7f224aecbdfe43be0b06828883328278264cad1b628
What can be the problem with the HDS Link Detector?
HDS Link Detector (https://addons.mozilla.org/addon/hds-link-detector) works as expected and detects proper url with all required parameters.
php AdobeHDS.php --manifest "http://daserste_live-lh.akamaihd.net/z/daserste_int@91203/manifest.f4m?hdcore&hdcore=2.10.3&g=TYFYBYPBCUZW" --delete --auth "pvtoken=st%3D0000000000%7Eexp%3D9999999999%7Eacl%3 D%252f%252a%7Edata%3DZXhwPTEzNjQwMjIzNzV+YWNsPSUyZ ip+ZGF0YT1wdmMsc35obWFjPWVmYjUzMzAwY2U2NWU3NDA2NmU 4Yzc3NzkxYmRjOGEwZDMyNmMxMzQxYzQ5ZjgyNWU0ZmI2ZTA4M jhkNjhlM2M%3D%212h9klBy593CyIgKa8MHTYJIh7SgV9vPM5h KFVK+wywA%3D%7Ehmac%3DA94A96FB21B91C6ECB0F74FA9271 F3BE1F4AD12AAE933CDB7548053BF628664E&hdcore&als=0,8,0,0,0,NaN,0,0,0,58,f,8606330,8606340.34,t, s,TYFYBYPBCUZW,2.10.3,58&hdcore=2.10.3" --useragent "Mozilla/5.0 (Windows NT 5.1; rv:19.0) Gecko/20100101 Firefox/19.0"
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 1600 960 576 320 160
Selected : 1600
Downloading 227322688/227322688 fragments
There was a little bit of security trick involved. script wasn't using the auth parameter with bootstrap requests and server was sending wrong bootstrap info in that case. i have fixed that in my repo. update your script either manually or
php AdobeHDS.php --update
Dream_Team100
03-25-2013, 07:08 AM
Hi
Is it possible to take this stream via X-Forwarded-For. It works for me only with "--proxy --fproxy", but the proxies are too slow.
http://live.stream.vrt.be/vrt_sporza_live/web_800.sdp/manifest.f4m
The stream is not always online.
http://sporza.be/cm/sporza/matchcenter/mc_wielrennen
Thanks in advance
Hi KSV, your HDS link dectetor working perfect for http://www.cielotv.it/cielolive.html but the stream not start, i past batch process:
C:\PHP>php AdobeHDS.php --manifest "http://cieloslive-f.akamaihd.net/z/test_4@27
985/manifest.f4m?hdnea=st=1364232758~exp=1364233058~ac l=/z/test_4*~hmac=39d7c431
d76a00552d307d556a23c4f17d591112c0cf0f6473066ba9ea 1cfa17&hdcore=2.7.6&g=EZMNTADH
MZVO" --delete --auth "hdntl=exp=1364319159~acl=fzftest_4*~data=hdntl~hma c=c914d
0b88babeb63f4cbefa0739930994e202d7fb0467e2865e6b3e 813061290&als=0,2,0,1,0,NaN,0,
0,0,24,f,28451024,28451034.17,t,s,EZMNTADHMZVO,2.7 .6,24" --useragent "Mozilla/5.
0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0"
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 1064 564
Selected : 1064
Access Denied! Unable to download fragments.
C:\PHP>pause
Any solution?
Tanks
Velcro
03-25-2013, 12:12 PM
@IV
following is the info i posted long ago in now deleted thread. This is only related to custom encryption used by Akamai CDN (Packet type 10 & 11) not FlashAccess DRM (Packet type 40 & 41).
==========
I am just posting it publicly. this info is based on actual reversing i tried few months ago. global key is different for each session. SessionID and KeyUrl are not of much relevance because they are only used to retrieve GlobalKey. mysterious salt block in each packet header can be broken into 4 different blocks. first was always 01 and third block was always all zeros.
SessionID: 010075cd3e8441c5f40f4427ae4f93e8b2b00a1b6740eda2fd 0049958d1532318bd1423ec94a2c3f4074ede220dd615b9d58 8f6ad1ef
GlobalKey: acfab40e035ee120520fc77d1e532c20
FirstTag:
Header: 0c000000004fae27440000ffff IV: e7b25c7a1d67280a8681ba4314e1e66d KeyUrl: /z/0809/20090106_1_dvorak_slavonic-dance/h264_high_,0700,1100,1500,2000,2500,.mp4.csmil/key_AQB1zT6EQcX0D0Qnrk+T6LKwDRtnQO2i%2fQBJlY0VMjGL 0UI+yUosP0B07eIg3WFbnViPatHv
Salt?: 01 b7199175c7c7dbea80f9eda39a5b6b0abf2b17dac035636c66 67331243aefdec 0000000000000000000000000000000000000000 dc11391dd7c0211c95c3c1e597665f850f01d2c0
EncryptedBlock: 2df9494fdac3355db2cb942258641fe0 2709b1ec662e8897bf78ad0acf14184b e5c7e47f9e95d918bd6dad1560f2c6a2 31c1da18311e01000568e98d3525
DecryptedVideoFrame: 170000000001640028ffe10029676400 28ac2ca703c045fbc05a808080a00000 0300200000065c1400186a0000e4e17e 31c1da18311e01000568e98d3525
SecondTag:
Header: 0c000000004fae27440000fffb IV: e7b25c7a1d67280a8681ba4314e1e66d
Salt?: 01 25bfbacb92b3c6b837ca6a47ef20a8a77defbc631124bfa5b5 e6b2cc0c58fe6d 0000000000000000000000000000000000000000 46d3344f230830a040d4fc6d3751f6ff83f8cbea
EncryptedBlock: af0011900000
DecryptedAudioFrame: af0011900000
Encryption scheme used is AES-128-CBC. i couldn't figure out the KDF (key derivation function) used to derive individual packet decryption key from global key using the salt block as shown above. KDF function is executed inside Alchemy VM (a method used to execute c code from ActionScript VM) which makes it very hard to reverse engineer from disassembled code.
==========
KSV, what about FlashAccess DRM? Do you have an idea on a how protection scheme works, and to break it?
Thanks
TorresRJ
03-26-2013, 05:44 PM
This message appears at the end. Waiting eagerly for the updates, it seems that the time to break encryption is near! Good job, KSV!
Processing manifest info....
Quality Selection:
Available: 658
Selected : 658
This stream is encrypted with Akamai DRM. Decryption of such streams isn't currently possible with this script.
but the stream not start, i past batch process:
.....
Any solution?
Tanks
You need to be little quick while using the command provided by add-on. for some websites manifest url is only valid for few seconds.
KSV, what about FlashAccess DRM? Do you have an idea on a how protection scheme works, and to break it?
No, but FlashAccess uses even better methods to secure it's communication with Authentication Server unlike Akamai which sends global key in plain text.
Waiting eagerly for the updates, it seems that the time to break encryption is near!
Don't get your hopes too high. he has actually quoted a very old post.
Velcro
03-26-2013, 11:49 PM
No, but FlashAccess uses even better methods to secure it's communication with Authentication Server unlike Akamai which sends global key in plain text.
Here is a link to an HLS protected stream played under Android: http://vod-and.llnw.cdn.m6web.fr/phls-vod/Top-Chef_c11281322_Episode-8_600k.mp4.m3u8 I know HLS != HDS but you may find some answers here...
AwwwYeeah
04-02-2013, 02:06 AM
I'm in waaaay over my head here. Most of what I've read in this thread and on the AdobeHDS github wiki might as well be messages from aliens, since I'm comprehending all of this at about the same level.
I started a thread here (http://stream-recorder.com/forum/need-help-downloading-basketball-game-t16027.html), and was directed to AdobeHDS as a possible solution. But like I said, this stuff isn't making any sense to me. So let me talk this out. These are the steps I'll need to perform, correct me if I'm wrong (I'll be wrong... especially since I don't even know where the php code goes).
1. copy the code at github into a file called AdobeHDS.php (??)
2. install php 5
3. install the Firefox addon
4. run php from command prompt
5. navigate to video page
6. copy the pop-up url and paste it into the command prompt window
7. download begins
8. ???
9. PROFIT
Is this right? It can't be. There has to be something missing (probably lots of somethings) since there was more stuff on the wiki page that I don't understand, along with the fact that I don't know where the php code goes. Do I put it in the php folder?? Do I paste it into the command prompt? Does php run on any Windows OS without any additional requirements? WTF?? I'm so confused.
Sorry for being a total moron. Any clarification would be appreciated.
tstolik
04-02-2013, 08:56 AM
please
it is possible to download fragments from rutube.ru?
like this one
http://rutube.ru/video/dba279a5b89df327f30d060b0ac63221/
can saomebody to write all steps to doanload.
the firefox addon didnt give me the links
dublin
04-02-2013, 10:36 AM
please
it is possible to download fragments from rutube.ru?
like this one
http://rutube.ru/video/dba279a5b89df327f30d060b0ac63221/
can saomebody to write all steps to doanload.
the firefox addon didnt give me the links
Use URLsnooper or similar to get manifest url. Should look something like this: http://video-3-11.rutube.ru/hdsv2/X0w_dwIqgwLJILLvoOyUgw/1364931167/n1vol1/a9e9c455c94df92ea3b65e2dc69406f3.mp4.f4m
How to download:
php.exe AdobeHDS.php --useragent "Mozilla/5.0 (Windows NT 5.1; rv:6.0.2) Gecko/20100101 Firefox/6.0.2" --manifest http://video-3-11.rutube.ru/hdsv2/X0w_dwIqgwLJILLvoOyUgw/1364931167/n1vol1/a9e9c455c94df92ea3b65e2dc69406f3.mp4.f4m
please
it is possible to download fragments from rutube.ru?
like this one
http://rutube.ru/video/dba279a5b89df327f30d060b0ac63221/
can saomebody to write all steps to doanload.
the firefox addon didnt give me the links
add-on is working fine.
php AdobeHDS.php --manifest "http://bl.rutube.ru/a9e9c455c94df92ea3b65e2dc69406f3.f4m?referer=http://rutube.ru/video/dba279a5b89df327f30d060b0ac63221/&PID=19BF96B5-1A0E-8A16-326B-27A120E306D11" --delete
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 0
Selected : 0
Downloading 4/4 fragments
Found 4 fragments
Finished
KSV
Failed to get bootstrap info:confused:
http://iptv2.cytanet.com.cy/player/cyprusaid.html
http://iptv2.cytanet.com.cy/hds-live/livepkgr/cyprusaid/liveevent.f4m
Thanks
karlo2105
04-04-2013, 04:44 AM
For me it's taking much time to download fragments.
%systemdrive%\progra~1\php\php AdobeHDS.php --manifest "http://iptv2.cytanet.com.cy/hds-live/livepkgr/cyprusaid/liveevent.f4m" --delete
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 500 300
Selected : 500
^Cwnloading 4518/6563 fragments
Since KSV updated script, for some addresses it takes much more time to open than before, for instance, before it took 5 seconds to open and now it takes 15 seconds.
KSV
Failed to get bootstrap info:confused:
http://iptv2.cytanet.com.cy/player/cyprusaid.html
http://iptv2.cytanet.com.cy/hds-live/livepkgr/cyprusaid/liveevent.f4m
I had to rewrite the whole logic of parsing correct segment and fragment just to accommodate that. finally it has been done.
For me it's taking much time to download fragments.
Since KSV updated script, for some addresses it takes much more time to open than before, for instance, before it took 5 seconds to open and now it takes 15 seconds.
it can't be due to last update. it doesn't even touches download code anyway. you can try with the version just before the update (https://github.com/K-S-V/Scripts/blob/cd28a4943a6ed7c402099736acdabaa106700213/AdobeHDS.php).
KSV
I had to rewrite the whole logic of parsing correct segment and fragment just to accommodate that. finally it has been done.
Thanks,thanks-works fine:cool:
http://savepic.org/3202949m.gif (http://savepic.org/3202949.htm)
chanc
04-07-2013, 01:54 AM
Can adobehds be used to download m3u8 link ?
Can it be used to put segments of .ts together into a whole video ?
shuvo1970
04-08-2013, 04:07 AM
I was unable to download video from www.startv.in site.
Specially I'm interested to download:
http://www.startv.in/episodes/samaresh-fixes-juni-and-krishnendus-wedding-date/44147
The HDS Link Detector is:
php AdobeHDS.php --manifest "http://hdvodstreams-f.akamaihd.net/z/newstream/star/starjalsha/care_kori_na/203/lf_,300,700,1000,.mp4.csmil/manifest.f4m?hdnea=st=~exp=1365414823~acl=/z/newstream/star/starjalsha/care_kori_na/203/lf_,300,700,1000,.mp4.csmil/*~hmac=1a58f225d5917f30208541f2b34bc543bf41760e4ef e035f26fbff90756ed3ce&hdcore=2.10.3&g=UPBRERDMRKDK" --delete --auth "hdntl=exp=1365501135~acl=%2fz%2fnewstream%2fstar%2 fstarjalsha%2fcare_kori_na%2f203%2flf_,300,700,100 0,.mp4.csmil%2f*~data=hdntl~hmac=3aaa30f0bcd4746e7 6e83f68fa55fa21cf9528c5602a1685e9cf2c83af1f63a0&als=0,0.1,0,0,0,NaN,0,0,0,28,f,0,1248.23,f,u,UPBRE RDMRKDK,2.10.3,28&hdcore=2.10.3" --useragent "Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0"
Whenever I tried to download using php.bat, it gives an error message:
Access Denied! Unable to download fragments.
Please help!
Atique
Dhaka
tstolik
04-08-2013, 04:40 AM
Hi!
Why HDS Link Detector cant detect from www.now.ru?
for example:
http://comedyclub.tnt-online.ru/s08e33
http://edge-5.m77.now.ru/hds-vod/content2/25/59/01/ds/PR255901-ESeg1-Frag1
KSV, could you help me?
I was trying with this video and the end always reports the information Access Denied.
Below is the information I got from HDS Link Detector
php AdobeHDS.php --manifest "http://cdnvh30.cers.com.br/z/1946_032113_CURSO_NOVO_MPU_RESOL_QUEST_PORT_AULA_0 1_Pt_I.mp4/manifest.f4m?hdnea=st=1365477408~exp=1365477548~ac l=/*~id=7keqjg1h1fm0bhp4offotja9u3~hmac=2e85ccfdc6c71 5b98e6d681885b3a1ce3d49a325fd600211c98522f801ead81 3&hdcore=2.11.3&g=LXMZYNOFTQRJ" --delete --auth "pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a%7Edata %3DZXhwPTEzNjU1NjM4MTB+YWNsPSUyZip+ZGF0YT1wdmMsc35 obWFjPTljN2Y3NWVmYjJkOGM3YzEwZjFlZjExNGJiOTBlYWFiM TNiN2E4MWYwNDk3ZDljYTI4ZGVlYjBmZWQxOTk3NjY%3D%21s8 9x42iJxsXVhAOpg7fnHAzKts3OjahmXO+ITcZGShk%3D%7Ehma c%3D2E49D8A2B3ABCB0CBF0058379EB5E01A04279795CC5FCC 52D96AAA262E668027&hdntl=exp=1365563810~acl=%2f*~data=hdntl~hmac=4df8 84e238b596a68277e7ce99382af6c44bff8100bfc203d3b8c8 d935a466a0&als=0,0.1,0,0,0,NaN,0,0,0,36,f,0,1858.67,f,s,LXMZY NOFTQRJ,2.11.3,36&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
http://cdnvh30.cers.com.br/z/1946_032113_CURSO_NOVO_MPU_RESOL_QUEST_PORT_AULA_0 1_Pt_I.mp4/0_f1614de61a57c735_Seg1-Frag1?pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a% 7Edata%3DZXhwPTEzNjU1NjQ3ODd+YWNsPSUyZip+ZGF0YT1wd mMsc35obWFjPTMzMTc4Yzk2MDRiMzA1OWQwMDAxNWRhNjc0OTB mMTY2ZmIzYTNkNDkyOGJlMjRmMTIzY2U4MzI5Mjc5ZmU3NDk%3 D%21s89x42iJxsXVhAOpg7fnHAzKts3OjahmXO+ITcZGShk%3D %7Ehmac%3D8305CF1427B1F50E41B1FAF97FBD4BAFAA033EDF 23BA6CD641981B1DF5B4EDBB&hdntl=exp=1365564787~acl=%2f*~data=hdntl~hmac=ae34 5daa55f61f0e18b3f314a427f5b84fc169d91a6eedbd0e270c 789340bc15&als=0,0.1,0,0,0,NaN,0,0,0,39,f,0,1858.67,f,s,CUSVX LWRMKNG,2.11.3,39&hdcore=2.11.3
thanks for help
Hi!
Why HDS Link Detector cant detect from www.now.ru?
for example:
http://comedyclub.tnt-online.ru/s08e33
http://edge-5.m77.now.ru/hds-vod/content2/25/59/01/ds/PR255901-ESeg1-Frag1
DRM:confused:
karlo2105
04-09-2013, 11:33 AM
KSV, could you help me?
I was trying with this video and the end always reports the information Access Denied.
Below is the information I got from HDS Link Detector
php AdobeHDS.php --manifest "http://cdnvh30.cers.com.br/z/1946_032113_CURSO_NOVO_MPU_RESOL_QUEST_PORT_AULA_0 1_Pt_I.mp4/manifest.f4m?hdnea=st=1365477408~exp=1365477548~ac l=/*~id=7keqjg1h1fm0bhp4offotja9u3~hmac=2e85ccfdc6c71 5b98e6d681885b3a1ce3d49a325fd600211c98522f801ead81 3&hdcore=2.11.3&g=LXMZYNOFTQRJ" --delete --auth "pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a%7Edata %3DZXhwPTEzNjU1NjM4MTB+YWNsPSUyZip+ZGF0YT1wdmMsc35 obWFjPTljN2Y3NWVmYjJkOGM3YzEwZjFlZjExNGJiOTBlYWFiM TNiN2E4MWYwNDk3ZDljYTI4ZGVlYjBmZWQxOTk3NjY%3D%21s8 9x42iJxsXVhAOpg7fnHAzKts3OjahmXO+ITcZGShk%3D%7Ehma c%3D2E49D8A2B3ABCB0CBF0058379EB5E01A04279795CC5FCC 52D96AAA262E668027&hdntl=exp=1365563810~acl=%2f*~data=hdntl~hmac=4df8 84e238b596a68277e7ce99382af6c44bff8100bfc203d3b8c8 d935a466a0&als=0,0.1,0,0,0,NaN,0,0,0,36,f,0,1858.67,f,s,LXMZY NOFTQRJ,2.11.3,36&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:20.0) Gecko/20100101 Firefox/20.0"
http://cdnvh30.cers.com.br/z/1946_032113_CURSO_NOVO_MPU_RESOL_QUEST_PORT_AULA_0 1_Pt_I.mp4/0_f1614de61a57c735_Seg1-Frag1?pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a% 7Edata%3DZXhwPTEzNjU1NjQ3ODd+YWNsPSUyZip+ZGF0YT1wd mMsc35obWFjPTMzMTc4Yzk2MDRiMzA1OWQwMDAxNWRhNjc0OTB mMTY2ZmIzYTNkNDkyOGJlMjRmMTIzY2U4MzI5Mjc5ZmU3NDk%3 D%21s89x42iJxsXVhAOpg7fnHAzKts3OjahmXO+ITcZGShk%3D %7Ehmac%3D8305CF1427B1F50E41B1FAF97FBD4BAFAA033EDF 23BA6CD641981B1DF5B4EDBB&hdntl=exp=1365564787~acl=%2f*~data=hdntl~hmac=ae34 5daa55f61f0e18b3f314a427f5b84fc169d91a6eedbd0e270c 789340bc15&als=0,0.1,0,0,0,NaN,0,0,0,39,f,0,1858.67,f,s,CUSVX LWRMKNG,2.11.3,39&hdcore=2.11.3
thanks for help
Session key expired, put page link if you want our help. ;)
Session key expired, put page link if you want our help. ;)
Sure.
The video is on the next page.
http://www.cers.com.br/videos/demonstracao/13907
I am grateful for the help
The video is on the next page.
http://www.cers.com.br/videos/demonstracao/13907
php AdobeHDS.php --manifest "http://cdnvh30.cers.com.br/z/1946_032113_CURSO_NOVO_MPU_RESOL_QUEST_PORT_AULA_0 1_Pt_I.mp4/manifest.f4m?hdnea=st=1365532428~exp=1365532568~ac l=/*~id=t5gaaf324jc5pm34pd6ra1sqq2~hmac=5dbc3eea095bc 071a6b9ccac288c45407c38576ef3879471413a7e8a96b2bf0 e&hdcore=2.11.3&g=YBXOJRFGVECR" --delete --auth "pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a%7Edata %3DZXhwPTEzNjU2MTg4NjF+YWNsPSUyZip+ZGF0YT1wdmMsc35 obWFjPTMzODAyNjcxMzAyNjViYjZhMGRmMDk3NmY2N2NmZjljY TMzMTY4NjlkMGI5MzZhOTRhYWJmMDU2M2Y1MmRhYjI%3D%21s8 9x42iJxsXVhAOpg7fnHAzKts3OjahmXO+ITcZGShk%3D%7Ehma c%3DB6C6002565CAA3DF8DDF1A4AA93EA993521DC845CB0B40 304F32B999596C0269&hdntl=exp=1365618861~acl=%2f*~data=hdntl~hmac=9b9b d9596636da577f919a81865968a5d5dcff0ddc026fed5d9d37 2c841f5eec&als=0,0.1,0,0,0,NaN,0,0,0,78,f,0,1858.67,f,s,YBXOJ RFGVECR,2.11.3,78&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 348
Selected : 348
This stream is encrypted with Akamai DRM. Decryption of such streams isn't currently possible with this script.
php AdobeHDS.php --manifest "http://cdnvh30.cers.com.br/z/1946_032113_CURSO_NOVO_MPU_RESOL_QUEST_PORT_AULA_0 1_Pt_I.mp4/manifest.f4m?hdnea=st=1365532428~exp=1365532568~ac l=/*~id=t5gaaf324jc5pm34pd6ra1sqq2~hmac=5dbc3eea095bc 071a6b9ccac288c45407c38576ef3879471413a7e8a96b2bf0 e&hdcore=2.11.3&g=YBXOJRFGVECR" --delete --auth "pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a%7Edata %3DZXhwPTEzNjU2MTg4NjF+YWNsPSUyZip+ZGF0YT1wdmMsc35 obWFjPTMzODAyNjcxMzAyNjViYjZhMGRmMDk3NmY2N2NmZjljY TMzMTY4NjlkMGI5MzZhOTRhYWJmMDU2M2Y1MmRhYjI%3D%21s8 9x42iJxsXVhAOpg7fnHAzKts3OjahmXO+ITcZGShk%3D%7Ehma c%3DB6C6002565CAA3DF8DDF1A4AA93EA993521DC845CB0B40 304F32B999596C0269&hdntl=exp=1365618861~acl=%2f*~data=hdntl~hmac=9b9b d9596636da577f919a81865968a5d5dcff0ddc026fed5d9d37 2c841f5eec&als=0,0.1,0,0,0,NaN,0,0,0,78,f,0,1858.67,f,s,YBXOJ RFGVECR,2.11.3,78&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 348
Selected : 348
This stream is encrypted with Akamai DRM. Decryption of such streams isn't currently possible with this script.
There are currently able to get this video?
Can you envision any solution? I've tried everything to get this video until recently was easily obtained with Replay Media Catcher, among others.
:(
There are currently able to get this video?
Can you envision any solution? I've tried everything to get this video until recently was easily obtained with Replay Media Catcher, among others.
:(
No solution for DRM'ed videos at the moment except screen capture or alternate streams (only if provided by site).
shuvo1970
04-10-2013, 04:03 AM
KSV, could you help me?
I was trying with this video and the end always reports the information Access Denied.
Below is the information I got from HDS Link Detector
php AdobeHDS.php --manifest "http://hdvodstreams-f.akamaihd.net/z/newstream/star/starjalsha/care_kori_na/203/lf_,300,700,1000,.mp4.csmil/manifest.f4m?hdnea=st=~exp=1365587838~acl=/z/newstream/star/starjalsha/care_kori_na/203/lf_,300,700,1000,.mp4.csmil/*~hmac=8bc173301e6c50c257b36f681d350cd4fee686e622c 93d7da203154b60ce958b&hdcore=2.10.3&g=GEMIRWTQSFHY" --delete --auth "hdntl=exp=1365674149~acl=%2fz%2fnewstream%2fstar%2 fstarjalsha%2fcare_kori_na%2f203%2flf_,300,700,100 0,.mp4.csmil%2f*~data=hdntl~hmac=8abd4508e05d73acd 51f00ec0fbaa8479c1d48e728ef02283afb4f0f76c93c15&als=0,0.1,0,0,0,NaN,0,0,0,27,f,0,1248.23,f,u,GEMIR WTQSFHY,2.10.3,27&hdcore=2.10.3" --useragent "Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0"
KSV Adobe HDS Downloader
Processing mainfest info......
Access denied! Unable to download the mainfest.
http://www.startv.in/episodes/samaresh-fixes-juni-and-krishnendus-wedding-date/44147
Thanks in advance for help.
karlo2105
04-10-2013, 09:55 AM
KSV, could you help me?
I was trying with this video and the end always reports the information Access Denied.
Below is the information I got from HDS Link Detector
php AdobeHDS.php --manifest "http://hdvodstreams-f.akamaihd.net/z/newstream/star/starjalsha/care_kori_na/203/lf_,300,700,1000,.mp4.csmil/manifest.f4m?hdnea=st=~exp=1365587838~acl=/z/newstream/star/starjalsha/care_kori_na/203/lf_,300,700,1000,.mp4.csmil/*~hmac=8bc173301e6c50c257b36f681d350cd4fee686e622c 93d7da203154b60ce958b&hdcore=2.10.3&g=GEMIRWTQSFHY" --delete --auth "hdntl=exp=1365674149~acl=%2fz%2fnewstream%2fstar%2 fstarjalsha%2fcare_kori_na%2f203%2flf_,300,700,100 0,.mp4.csmil%2f*~data=hdntl~hmac=8abd4508e05d73acd 51f00ec0fbaa8479c1d48e728ef02283afb4f0f76c93c15&als=0,0.1,0,0,0,NaN,0,0,0,27,f,0,1248.23,f,u,GEMIR WTQSFHY,2.10.3,27&hdcore=2.10.3" --useragent "Mozilla/5.0 (Windows NT 6.1; rv:19.0) Gecko/20100101 Firefox/19.0"
KSV Adobe HDS Downloader
Processing mainfest info......
Access denied! Unable to download the mainfest.
http://www.startv.in/episodes/samaresh-fixes-juni-and-krishnendus-wedding-date/44147
Thanks in advance for help.
%systemdrive%\progra~1\php\php AdobeHDS.php --man
ifest "http://hdvodstreams-f.akamaihd.net/z/newstream/star/starjalsha/care_kori_na/203/lf_,300,700,1000,.mp4.csmil/manifest.f4m?hdnea=st=~exp=1365609338~acl=/z/
newstream/star/starjalsha/care_kori_na/203/lf_,300,700,1000,.mp4.csmil/*~hmac=e4
53e71d1ef897fb6db8d646aa86180f547fc6b02b75d541e466 f217cb42fbf0&hdcore=2.10.3&g=U
LDTBTNISQEG" --delete --auth "hdntl=exp=1365695648~acl=%2fz%2fnewstream%2fstar%2
fstarjalsha%2fcare_kori_na%2f203%2flf_,300,700,100 0,.mp4.csmil%2f*~data=hdntl~hm
ac=cfcbb918ae0537a378035c74ba0267e606fedbcc2017240 ae25316cec5715cc1&als=0,0.1,0,
2,0,NaN,0,0,0,147,f,0,1248.23,f,u,ULDTBTNISQEG,2.1 0.3,147&hdcore=2.10.3" --usera
gent "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 1128 833 435
Selected : 1128
This stream is encrypted with Akamai DRM. Decryption of such streams isn't currently possible with this script.
No solution for DRM'ed videos at the moment except screen capture or alternate streams (only if provided by site).
Thanks for the information.
Velcro
04-16-2013, 02:04 PM
Here is a link to an HLS protected stream played under Android: http://vod-and.llnw.cdn.m6web.fr/phls-vod/Top-Chef_c11281322_Episode-8_600k.mp4.m3u8 I know HLS != HDS but you may find some answers here...
m3u8 file contains EXT-X-FAXS-CM that holds base64-encoded PKCS #7 certificates chaining.
How to decrypt packets with PKCS7 and IV?
m3u8 file contains EXT-X-FAXS-CM that holds base64-encoded PKCS #7 certificates chaining.
How to decrypt packets with PKCS7 and IV?
Apple HLS is totally different than Adobe HDS. ask it on ffmpeg or some other relevant forum.
Luiz Prestez
04-18-2013, 10:17 PM
Hi, KSV, you're my idol, the only guy on the planet who are trying to decipher the AdobeHDS Akamai ... \ o /
I have a full video downloaded with all fragments (frags), if u want to study the files to decrypt I do upload for you ...
Thank you for your attention.http://img248.imageshack.us/img248/8432/forumkt.jpg
Hi, KSV, you're my idol, the only guy on the planet who are trying to decipher the AdobeHDS Akamai ... \ o /
I have a full video downloaded with all fragments (frags), if u want to study the files to decrypt I do upload for you ...
Thank you for your attention.http://img248.imageshack.us/img248/8432/forumkt.jpg
Luiz, everything good?
How you managed to accomplish the download, even in fragments, for your computer?
I get to see virtually all fragments, but could not download.
Gives a force that we will reach a solution together.
Hugs.
Luiz Prestez
04-19-2013, 09:56 AM
@WMS, i used videocaheview to capture fragments and copy them to any folder ...
http://www.nirsoft.net/utils/video_cache_view.html
http://img443.imageshack.us/img443/2339/forum3ut.jpg
To see the fragments, just press F5 on VideoCacheView while the video is going ...
I was using Internet Explorer 8 in Windows XP ...
I managed to copy the fragments, but when I went to join them, it was not possible due to DRM encryption Akamai ...
Crazyman
04-27-2013, 09:26 PM
Want to download below video, but still not able to do it...
http://www.startv.in/episodes/samaresh-fixes-juni-and-krishnendus-wedding-date/44147
ycyaron
05-03-2013, 10:19 AM
until a few days ago i could see the f4m link by ctrl+alt+k in firefox. now they changed the vod player and i cant use ctrl+alt+k or see or find the f4m link. for example:
http://www.mako.co.il/mako-vod&Partner=Header_button#/mako-vod-keshet/music-school-s2/VOD-04fb0f51ed0ac31006.htm&sCh=1bbaf48c8b78a310&pId=957463908
but if i use the link http://keshethdzeri-f.akamaihd.net/z/VOD/KESHET/music_school/S02/music_school2_1_vod/music_school2_1_vod_,500,850,1200,2000,.mp4.csmil/manifest.f4m?hdcore=2.11.3&g=UXPJRSTMYOQQ
that i saved before, i can still download this chapter.
now i need to download this chapter:
http://www.mako.co.il/mako-vod&Partner=Header_button#/mako-vod-keshet/sabri-maranan-s2/VOD-649a490e8bc3e31006.htm&sCh=278fb522f939b310&pId=957463908
can you help me ? thanks.
why don't you use the HDS Link Detector (https://github.com/K-S-V/Scripts/wiki#hds-link-detector-add-on) add-on?
php AdobeHDS.php --manifest "http://keshethdzeri-f.akamaihd.net/z/VOD/KESHET/savri_maranan/S02/savri_maranan2_15_ima_vod/savri_maranan2_15_ima_vod_,500,850,1200,2000,.mp4. csmil/manifest.f4m?hdnea=st=1367604724~exp=1367605024~ac l=/*~hmac=26e75a7e3871d4d058afcb0456210e72138d3e0d3e7 783f0e75a445167d4e839&hdcore=2.11.3&g=WZGNDRNBHXNG" --delete --auth "hdntl=exp=1367691341~acl=%2f*~data=hdntl~hmac=b181 4d6e93e6cf2a2667e64c2f53bbdb0a7054bfd1f648b566c07f ee89dd457e&als=0,3,0,0,0,NaN,0,0,0,82,f,0,1385.14,f,s,WZGNDRN BHXNG,2.11.3,82&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 2199 1347 911 541
Selected : 2199
Downloading 6/277 fragments
ycyaron
05-03-2013, 02:29 PM
thanks fo your answer. i did install the hds link detector, but it doesnt show me the f4m link. when i tried at "http://pluzz.francetv.fr" it did show me the f4m link and i could download the video. any idea for this problem? thanks.
thanks fo your answer. i did install the hds link detector, but it doesnt show me the f4m link. when i tried at "http://pluzz.francetv.fr" it did show me the f4m link and i could download the video. any idea for this problem? thanks.
Above posted command line was captured by same add-on. so it's not a problem with add-on.
simon59150
05-09-2013, 04:16 AM
"Groupe M6" is a group of several TV channels in France. It includes M6, W9 and 6ter in particular.
Videos of the replay of this channels are in HDS and they contains DRM.
This is an example of manifest file :
http://simond.tonsite.biz/manifest-la-belle-ep4.txt
The original URL of this manifest is as :
http://e203.cdn.m6web.fr/hds/f/a/4/La-Belle-et-ses-pri_c11289986_Emission-du-7-ma/La-Belle-et-ses-pri_c11289986_Emission-du-7-ma.f4m?st=Gxf9dwvywoBcFvW68Lv6ig&e=1368111296
The tag drmAdditionnalHeader contains a data encrypted in base64.
Can we get something of this data to recover the video ?
Is it useful to recover all the fragments in hope to recover the video in the future ?
palm1234
05-10-2013, 03:05 AM
By the way I forked AdobeHDS.php and created a python version (with the major features) on
https://github.com/k3c/Scripts
This AdobeHDS.py is basically for retrieving the m6replay.fr files, but can be easily adapted.
Velcro
05-11-2013, 10:42 AM
Apple HLS is totally different than Adobe HDS. ask it on ffmpeg or some other relevant forum.
Sure, I do know that :)
Actually I thought that there would have been similarities between both implementations of this kind of DRM.
adammw
06-14-2013, 02:08 AM
KSV, I'm new to HDS but you seem to be the go to guy about it. ABC iView recently switched to using an akamai-based HDS for unmetered streaming, I was wondering if you had worked out the algorithm for generating pvtoken?
Vadmium
06-15-2013, 04:04 AM
I was also looking into the AkamaiHDUnmetered stuff. There’s a very englightening post by KSV about the “pvtoken” algorithm in this thread about a Pluzz French service:
http://stream-recorder.com/forum/record-pluzz-fr-linux-t11408p2.html#post43761
PluzzDL.py implementation: http://code.google.com/p/tvdownloader/source/browse/other/Pluzz/src/PluzzDL.py
Unfortunately I now understand the PV stands for “player verification”. KSV says it requires both a hash of the player SWF and another key hidden inside the player. It looks like someone would have to get very intimate with the ABC’s flash player to find out the key.
CristianoA
06-15-2013, 08:12 AM
sorry for interrupting
i think newest version of GetFLV can download akamai drm streams (abc ivew etc) just use Ipad mode for downloading
KSV, I'm new to HDS but you seem to be the go to guy about it. ABC iView recently switched to using an akamai-based HDS for unmetered streaming, I was wondering if you had worked out the algorithm for generating pvtoken?
yeah, see this thread (http://stream-recorder.com/forum/record-pluzz-fr-linux-t11408p2.html#post43761) for explanation of same. you can also use my firefox add-on (https://addons.mozilla.org/firefox/addon/hds-link-detector/) to retrieve such videos if they are not encrypted.
i think newest version of GetFLV can download akamai drm streams (abc ivew etc) just use Ipad mode for downloading
Nope, downloading the alternate HLS (.m3u8 / not HDS) stream by using the User-Agent of mobile device isn't anything new. it's a well known method around here. but not all providers provide alternative unprotected streams. it has nothing to do with Akamai DRM or FlashAccess DRM.
GtbpyQgB
07-13-2013, 05:47 PM
It seems that "HDS Link Detector 0.5" is no longer compatible with firefox 22.0 !!!!
WHOOKIDSON
07-15-2013, 09:54 AM
and thats the reason I downgraded my Firefox RIGHT AFTER I upgraded it !!
s/n: a lot of times when i'm downloading with through AdobeHDS/cmd prompt it gets "stuck" on the last frag download..
for instance..if its "875" frags to be downloaded..it will get to 875 and just "hang"..any way around that?
GtbpyQgB
07-15-2013, 11:27 AM
It was just a notice from my side "WHOOKIDSON".
You can always use sniffers like "URL snooper" and many others mentioned on this site to find the samme correct link as with the Firefox addins!, but I think your problems is more with your Internet network provider or there could be som virus or other things on your computer, causing it to hang. You can also try to delete your cache(clean your computer) with CCleaner before your try a few times more.
http://www.piriform.com/ccleaner/download
WHOOKIDSON
07-15-2013, 06:17 PM
thanks for the reply :)
I cleaned the cache/history etc etc and I'm 100% sure there are no viruses or any other malicious programs on my pc..I've even tried it using a RDP and it still hangs but this time it "hangs" @ frag# 801..dunno whats causing the problem..but it seems its more on the site side from which I'm downloading from..I will try more things..thanks dude..
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 (https://addons.mozilla.org/en-US/firefox/addon/hds-link-detector/versions/) to download new version (0.6).
WHOOKIDSON
07-16-2013, 12:22 AM
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 (https://addons.mozilla.org/en-US/firefox/addon/hds-link-detector/versions/) 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
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
KSV@
Thanks for "HDS Link Detector 0.6" update :D. Much appreciated.
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
please i need help
i try to download this vid : http://www.ndr.de/unterhaltung/events/wacken/woa_2013/wacken2843.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
please i need help
i try to download this vid : http://www.ndr.de/unterhaltung/events/wacken/woa_2013/wacken2843.html
no problem
works fine
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,OEDTFVRO IKOL,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
php AdobeHDS.php --update
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 (https://github.com/K-S-V/Scripts/raw/master/AdobeHDS.php) link to save it again or download the zip file (https://github.com/K-S-V/Scripts/archive/master.zip).
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.
// 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);
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.
KSV
thanks and great respect for your work:cool:
jsparrow
08-06-2013, 06:10 AM
hey, can you please help to download videos from startv.in
because using script i cant download it.
it says "access denied"
please help
thanks in advance
ohmediafire
08-15-2013, 07:55 PM
Hi KSV,
How can i running this script on Mac OSX?
Velcro
08-25-2013, 02:46 AM
Are there any useful information about AkamaiDRM here? http://code.google.com/p/mp-onlinevideos2/source/browse/trunk/MPUrlSourceSplitter/MPUrlSourceSplitter/MPUrlSourceSplitter_Afhs_Decryption_Akamai
bolaoito
10-20-2013, 10:27 PM
someone tried on Hulu or Hulu. jp (Japan) with subtitles ? :cool:
hallucinogen
11-14-2013, 07:48 AM
i don't have firefox because i only use a netbook which crashes all the time when i use firefox. do u have an extension for chrome that can detect those streams?
StreamRecorder
12-12-2013, 12:54 AM
Any chance to support dynamic HTTP streaming from Ustream? I have tried every Adobe HDS Downloader (http://emoney.al.ru/capture-streaming-video-and-audio/capture-download-Adobe-HTTP-Dynamic-Streaming-HDS.htm) I have found to no avail. Is there any working solution for UStream.TV?
wanderingmon
12-15-2013, 12:56 PM
iam a complete new-bie infact a doctor with no knowledge on coding etc. , so go easy on me.
i installed php and like the wiki says also tested it with the 'php -v' in command prompt and i got it as said in the wiki.
i downloaded the script .its 77kb i believe , i saved the page after pressing raw
i do not know exactly what my next step should be.
is that to open command-prompt and give that code with the manifest?
i even installed the link-checker addon and when i paste that in command prompt.it says : could not open input file AdobeHDS.php
i just tried to type php AdobeHDS.php and enter to test , it just gave out there was no input file or some thing like that.
i was fascinated by this video on youtube :http://www.youtube.com/watch?v=WfkWxsY6BGQ
where he shows good easy to use customized thing.but when i download the link provided by him it does not have the files he showed in the video.
is there a customized easy to use thing ,i like the way it prompts for all that is required and in an easy to enter manner
please help me
RedPenguin
12-30-2013, 08:10 PM
I know this is a little old but just wanted to say this totally works with the X-Forwarded-To in case anybody has any question.
Now if only I could get XBMC to do the same, LoL.
unfortunately that particular stream server doesn't updates it's bootstrap info in timely manner so stream is few seconds behind than actual live stream.
provide actual link to the stream with more details.
i have only tested it with Firefox 17 and above.
may be in some future update. for the time being you can just modify the script yourself.
function headers()
{
$headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
$headers[] = 'Connection: Keep-Alive';
$headers[] = 'X-Forwarded-For: 1.2.3.4';
return $headers;
}
adi10289
01-05-2014, 06:21 AM
Any luck with Akamai DRM KSV?
Bizzo
01-10-2014, 01:44 PM
How can I set up a default path to the AdobeHDS.php script for php.exe? I find it annoying always having to write like:
php.exe "C:\My Documents\Videos\PHP\Scripts-master\AdobeHDS.php"
How can I set up a default path to the AdobeHDS.php script for php.exe? I find it annoying always having to write like:
php.exe "C:\My Documents\Videos\PHP\Scripts-master\AdobeHDS.php"
try use https://github.com/K-S-V/Scripts/wiki#installing-php-for-dummies-windows-only
Bizzo
01-10-2014, 05:07 PM
try use https://github.com/K-S-V/Scripts/wiki#installing-php-for-dummies-windows-only
The default path to the php.exe is easily defined in windows, but I was looking for an option to set the default path to the scripts folder, because Php.exe doesn't recognize it if I add the scripts folder to the windows user paths. I looked into the php.ini file for some possible feature, but I got lost there.
Bizzo
01-10-2014, 05:41 PM
When doing offline processing the AdobeHDS.php script only accepts fragments starting from the number 1.
What about having a couple of extra parameters like --startfragment# and --stopfragment#, -both optional when doing offline processing?
I tried to use the --duration parameter when doing offline processing, but that did not work. So is it only for online use???
Would it be possible to set a start time and stop time when doing offline processing? Or is that far beyond the range of such a script?
Bizzo
01-20-2014, 03:54 PM
OK, at least there is some --start parameter I see...
ycyaron
01-23-2014, 01:10 PM
antil a few days ago, i could download chapters from www.mako.co.il.
now when i try, it starts download and stops after a few seconds.
can you help me?
here is a link of a chapter for example: http://www.mako.co.il/mako-vod?partner=NavBarHP#/mako-vod-keshet/masterchef-s4/VOD-4a1f6c1311a9341006.htm?sCh=13a9328a5ce82410&pId=957463908
the link detector seems to give now a different kind of link from what it gave antil a few days ago. maybe they changed something...
antil a few days ago, i could download chapters from www.mako.co.il.
now when i try, it starts download and stops after a few seconds.
can you help me?
here is a link of a chapter for example: http://www.mako.co.il/mako-vod?partner=NavBarHP#/mako-vod-keshet/masterchef-s4/VOD-4a1f6c1311a9341006.htm?sCh=13a9328a5ce82410&pId=957463908
the link detector seems to give now a different kind of link from what it gave antil a few days ago. maybe they changed something...
DRM:(
ycyaron
01-23-2014, 02:23 PM
CHAP, what is DRM?
is there no solution?
karlo2105
01-23-2014, 04:15 PM
DRM means encrypted files, you wan't watch it without decryption keys and so far AdobeHDS can't decode those files.
hasomaso
01-24-2014, 08:25 AM
hello KSV,
i have a manifest.f4m url and that i have tested with AdobeHDS.php and hdsdump.exe
but something is wrong here? both of scripte bring me error messages and will not be downloaded i dont know why?
I add a couple of pictures so you can see what is the cause
1. first tested with hdsdump.exe and bring me this message on the screen
and that is the hdsdump.exe parameter on "cmd"
hdsdump.exe --showtime --manifest "http://ccr.cim-jitp.top.comcast.net/cimomg04/OPUS/83/162/119271491507/1389989008837/119271491507_1389986611184_1850000_4.f4m?ckm_guid= ff746ed1-07b7-4f12-8566-152974f22bb9&pid=FbRQ10WrsArR&t=1390564970&sig=2b9 fe72a95f61ca26662e19ebea195d4c569d950" --outfile "12345.flv"
http://imagizer.imageshack.us/v2/800x600q90/268/b4fd.png
2. and that is the AdobeHDS.php
at AdobeHDS i get no error message but the download procedure does not work and stops by 8 fragments of 674
AdobeHDS.php --quality high --delete --manifest "http://ccr.cim-jitp.top.comcast.net/cimomg04/OPUS/83/162/119271491507/1389989008837/119271491507_1389986611184_1850000_4.f4m?ckm_guid= ff746ed1-07b7-4f12-8566-152974f22bb9&pid=FbRQ10WrsArR&t=1390564970&sig=2b9fe72a95f61ca26662e19ebea195d4c569d950"
http://imagizer.imageshack.us/v2/800x600q90/46/rgr9.png
I would be very happy if you could help
thanks
hasomaso
Totem
02-08-2014, 04:00 AM
Hello! I have problem to download from stream.1tv.ru/live
For example trying this stream.1tv.ru/live?startTime=1391843700
then i found .f4m i do this:
php AdobeHDS.php --manifest "http://cdn3.1internet.tv/hds-live11/livepkgr/_definst_/1tv-hd.f4m?e=1391855140" --parallel 2 --delete
and have this:
http://funkyimg.com/i/FNbM.gif
Whats going wrong?
Totem
02-09-2014, 03:00 AM
lesor
In folder just one short random fragment. I need full show.
BTW i found solution (not 100% correct). You need to find start Frag (in URL Snooper for example) and use switch --start for downloading full show from this Frag to end.
lesor
02-09-2014, 04:59 AM
You need to find start Frag (in URL Snooper for example) and use switch --start for downloading full show from this Frag to end.I just use your link without change
http://savepic.net/4545329m.jpg (http://savepic.net/4545329.htm)
Totem
02-09-2014, 07:04 AM
I just use your link without change
I realized... it's downloading live air in one file while you don't close HDS Downloader. It's variant too.
Supersport
02-19-2014, 09:24 AM
hi all
please help me
i do all step in thes
https://github.com/K-S-V/Scripts/wiki
and well done
Installing PHP for dummies (Windows only):
Download PHP 5.4 zip package and extract it to C:\PHP folder.(VC9 x86 Non Thread Safe)
Download PHP.ini and copy it to the same folder.
Right click on "My Computer" and go to Properties->Advanced->Environment Variables and add following string to the end of Path Variable.
;C:\PHP
Open cmd prompt and type php -v. if you have done above steps correctly then you will see something like following.
PHP 5.4.21 (cli) (built: Oct 16 2013 21:09:16)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
i have got it ,,,,mean is instile is done ok
---------------------------------------------------------------------------------------------------------------------------------------------------
but when i put these link in cmd prompt to download
php AdobeHDS.php --manifest "http://c01v.2asb.atos-ovp.tv/z/20140208S0_1@145668/manifest.f4m?start=1391875960&end=1391877594&hdcore=2.11.3&g=HLJXFVVOZVNT" --delete --auth "start=1391875960&end=1391877594&als=0,0.1,0,0,0,NaN,0,0,0,105,f,0,1634,f,s,HLJXFVV OZVNT,2.11.3,105&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 5.1; rv:21.0) Gecko/20100101 Firefox/21.0"
i have got ...... could not open input file : AdobeHDS.php
please help me
nwtim
02-19-2014, 09:05 PM
Did you get AdobeHDS.php from https://github.com/K-S-V/Scripts?
Never mind - I'm getting the same error when trying to join files I got with DownloadThemAll from NBCOlympics.com. I'm wondering if it has something to do with getting authenticated from my cable provider - that may be why AdobeHDS is having a problem opening the input file.
Supersport
02-19-2014, 09:19 PM
Did you get AdobeHDS.php from https://github.com/K-S-V/Scripts?
no,,, how i can get it?
where i can download it and where i put it after get?
help me
nwtim
02-19-2014, 09:46 PM
AdobeHDS.php is the first file on the page https://github.com/K-S-V/Scripts. Just right-click on it and select "Save Link As" and save it to your PHP folder.
Supersport
02-19-2014, 10:51 PM
AdobeHDS.php is the first file on the page https://github.com/K-S-V/Scripts. Just right-click on it and select "Save Link As" and save it to your PHP folder.
ok but what i save to? txt or html or what?
and what i put in neam?
and how thes be php file?
Supersport
02-20-2014, 01:50 AM
I wait more help
Where you are ?
Supersport
02-20-2014, 02:48 AM
i gite it and saive in like comd start link C:\Documents and Settings\Compaq
but when i past url i have got speed cmd liter and in last these
<div id="ajax-error-message" class="flash flash-error">
<span class="octicon octicon-alert"></span>
<a href="#" class="octicon octicon-remove-close close js-ajax-error-dismi
s"></a>
Something went wrong with that request. Please try again.
</div>
</body>
</html>
C:\Documents and Settings\Compaq>:(
nwtim
02-20-2014, 06:24 PM
I just tried this for the first time yesterday and kept getting the "Could not open input file: AdobeHDS.php" error myself.
This is how I got past that error:
If you go to KSV's Scripts page (https://github.com/K-S-V/Scriptshttp://), you'll see a hyperlinked "AdobeHDS.php" at the top of the list. Click on that and it will open up a page with a window containing all the text of the AdobeHDS.php script. Copy the complete text to your clipboard and paste it into a new text file, then save it as "AdobeHDS.php".
When I put it in the C:\PHP folder, the error didn't go away, but when I put it in the folder I run the manifest command (in a batch file with "pause" on the last line so I can see any feedback before it disappears) from - it works without the error.
Now if I can only figure out how to download more than just the Keyframes - which basically just makes stop-motion video, LOL.
Supersport
02-21-2014, 01:27 AM
I just tried this for the first time yesterday and kept getting the "Could not open input file: AdobeHDS.php" error myself.
This is how I got past that error:
If you go to KSV's Scripts page (https://github.com/K-S-V/Scriptshttp://), you'll see a hyperlinked "AdobeHDS.php" at the top of the list. Click on that and it will open up a page with a window containing all the text of the AdobeHDS.php script. Copy the complete text to your clipboard and paste it into a new text file, then save it as "AdobeHDS.php".
When I put it in the C:\PHP folder, the error didn't go away, but when I put it in the folder I run the manifest command (in a batch file with "pause" on the last line so I can see any feedback before it disappears) from - it works without the error.
Now if I can only figure out how to download more than just the Keyframes - which basically just makes stop-motion video, LOL.
Is done ,,,thanks for all was help me
But now i have one Q
when i download and go to the folder and i found one file for my video and other un know files!!! How i download withot thes unknown file is be?
nwtim
02-21-2014, 11:42 AM
Is done ,,,thanks for all was help me
But now i have one Q
when i download and go to the folder and i found one file for my video and other un know files!!! How i download withot thes unknown file is be?I'm not sure what other files you'd be getting besides the joined .flv file.
If you're not using the --delete switch in the AdobeHDS.php command line, you'll end up with a number of fragment files (ending in something like "Seg1-Frag[sequence number]"), so perhaps that's what you're seeing.
nwtim
02-21-2014, 11:46 PM
Anybody know what the error "Unknown packet type 58 encountered! Unable to proceed." might mean?
For context, I'm trying to get video from NBCOlympics and using the AdobeHDS manifest command only grabs keyframes. If I can get it with ffmpeg, that's the simplest way, but so far 2 of the 4 programs I've tried to download that way have hiccups in them and I can't seem to get the -ss and -t switches to work properly. Therefore, I'm using DownloadThemAll on these problem programs to get all the audio and video Seg1-Frag files and try to join them with AdobeHDS.php before muxing them. I can get big chunks of the program to join and mux perfectly, but it's a real pain when it bumps into these impossible packets several times in a program because of how difficult it is to identify the exact fragments it happens on.
Anybody have any ideas or thoughts on this?
nwtim
02-25-2014, 12:39 PM
Anybody know what the error "Unknown packet type 58 encountered! Unable to proceed." might mean?
For context, I'm trying to get video from NBCOlympics and using the AdobeHDS manifest command only grabs keyframes. If I can get it with ffmpeg, that's the simplest way, but so far 2 of the 4 programs I've tried to download that way have hiccups in them and I can't seem to get the -ss and -t switches to work properly. Therefore, I'm using DownloadThemAll on these problem programs to get all the audio and video Seg1-Frag files and try to join them with AdobeHDS.php before muxing them. I can get big chunks of the program to join and mux perfectly, but it's a real pain when it bumps into these impossible packets several times in a program because of how difficult it is to identify the exact fragments it happens on.
Anybody have any ideas or thoughts on this?I think this issue has been resolved. First, KSV explained (in my thread, Stream Capture from NBCOlympics (http://stream-recorder.com/forum/stream-capture-nbcolympics-t16887.htmlhttp://)) that DownloadThemAll sometimes saves the error message sent by the server instead of actual fragment data, so I was probably trying to join incompatible file content. Also, kudos to KSV for adding a -debug switch to his AdobeHDS.php script. It provides a simple way to differentiate between keyframe streams and fragment streams. See http://stream-recorder.com/forum/showpost.php?p=64938&postcount=38 for description.
The problem with not being able to get a complete event captured appears to be related to internet connection dropouts, but the jury is still out on that.
Also, kudos to KSV for adding a -debug switch to his AdobeHDS.php script. It provides a simple way to differentiate between keyframe streams and fragment streams. See http://stream-recorder.com/forum/showpost.php?p=64938&postcount=38 for description.
Actually 'debug' switch isn't a new addition. it was already there. real bug was not detecting some of the streams available due to same bitrate value used for keyframe stream and actual video stream which was fixed in latest commit (https://github.com/K-S-V/Scripts/commit/96da35ea2a339e09964ee4168b3e63dae6239289).
Rags32
03-15-2014, 09:16 AM
Hi!
I have a problem playing a stream from swedish SVT Play and even downloading the stream from them.
http://svt12-lh.akamaihd.net/z/svt12_0@77507/manifest.f4m?g=UYLBFYCOSPTH&hdcore=3.2.0
Here is the livestream of channel 2.
I'm using this command without any luck.
php (path)\AdobeHDS.php --manifest http://svt12-lh.akamaihd.net/z/svt12_0@77507/manifest.f4m?g=UYLBFYCOSPTH&hdcore=3.2.0 --play | C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=10000 -
I've also tried downloading stream from them without any luck with this command.
php (path)\AdobeHDS.php --manifest http://svtplay6n-f.akamaihd.net/z/se/open/20140302/1364922-002A/FOTBOLL-002A-9fb111570d91e738_,900,348,564,1680,2800,.mp4.csmil/manifest.f4m?g=MVIHYHRUUKDW&hdcore=3.1.0 --delete --outdir path --outfile test5
I would be thankful if you could help me with this. You'll need swedish IP to try this out. Below is a proxy that works just fine.
176.61.136.2:8080
php AdobeHDS.php -manifest "http://svt12-lh.akamaihd.net/z/svt12_0@77507/manifest.f4m?g=UYLBFYCOSPTH&hdcore=3.2.0" -proxy 176.61.136.2:8080 -fproxy
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 2796 1680 987 564 348 240
Selected : 2796
Fragments Total: 8195297, First: 7314998, Start: 8195296, Parallel: 8
This stream is encrypted with Akamai DRM. Decryption of such streams isn't currently possible with this script.
Do you have any plans to enable downloading of DRM protected videos? Or is there any possibility to download DRM videos for now with some other script, for example?
Bizzo
03-29-2014, 06:03 AM
I don't manage to make the --rename switch work, i.e. it has no effect whatever I do. Anyone who has tried it out?
Patchy1986
04-06-2014, 08:25 AM
Hi I keep getting this error I am a bit of a newbie but I do have curl registered in my Path in variables.
You have to install the following extension(s) to continue: 'curl'
Windows Vista.
Edit I installed the wrong php. Working now
sscomp32
04-13-2014, 05:11 AM
Cant download video from this link using the script.
http://www.starsports.com/cricket/video/vod/videoid=1318932/index.html#ipl-leg-spin-renaissance-version
It says access denied. :confused:
Somebody please help.
jrk1m90
04-16-2014, 01:00 AM
Hello KSV,
I downloaded all the video parts (using the mozilla add-on "flashgot").
However, the VLC don't play. How can i join the parts?
OBS: The video is protected with DRM. It is a problem to play the video?
Sorry for the "bad english".
overhere
04-21-2014, 12:56 AM
Hello guys.
I ran into some problem with the following stream.
http://www.svtplay.se/video/602938/del-1
I've updated the script to latest.
I've ran it with debug option and got this output in the end.
php AdobeHDS.php -debug --delete --manifest "http://svtplay13j-f.akamaihd.net/z/se/secure/20140326/1136397-001A/A_GURLS_WURLD-001A-1b500bc0b6f79f31_,900,348,564,1680,2800,.mp4.csmil/manifest.f4m?hdcore=2.8.0&g=EKOFQWLBHUVZ" --outfile "test"
KSV Adobe HDS Downloader
Processing manifest info....
Manifest Entries:
Bitrate URL
2792 4_2dbc92db08d2df60_
1679 3_2dbc92db08d2df60_
986 0_2dbc92db08d2df60_
562 2_2dbc92db08d2df60_
346 1_2dbc92db08d2df60_
Quality Selection:
Available: 2792 1679 986 562 346
Selected : 2792
Segment Tables:
Table 1:
Number Fragments
1 241
Fragment Tables:
Table 1:
Number Timestamp Duration Discontinuity
1 0 6000
241 1440000 8661
0 0 0 0
Fragments Total: 241, First: 1, Start: 1, Parallel: 8
Base Fragment Url:
http://svtplay13j-f.akamaihd.net/z/se/secure/20140326/1136397-001A/A_GURLS_WURLD-001A-1b500bc0b6f79f31_,900,348,564,1680,2800,.mp4.csmil/4_2dbc92db08d2df60_
Downloading Fragments:
Adding fragment 1 to download queue
Adding fragment 2 to download queue
Adding fragment 3 to download queue
Adding fragment 4 to download queue
Adding fragment 5 to download queue
Adding fragment 6 to download queue
Adding fragment 7 to download queue
Adding fragment 8 to download queue
Access Denied! Unable to download fragments.
It's not indicated as protected/encrypted but still I can't get it.
An ideas?
Edit:
Tried the Link detector and using the command it created it seems that this stream was indeed using DRM.
This stream is encrypted with Akamai DRM. Decryption of such streams isn't currently possible with this script.
To download from http://svtplay.se you should use http://svtget.se
(https://github.com/mmn/svtget/raw/master/bash/svtget)
It works.
How to download geo-blocked videos from Svt play?
Hello!
How to download in 720p or 1080p? Im only able to get 1024x576....
And is there a addon for chrome available? or similar?
itosteek
06-13-2014, 11:44 AM
Hello guys.
I ran into some problem with the following stream.
http://www.svtplay.se/video/602938/del-1
I've updated the script to latest.
I've ran it with debug option and got this output in the end.
php AdobeHDS.php -debug --delete --manifest "http://svtplay13j-f.akamaihd.net/z/se/secure/20140326/1136397-001A/A_GURLS_WURLD-001A-1b500bc0b6f79f31_,900,348,564,1680,2800,.mp4.csmil/manifest.f4m?hdcore=2.8.0&g=EKOFQWLBHUVZ" --outfile "test"
KSV Adobe HDS Downloader
Processing manifest info....
Manifest Entries:
Bitrate URL
2792 4_2dbc92db08d2df60_
1679 3_2dbc92db08d2df60_
986 0_2dbc92db08d2df60_
562 2_2dbc92db08d2df60_
346 1_2dbc92db08d2df60_
Quality Selection:
Available: 2792 1679 986 562 346
Selected : 2792
Segment Tables:
Table 1:
Number Fragments
1 241
Fragment Tables:
Table 1:
Number Timestamp Duration Discontinuity
1 0 6000
241 1440000 8661
0 0 0 0
Fragments Total: 241, First: 1, Start: 1, Parallel: 8
Base Fragment Url:
http://svtplay13j-f.akamaihd.net/z/se/secure/20140326/1136397-001A/A_GURLS_WURLD-001A-1b500bc0b6f79f31_,900,348,564,1680,2800,.mp4.csmil/4_2dbc92db08d2df60_
Downloading Fragments:
Adding fragment 1 to download queue
Adding fragment 2 to download queue
Adding fragment 3 to download queue
Adding fragment 4 to download queue
Adding fragment 5 to download queue
Adding fragment 6 to download queue
Adding fragment 7 to download queue
Adding fragment 8 to download queue
Access Denied! Unable to download fragments.
It's not indicated as protected/encrypted but still I can't get it.
An ideas?
Edit:
Tried the Link detector and using the command it created it seems that this stream was indeed using DRM.
This stream is encrypted with Akamai DRM. Decryption of such streams isn't currently possible with this script.
2 months ago i was able to download from nbc.com
but now, i have exactly the same problem,
i don't know what to do
:mad:
Access Denied! Unable to download fragments.
Hello, Any help would be greatly appreciated.
Manifest link (expires quickly):
http://vod-s.fwc2014.sbs.com.au/b19e0c0e-9034-47d9-ac78-0763c6e47cf4/69406c00-8ea5-4616-a366-6cd6ba926973.ism/manifest?hdnea=st=1402731039~exp=1402731069~acl=/*~hmac=a4fc8ccd599725968184fd0f0beba07fdfa3db9aa2d 47c2762eb0f3bcdc4c434
Command:
php AdobeHDS.php --debug --manifest "http://vod-s.fwc2014.sbs.com.au/b19e0c0e-9034-47d9-ac78-0763c6e47cf4/69406c00-8ea5-4616-a366-6cd6ba926973.ism/manifest?hdnea=st=1402731039~exp=1402731069~acl=/*~hmac=a4fc8ccd599725968184fd0f0beba07fdfa3db9aa2d 47c2762eb0f3bcdc4c434"
Error recieved:
KSV Adobe HDS Downloader
Processing manifest info....
Notice: Undefined index: in D:\php\AdobeHDS.php on line 423
No media entry found
Manifest information:
Duration: 02:35:55.6333333
Stream 1:
AAC 1 channels 44100 Hz @ 48 kbps
Stream 2:
H264 1280x720 (1280x720) @ 3450 kbps
H264 1024x576 (1024x576) @ 2200 kbps
H264 768x432 (768x432) @ 1400 kbps
H264 640x360 (640x360) @ 950 kbps
H264 512x288 (512x288) @ 600 kbps
H264 384x216 (384x216) @ 400 kbps
H264 384x216 (384x216) @ 250 kbps
H264 256x144 (256x144) @ 150 kbps
Saved manifest file:
https://www.mediafire.com/?26mf9s1qdrchd15
Additional information:
The fragments are like this:
Fragments(video=600520000000)
Fragments(audio_0=628350900680)
ect.
When I download them manually no player seems to be able to play them. (ie. VLC, MediaInfo)
HDS Link detector does not find any links. I have to use urlsnooper to find the manifest link.
em_dai_kho
06-23-2014, 09:45 AM
Error ???
http://farm3.staticflickr.com/2924/14488581664_f634abb984_o.png
seriousdizzle
06-27-2014, 11:25 AM
Greetings.
I have used AdobeHDS.php to successfully download from manifest. (Thanks!!)
Is this possible to replicate in a live enviroment (ie, flash player).
Also, if you don't mind - is it possible to shed light on the type of security used for this stream? Thanks so much!!
Replaced my IP with local host 127.0.0.1
php AdobeHDS.php --manifest "http://cbsbigbrother-lh.akamaihd.net/z/BBLIVE062714xEEF5_1@107804/manifest.f4m?&start=1403852400&b=200-&hdnea=ip=127.0.0.1~st=1403889913~exp=1403890033~ac l=/*BBLIVE062714xEEF5_*@107804*~hmac=e74dce963141e108 9ad50ac4ac74d4eb5299711c6e295d40726b62f00ee97ebc&g=UDURBXODXFXP&hdcore=3.1.0" --delete --auth "b=0-300&start=1403852400&hdcore=3.1.0" --useragent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0"
FrankSR
06-27-2014, 02:39 PM
Greetings.
I have used AdobeHDS.php to successfully download from manifest. (Thanks!!)
Is this possible to replicate in a live enviroment (ie, flash player).
Also, if you don't mind - is it possible to shed light on the type of security used for this stream? Thanks so much!!
Replaced my IP with local host 127.0.0.1
php AdobeHDS.php --manifest "http://cbsbigbrother-lh.akamaihd.net/z/BBLIVE062714xEEF5_1@107804/manifest.f4m?&start=1403852400&b=200-&hdnea=ip=127.0.0.1~st=1403889913~exp=1403890033~ac l=/*BBLIVE062714xEEF5_*@107804*~hmac=e74dce963141e108 9ad50ac4ac74d4eb5299711c6e295d40726b62f00ee97ebc&g=UDURBXODXFXP&hdcore=3.1.0" --delete --auth "b=0-300&start=1403852400&hdcore=3.1.0" --useragent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:30.0) Gecko/20100101 Firefox/30.0"
seriousdizzle,
how exactly have you gotten that url? Is it "long lived" or do you quickly need to use it? I'm pretty sure I can find mine using the Chrome developer console but is there a better way?
Ideally, I would want to use a script to capture the BB live feeds and automatically resume when capture stops for whatever reason.
aporeg
06-28-2014, 04:42 PM
seriousdizzle,
how exactly have you gotten that url? Is it "long lived" or do you quickly need to use it? I'm pretty sure I can find mine using the Chrome developer console but is there a better way?
Ideally, I would want to use a script to capture the BB live feeds and automatically resume when capture stops for whatever reason.
Use the HDS Link Detector addon for Firefox to create the proper link
FrankSR
06-29-2014, 08:24 PM
Ok so I'm managing to capture the streams I want pretty well.
I would like to be able to to separate the download of the fragments and the processing to a flv file.
I know how to process the fragments to create a flv.
Is it possible to download fragments and NOT create a flv at the same time? For now I'm just not using the --delete switch to keep the fragments and I manually delete the flv.
I would also like to specify a name for the downloaded fragments so they would be: "MyNameFrag12345" etc
Is that what the --rename switch does?
geostein8888
07-07-2014, 07:35 AM
Hello,
the tool is very nice. I also work on something similar but written in c++ with a guid, so perhaps somebody can help me here a little bit to figure out who I have to extract the actual segment number for a live stream from the bootstrap file. There is almost no info in the web or I'm blind and could not find it, I only found a white paper from adobe about the manifest file.
with regards georg
WarrenMax007
07-12-2014, 08:23 AM
Is there a way to download only audio without video?
leonaheidern
08-03-2014, 03:38 AM
Hi
Is there anyway to get this to run via task scheduler on synology DS414 NAS?
I am a total noob in PHP but I put this AdobeHDS.php, (cookies.txt from my google chrome browser) and PHP.ini into the /volume1/web/AdobeHDS folder in my NAS.
I was able to putty in and run the script manually and this is the output.
SynologyDS414NA> php AdobeHDS.php --manifest "http://nhkworld-hds-live1.hds1.fms
live.stream.ne.jp/hds-live/nhkworld-hds-live1/_definst_/livestream/nhkworld-live
-512.f4m" --delete --outfile /volume1/Movies/a.flv
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 1
Selected : 1
Fragments Total: 650688, First: 650597, Start: 650687, Parallel: 8
Cstrap info, Retries: 1
I cannot figure out how to get it to run in task scheduler though.
Can anyone help me?
Thank You very much for the assistance.
leonaheidern
08-03-2014, 04:11 AM
If it helps the NAS is running this verison pf PHP
SynologyDS414NA> php -v
PHP 5.5.13 (cli) (built: May 30 2014 11:50:38)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies
SynologyDS414NA>
inquisitor
08-11-2014, 01:46 PM
I tried to download a video with KSV's Adobe HDS Downloader. It failed and gave this error message: "This stream is encrypted with Akamai DRM. Decryption of such streams isn't currently possible with this script."'
I used FDM to download all of the fragments. And of course I get the same error message when using AdobeHDS on the downloaded fragments.
What should I do with these fragments; should I save them; is there another way to decrypt and assemble them, or will there be a way in the future?
seriousdizzle
08-22-2014, 07:04 PM
Greetings,
Sorry if this has been asked before. But is there a way to use the hds downloader output, as a source for ffmpeg?
Or, is there a way to use hds downloader to push to an rtmp destination instead of vlc? (This is what I would use ffmpeg for).
Thanks so much. :)
jessyrichard
09-06-2014, 08:43 PM
I have using Adobe HDS Downloader for 2 years.
The script are working very well for me.
I haven't got even an error until now.
I have a question about the script.
Last week, I accidentally closed the command line while the downloading are continuing, after %90 of the downloading is complete.
There are seg-frag files in my Adobe HDS Downloader folder.
How can I join them as manually for watch %90 of the video?
Is there a way for that?
Thank you very much for your help.
slim10
09-06-2014, 10:01 PM
I have using Adobe HDS Downloader for 2 years.
The script are working very well for me.
I haven't got even an error until now.
I have a question about the script.
Last week, I accidentally closed the command line while the downloading are continuing, after %90 of the downloading is complete.
There are seg-frag files in my Adobe HDS Downloader folder.
How can I join them as manually for watch %90 of the video?
Is there a way for that?
Thank you very much for your help.
Read the section "Offline fragment processing":
https://github.com/K-S-V/Scripts/wiki
denobis
09-09-2014, 08:29 AM
Hi,
for some videos, like http://www.dailymotion.com/video/x24u2h3,
the script fails. With these changes works:
************************************************
869 // Extract baseFilename
870 $this->baseFilename = $this->media['url'];
to
// Extract baseFilename
$this->baseFilename = explode("?",$this->media['url'])[0];
if ($this->auth=="") $this->auth="?".explode("?",$this->media['url'])[1];
************************************************
and
886 $this->fragUrl = AbsoluteUrl($this->baseUrl, $this->media['url']);
to
$this->media['url']=explode("?",$this->media['url'])[0];
$this->fragUrl = AbsoluteUrl($this->baseUrl, $this->media['url']);
**************************************************
I dont know if these changes break other streams.
maniac8828
10-15-2014, 01:01 AM
I keep getting the below error when I tried to download a video:
Processing manifest info....
Access Denied! Unable to download the manifest.
I am new to this. Can anyone help?
Thanks in advance :)
Hatchet
10-15-2014, 02:27 AM
Video url?
maniac8828
10-15-2014, 03:20 AM
Video url?
http://colors.in.com/in/biggboss/videos/bigg-boss-8-full-episode23-october-14th-2014-10101036-2.html#nav
Sorry missed it :P
Hatchet
10-15-2014, 04:04 AM
I keep getting the below error when I tried to download a video:
Processing manifest info....
Access Denied! Unable to download the manifest.
Use this with an an Indian proxy/vpn (if you live outside India) to get your command line:
https://addons.mozilla.org/en-US/firefox/addon/hds-link-detector/
php AdobeHDS.php --manifest "http://vodcolors-vh.akamaihd.net/z/revamp/14102014/BIGGBOS8EPISODEP23/SEGWHOLE-,256000,512000,712000,.mp4.csmil/manifest.f4m?hdnea=st=1413365954~exp=1413365984~ac l=/*~hmac=fc97ded0f6596571a3e4a4d4c57f2693f831c9708db e9561a480ab4cd3a1263b&jwstreamtype=hds&g=HQFPLWARZNSP&hdcore=3.3.0&plugin=jwplayer-3.3.0.0" --delete --auth "hdntl=exp=1413452358~acl=%2f*~data=hdntl~hmac=8537 f7f25ec16db76fb6e91d76680954b96d4c1f8046cf0db9e57d 625491fe2a&jwstreamtype=hds&als=0,3,NaN,0,0,NaN,0,0,0,19,f,0,2725.06,f,s,HQFPL WARZNSP,3.3.0,19&hdcore=3.3.0&plugin=jwplayer-3.3.0.0" --useragent "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0"
http://thumbnails109.imagebam.com/35792/374d0a357918782.jpg (http://www.imagebam.com/image/374d0a357918782)
denobis
10-15-2014, 04:40 AM
There is a m3u8 stream
http://vodcolors-vh.akamaihd.net/i/revamp/10102014/BIGGBOS8EPISODEP19/SEGWHOLE-,256000,512000,712000,.mp4.csmil/index_2_av.m3u8?null=
with atresdownloader
maniac8828
10-15-2014, 07:19 AM
Use this with an an Indian proxy/vpn (if you live outside India) to get your command line:
https://addons.mozilla.org/en-US/firefox/addon/hds-link-detector/
php AdobeHDS.php --manifest "http://vodcolors-vh.akamaihd.net/z/revamp/14102014/BIGGBOS8EPISODEP23/SEGWHOLE-,256000,512000,712000,.mp4.csmil/manifest.f4m?hdnea=st=1413365954~exp=1413365984~ac l=/*~hmac=fc97ded0f6596571a3e4a4d4c57f2693f831c9708db e9561a480ab4cd3a1263b&jwstreamtype=hds&g=HQFPLWARZNSP&hdcore=3.3.0&plugin=jwplayer-3.3.0.0" --delete --auth "hdntl=exp=1413452358~acl=%2f*~data=hdntl~hmac=8537 f7f25ec16db76fb6e91d76680954b96d4c1f8046cf0db9e57d 625491fe2a&jwstreamtype=hds&als=0,3,NaN,0,0,NaN,0,0,0,19,f,0,2725.06,f,s,HQFPL WARZNSP,3.3.0,19&hdcore=3.3.0&plugin=jwplayer-3.3.0.0" --useragent "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0"
http://thumbnails109.imagebam.com/35792/374d0a357918782.jpg (http://www.imagebam.com/image/374d0a357918782)
Thanks for replying. I did the same in PHP but I am still getting the error below:
http://i1288.photobucket.com/albums/b492/maniac8828/CaptureError_zpsbd6cdd67.jpg
maniac8828
10-15-2014, 07:22 AM
There is a m3u8 stream
http://vodcolors-vh.akamaihd.net/i/revamp/10102014/BIGGBOS8EPISODEP19/SEGWHOLE-,256000,512000,712000,.mp4.csmil/index_2_av.m3u8?null=
with atresdownloader
How do it use it? I tried downloading the video using Adownloader but it doesn't download the whole thing. Just ~20 mins of video.
denobis
10-15-2014, 07:37 AM
How do it use it? I tried downloading the video using Adownloader but it doesn't download the whole thing. Just ~20 mins of video.
i've downloaded 45.25'
maniac8828
10-15-2014, 10:15 AM
i've downloaded 45.25'
How are you able to do it?
Do I have to play the full video in firefox first or something like that?
Also if it can be downloaded using software then why it is not working using AdobeHDS.php?
denobis
10-15-2014, 11:23 AM
You only need to download with proxy the manifest while the chunks are location-free. Try several times cause free indian-proxies are hard.
maniac8828
10-15-2014, 11:42 AM
You only need to download with proxy the manifest while the chunks are location-free. Try several times cause free indian-proxies are hard.
Sorry, unable to comprehend your message.
You mean to say I should keep running the AdobeHDS.php script? I have already tried that several times.
Everytime I get access denied error.
denobis
10-15-2014, 01:51 PM
Sorry, unable to comprehend your message.
You mean to say I should keep running the AdobeHDS.php script? I have already tried that several times.
Everytime I get access denied error.
With the program adownloader works so try it. I've checked it just with your link. With adobehds you need to pass a valid proxy or install a vpn.
maniac8828
10-15-2014, 10:30 PM
With the program adownloader works so try it. I've checked it just with your link. With adobehds you need to pass a valid proxy or install a vpn.
Adownloader works but it doesn't download the full video most of the time. Sometimes it downloads the entire 45 mins but other times it does only ~37 mins. So the last part of the video is getting cut. I have to download same video multiple times to get 1 copy which is full video.
Is there a step I am missing? Do I have to play the full video once in my browser?
You will know what I am talking about by looking at the image below:
The first time I downloaded the video, it downloaded 210MB (length 34:10 mins) (Box no. 2 in pic). This was not the full video which is approx (~45 mins).
Then I tried to download the video again. This time it downloaded only 67 MB (length 14:10).
334
Both times the % in the tool was showing 100% and it was downloading approx. 300 MB of data, but the output video after the tool joins all the fragments turns out to be incomplete.
Any idea why this is happening? Also I only come to know that video has been downloaded by looking at downloads folder in the directory. The tool itself doesn't give any message like "complete". Is this how it is supposed to be?
maniac8828
10-16-2014, 06:42 AM
There is a m3u8 stream
http://vodcolors-vh.akamaihd.net/i/revamp/10102014/BIGGBOS8EPISODEP19/SEGWHOLE-,256000,512000,712000,.mp4.csmil/index_2_av.m3u8?null=
with atresdownloader
How to I get this and use it. I have tried AdobePHP till now with no success. Not tried m3u8 method as I am not sure how to use it.
denobis
10-16-2014, 07:19 AM
http://s27.postimg.org/og4wkb2j7/colors.jpg
maniac8828
10-16-2014, 08:17 AM
http://s27.postimg.org/og4wkb2j7/colors.jpg
Wow, it is coming perfectly for you full length.
Don't know why for me it is very random :(
I can see that all fragments are getting downloaded approx. 304 MB (see below) but somehow the video turns out to be lesser in size when the fragments get joined at the end of the process..
335
336
Anything I can do to get it working properly? Any settings change?
maniac8828
11-02-2014, 01:32 AM
Can anyone help me get the link for this video from HDS link detector?
http://colors.in.com/in/biggboss/videos/bigg-boss-8-full-episode41-november-1st-2014-10102171-2.html#nav
For some strange reason HDS link detector is not popping up the link for the video...
eclaires
11-09-2014, 11:36 AM
Are there any efforts to get around the restrictions of flashaccess and the annoying akamai drm?
Couldn't find any research on that problem so far.
jsparrow
11-10-2014, 10:04 PM
http://s27.postimg.org/og4wkb2j7/colors.jpg
Hey could you please give me the adownloader link,
I am not able to find the link to download it.
thanks in advance
eclaires
11-17-2014, 10:34 AM
Downloading 135/361 fragments
Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate
5163817 bytes) in C:\PHP_Leecher\AdobeHDS.php on line 1014
i have 8GB RAM and 120GB diskspace free, how can i avoid that exhaustion?
Greetings fellow video download enthusiasts. I have been using HDSdump.exe recently and have created a few batch files to automate things a bit. Just thought I would share these to see if they might be of any use to anyone and see if any actual programmers might be able to improve on them.
I am in Canada and have only tested them on a couple of sites such as cbc.ca and thecomedynetwork.ca, but they should work on any site that uses unencrypted .f4m manifest files.
CBC uses an unencrypted stream spliced into .f4v files referenced by an .f4m manifest file which is easily revealed by the HDS.Link.Detector Firefox Plugin.
However, with Thecomedynetwork site, The link detector doesn't work since it only captures the first .f4m link out of a possible 9. The first link does not contain the proper information, but the next 8 links will work fine with HDSdump and each link represents a resolution/quality setting. To find the links, I just use the firefox console (press f12) and enter .f4m in the filter box on the right.
Once I see the list of links, I further filter it down to one link according to the desired quality. For example, to get the best quality link, I would type "8.mp4.f4m". Each video is further spliced into multiple segments corresponding to the commercial breaks. To get the full list of .f4m url's, I just drag the video seek button onto each segment briefly until the .f4m link appears, then pause the video on the last segment.
Now you can "select all" and select "copy url" (right-click context). The url's need to each be on a separate line and sometimes windows or firefox copies them all to one line, so paste into a text editor to verify. You can also use URLsnooper to get the links as well.
In order to make things easy and universal, my batch file just takes the list of url's or single url directly from the clipboard and puts them into a temp file which is processed and deleted. I use a modified version of the HDS.Link.Detector that only captures the url to get the single .f4m file links on CBC.ca. Then the links are processed in the batch file using HDSdump.exe, but it should be trivial to modify it to use the Adobe.HDS.php script.
To make it all work, you need HDSdump.exe, ffmpeg, and a tiny exe file called paste.exe which is needed to paste the clipboard contents into a temp file.
https://github.com/WendyH/hdsdump/releases
http://www.c3scripts.com/tutorials/msdos/paste.html
http://ffmpeg.zeranoe.com/builds/
ffmpeg is used to stitch or join the flv segments from multi-segment sites like thecomedynetwork.ca and also remux the files to MP4. Remuxing is much quicker than re-encoding and the result should be playable on most devices that can handle mp4 h.264 video.
The batch file tries to capture a unique filename from the url using some "delimited FOR loops" but it may not be perfect for every site. You will likely have to edit the filename once the download is done.
So here is the batch file for handling the multi-part videos which also works for single part videos as well:
Download.HDS.Video.bat
@echo off
setlocal enableextensions enabledelayedexpansion
SET TEMPFILE=%DATE:~-4%%DATE:~4,2%%DATE:~7,2%_%TIME:~0,2%%TIME:~3,2%%TI ME:~6,2%
paste > %TEMPFILE%.tmp
set /p firstline=<%TEMPFILE%.tmp
for /f "tokens=1 delims=? " %%a in ("!firstline!") do (set TITLE=%%a)
for /f "tokens=1 delims=, " %%a in ("!TITLE!") do (SET TITLE=%%~nxa)
for /f "tokens=1-4 delims=- " %%b in ("!TITLE!") do (SET MP4TITLE=%%b_%%c_%%d_%%e)
rem echo %MP4TITLE%
SET /A COUNT=0
for /f "tokens=*" %%a in (%TEMPFILE%.tmp) do (SET /A COUNT+=1
hdsdump -m "%%a" -o %MP4TITLE%!COUNT!.flv
echo file %MP4TITLE%!COUNT!.flv>>Filelist.%TEMPFILE%.tmp)
del %TEMPFILE%.tmp
echo "Download Complete. Files will now be joined"
Pause
ffmpeg -f concat -i Filelist.%TEMPFILE%.tmp -c copy -copyts %MP4TITLE%.mp4
del Filelist.%TEMPFILE%.tmp
echo "All finished. Temp FLV files will now be deleted"
pause
del %MP4TITLE%*.flv
timeout /T 3I will also post an earlier version that works for a singlle url, and one that works for .M3U8 playlist files.
Here's a simpler batch file I created to download a single segment .f4m file and convert to MP4:
Get.F4M.Video.bat
@echo off
SET TEMPFILE=%DATE:~-4%%DATE:~4,2%%DATE:~7,2%_%TIME:~0,2%%TIME:~3,2%%TI ME:~6,2%
paste > %TEMPFILE%.txt
set /p URL1=<%TEMPFILE%.txt
del %TEMPFILE%.txt
hdsdump -m "%URL1%" -o %TEMPFILE%.flv
Choice /M "Download complete. Do you want to convert to MP4"
If Errorlevel 2 Goto No
If Errorlevel 1 Goto Yes
Goto End
:No
Goto End
:Yes
ffmpeg -i %TEMPFILE%.flv -c copy -copyts Video%TEMPFILE%.mp4
echo "Deleting TEMP FLV file"
timeout /T 3
del %TEMPFILE%.flv
:End
This is for downloading .M3U8 playlist files. It only uses ffmpeg.
Get.M3U8.Video.bat
@echo off
SET TEMPFILE=%DATE:~-4%%DATE:~4,2%%DATE:~7,2%_%TIME:~0,2%%TIME:~3,2%%TI ME:~6,2%
paste > %TEMPFILE%.txt
set /p URL1=<%TEMPFILE%.txt
del %TEMPFILE%.txt
ffmpeg -user-agent "Mozilla/5.0 (Windows NT 6.1)" -i %URL1% -c copy Video%TEMPFILE%.ts
Choice /M "Download complete. Do you want to convert to MP4"
If Errorlevel 2 Goto No
If Errorlevel 1 Goto Yes
Goto End
:No
Goto End
:Yes
ffmpeg -i %TEMPFILE%.ts -c copy -copyts Video%TEMPFILE%.mp4
echo "Deleting TEMP FLV file"
timeout /T 2
del %TEMPFILE%.ts
:End
Whoops. Already discovered a major bug with my script. The timestamp code at the top generates a name with a space if the time is single digits, which messes up the whole script.
So I replace with the following to make it more reliable:
set d=%date:~-4,4%%date:~-7,2%
set d=%d: =_%
set t=%time:~0,2%%time:~3,2%%time:~6,2%
set t=%t: =0%
SET TEMPFILE=%d%_%t%
I am not a programmer, so I'm sure there may be much better ways to do this, but this seems to work for now. I have also tested it on Discovery.ca and it is working well. The only issue I seem to run into is copying the links from Firefox seems inconsistent. Sometimes I have to select "copy" instead of "copy url" to get anything, but then I have to edit out the GET commands and trailing gobbledegook. UrlSnooper might be a better way to go.
Somewhat improved script. Does a better job of getting the MP4 filename correctly.
@echo off
setlocal enableextensions enabledelayedexpansion
set d=%date:~-4,4%%date:~-7,2%
set d=%d: =_%
set t=%time:~0,2%%time:~3,2%%time:~6,2%
set t=%t: =0%
SET TEMPFILE=%d%_%t%
paste>%TEMPFILE%.tmp
set /p firstline=<%TEMPFILE%.tmp
for /f "tokens=1 delims=?;&~ " %%a in ("!firstline!") do (set TITLE=%%a)
:: To delete everything after the string '.mp4'
:: first get '.mp4' and everything before it
SET _endbit=%TITLE:*.mp4=%
:: Echo We dont want: [%_endbit%]
::Now remove this from the original string
CALL SET _result=%%TITLE:%_endbit%=%%
:: echo %_result%
SET TITLE=%_result%
for /f "tokens=1 delims=" %%a in ("!TITLE!") do (SET TITLE=%%~nxa)
for /f "tokens=1-5 delims=-_" %%b in ("!TITLE!") do (SET MP4TITLE=%%b_%%c_%%d_%%e_%%f)
SET /A COUNT=0
for /f "tokens=*" %%a in (%TEMPFILE%.tmp) do (SET /A COUNT+=1
hdsdump -m "%%a" -o %MP4TITLE%.!COUNT!.flv
echo file %MP4TITLE%.!COUNT!.flv>>Filelist.%TEMPFILE%.tmp
)
del %TEMPFILE%.tmp
echo "%MP4TITLE%"
echo "Download Complete. Files will now be joined"
Pause
ffmpeg -f concat -i Filelist.%TEMPFILE%.tmp -c copy -copyts %MP4TITLE%.mp4
del Filelist.%TEMPFILE%.tmp
echo "All finished. Temp FLV files will now be deleted"
pause
del %MP4TITLE%*.flv
timeout /T 3
hyperactive
11-26-2014, 04:08 AM
Hello there.
I'm having difficulty downloading a story from ABC Iview.
I managed to get the Url for the manifest using URL snooper, but when I try to use php and adobe HDS to download the file, I get access denied, unable to download fragments
Here is the URL where you can start the story playing
I hope someone can help.
http://iview.abc.net.au/programs/four-corners/NC1404H044S00#playing
btw: those of you who live outside of Australia will need to use an aussie proxy so you are not blocked from playing the story
when I get the URL to the manifest, it's different every time.
could this have anything to do with the fragments being unavailable, or is it another encrypted DRM scheme?
Try using the HDS Link Detector addon for firefox. It grabs the auth code which is required for this stream. Not sure how to find the auth code using URLsnooper. If anyone has some info on this, it would be greatly appreciated. How does one find the "auth" code for a given F4M manifest?
Looks like it is everything after the question mark '?' on the first fragment. So you just have to search for "Frag1" in URLSnooper.
hyperactive
11-29-2014, 11:15 PM
what does an auth code typically look like? is it as long as I think it is?
hyperactive
12-01-2014, 10:36 AM
Hi there.
Unfortunately, I am blind and I am not able to see images. I use a screen reader, and it doesn't read images, only typed text.
Also, I am unable to use the firefox addon. I don't know where on the screen to search for the auth code. Can you give me an example of what an auth code looks like?
Thanks.
hyperactive
12-01-2014, 10:11 PM
Hi. I am blind, I use a screen reading program, A picture will not work for me., I need specifics.
Do I understand correctly that the commandline to issue to php should look something like this:?
--auth pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a%7Edata %3DZXhwPTE0MTc1ODcwNDB+YWNsPSUyZip+ZGF0YT1wdmMsc35 obWFjPWMwODdjOTQxMGUxMTM4ZGNjNjQ5NWU2Y2U2YWQxMTIxY TE0MDgwMDVkYzI0Yjg3Mzc4MTFjOGExN2Y2YWZjNzg%3D%21Jc Omp/+8TJ9xOWqc00wwHa8eNHAGGmEDqJlXNJ44PWc%3D%7Ehmac%3D B36BA464C8D068F6B9E806276EA3E3F7F758F4D22A6B0023D1 0915965F627CBD&hdntl=exp=1417587040~acl=%2f*~data=hdntl~hmac=0d37 117984d8a67871fa79e19db619a458265d9b1c88853034b9cd d2c33fafab&hdcore=true&als=0,0.2,0,0,0,NaN,0,0,0,21,f,0,9,f,full,BGPMYRKT DBMN,2.11.3,21&hdcore=2.11.3 http://iview.abc.net.au/assets/swf/cineramaWrapper_236.swf?version=0.2 Cookie: _alid_=FQoK7BeTzOfS+RvrLmyyjw==; hdntl=exp=1417587040~acl=%2f*~data=hdntl~hmac=0d37 117984d8a67871fa79e19db619a458265d9b1c88853034b9cd d2c33fafab
Thanks.
hyperactive
12-03-2014, 06:59 PM
Can anyone out there help me with my auth code query? for some reason, everyone Else's posts after mine seem to have disappeared.
hyperactive
12-09-2014, 01:27 AM
come on guys, surely there must be someone out there able to answer a simple question?
oh, and just to make things interesting, I've discovered the curse of adobe access drm. I can download each fragment, but trying to join them together, let alone play them is a no go.
gnoname
12-30-2014, 10:36 PM
Hey KSV
Thx for your downloading tools.
Looks like they work well, however my first attempted download resulted in the dreaded DRM failure.
KSV Adobe HDS Downloader
Processing manifest info....
Quality Selection:
Available: 1491 1058 361 165
Selected : 1491
Fragments Total: 892, First: 1, Start: 1, Parallel: 8
This stream is encrypted with Akamai DRM. Decryption of such streams isn't currently possible with this script.
Yes, I've read all the previous 24 pages of this forum thread.
The DRM is a big PITA :mad:
harrybowls
01-04-2015, 06:22 PM
Been using your awesome script for awhile, but I'm having problems trying to download from
http://www.sbs.com.au/ondemand/video/375784003847/danger-5-s2-ep1
php AdobeHDS.php --manifest "http://sbsvodns-vh.akamaihd.net/z/vod/SBS_Production/managed/2014/12/30/2014-12-30_438703_,1500,1000,512,128,K.mp4.csmil/manifest.f4m?hdnea=st=1420418623~exp=1420436653~ac l=/*~hmac=bed3dc51e6629ac972bf4a44e12190ba7c4431e7493 2013c71a6eb9235b73468&g=RXEZNTXCBBKZ&hdcore=3.5.0" --delete --auth "hdntl=exp=1420505054~acl=%2f*~data=hdntl~hmac=7842 c1ec303f5a300364f711e30dac11fc6f6352eef18de93963ab 62a6153b00&als=0,3,NaN,1,0,NaN,0,0,0,45,f,0,1511.02,f,s,RXEZN TXCBBKZ,3.5.0,45&hdcore=3.5.0" --useragent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0"
Access Denied! Unable to Download Manifest.
What is it I can do to not have this happen, and also even when I've added a Proxy to the script, I still get (Because you have to be in Australia to view the site), Unable to download Manifest. Could someone please show me what I'm doing wrong. Thanks.
biezom
01-04-2015, 06:36 PM
Been using your awesome script for awhile, but I'm having problems trying to download from
http://www.sbs.com.au/ondemand/video/375784003847/danger-5-s2-ep1
What is it I can do to not have this happen, and also even when I've added a Proxy to the script, I still get (Because you have to be in Australia to view the site), Unable to download Manifest. Could someone please show me what I'm doing wrong. Thanks.
you can use php AdobeHDS.php --proxy ?????????? --manifest ..........
harrybowls
01-04-2015, 07:35 PM
I tried what you suggested, but then I get "Access Denied, unable to download Fragments".
biezom
01-04-2015, 08:14 PM
I tried what you suggested, but then I get "Access Denied, unable to download Fragments".
with the same proxy that you use in your browser?
sorry you need add --fproxy to force the fragments too
http://i62.tinypic.com/2mhiiiv.png
hyperactive
01-05-2015, 10:08 PM
what has happened to the author of adobe HDS? anyone know?
btw: I wish that getFLV was easy to use with my screen reader, but it's not. it's a real pain. Will get FLV work on adobe HDS links?
Thanks.
Avig70
01-21-2015, 11:01 PM
I'm trying to download from this link:
http://docu.nana10.co.il/Article/?ArticleID=1105053
When I right click the video after the quick commercial, I see it is of Adobe HDS version 3.4.0. HDS Link detector doesn't give any links as well as directly using the console.
DownloadHelper gives many MP2T files that I can download manually but it just takes forever.
Any advice?
biezom
01-21-2015, 11:26 PM
I'm trying to download from this link:
http://docu.nana10.co.il/Article/?ArticleID=1105053
When I right click the video after the quick commercial, I see it is of Adobe HDS version 3.4.0. HDS Link detector doesn't give any links as well as directly using the console.
DownloadHelper gives many MP2T files that I can download manually but it just takes forever.
Any advice?
you can use ffmpeg or livestreamer
ffmpeg -i http://nana10vod-vh.akamaihd.net/i/mediaroot/nana10/media/iiscdn/2015/01/selfie2Shelmiata9_,500,700,1000,1400,1800,.mp4.csm il/master.m3u8 -acodec copy -vcodec copy video.ts
livestreamer hlsvariant://http://nana10vod-vh.akamaihd.net/i/mediaroot/nana10/media/iiscdn/2015/01/selfie2Shelmiata9_,500,700,1000,1400,1800,.mp4.csm il/master.m3u8 best -o video.ts
Avig70
02-08-2015, 10:54 PM
you can use ffmpeg or livestreamer
ffmpeg -i http://nana10vod-vh.akamaihd.net/i/mediaroot/nana10/media/iiscdn/2015/01/selfie2Shelmiata9_,500,700,1000,1400,1800,.mp4.csm il/master.m3u8 -acodec copy -vcodec copy video.ts
livestreamer hlsvariant://http://nana10vod-vh.akamaihd.net/i/mediaroot/nana10/media/iiscdn/2015/01/selfie2Shelmiata9_,500,700,1000,1400,1800,.mp4.csm il/master.m3u8 best -o video.ts
This has worked perfectly BUT... Now I need another video and I don't know how to get the master.m3u8 link?
I've looked at the page source and I see no m3u8 nor manifest or mp4 or other clue as how to get the info.
Any help on further reading is welcome
biezom
02-08-2015, 11:59 PM
This has worked perfectly BUT... Now I need another video and I don't know how to get the master.m3u8 link?
I've looked at the page source and I see no m3u8 nor manifest or mp4 or other clue as how to get the info.
Any help on further reading is welcome
read this
http://stream-recorder.com/forum/showpost.php?p=73986&postcount=17
on step 4 search for '.m3u8' (without ' ')
JB1234
02-12-2015, 01:45 PM
Hey there,
I'm trying to download from a manifest and it doesn't seem to work.
The HDS Link Detector doesn't capture it, but downloading with Jakesta I got this manifest:
http://vod.yestve.co.il/vod/6e371d54-5762-402c-821a-b23b139e5242/CTM_Ingest/out/e15c416d-8381-4893-bc4a-a6f236c7ca85/Smooth_PC/TVE000626702__TS__DRM__MUTE__HSS__PC__ALL.ism/MANIFEST
And it only downloaded empty mkv files.
When I tried it with AdobeHDS.php I got:
Warning: simplexml_load_string(): Entity: line 1518: parser error : expected '>'
in D:\PHP\AdobeHDS.php on line 419
Warning: simplexml_load_string(): </SmoothStreamingMedia in D:\PHP\AdobeHDS.php
on line 419
Warning: simplexml_load_string(): ^ in D:\PHP\AdobeHDS.php
on line 419
Failed to load xml
Can you help me?
biezom
02-12-2015, 01:48 PM
Hey there,
I'm trying to download from a manifest and it doesn't seem to work.
The HDS Link Detector doesn't capture it, but downloading with Jakesta I got this manifest:
http://vod.yestve.co.il/vod/6e371d54-5762-402c-821a-b23b139e5242/CTM_Ingest/out/e15c416d-8381-4893-bc4a-a6f236c7ca85/Smooth_PC/TVE000626702__TS__DRM__MUTE__HSS__PC__ALL.ism/MANIFEST
And it only downloaded empty mkv files.
When I tried it with AdobeHDS.php I got:
Can you help me?
can you post original video link?
JB1234
02-12-2015, 01:58 PM
can you post original video link?
It's from this site:
https://go.yes.co.il/
I get the same error from the promo that starts automatically.
You might need an Israeli proxy to watch this.
vBulletin® , Copyright ©2000-2025, Jelsoft Enterprises Ltd.