PDA

View Full Version : Adobe HDS Downloader


Pages : 1 [2]

bipsen
02-16-2015, 05:25 AM
Hi

I'm trying to download - but no success...

Edit: Found solution - too old php installation on my host .... :-)

/B

JB1234
02-16-2015, 08:32 AM
Hi
I'm trying to download - but no success...
Edit: Found solution - too old php installation on my host .... :-)
/B
What command did you use? I installed php only a few days ago and it still did not work.

FreeLivesets
02-21-2015, 07:56 AM
as I can record this http://www.metro951.com/media-player/playerFF.html

php AdobeHDS.php --manifest "http://prepublish.g.qaotic.net/epb/ngrp:silvermix1-20032_all/manifest.f4m" --delete

KSV Adobe HDS Downloader

Processing manifest info....
Access Denied! Unable to download the manifest.

:confused:

biezom
02-21-2015, 08:29 AM
as I can record this http://www.metro951.com/media-player/playerFF.html

php AdobeHDS.php --manifest "http://prepublish.g.qaotic.net/epb/ngrp:silvermix1-20032_all/manifest.f4m" --delete

KSV Adobe HDS Downloader

Processing manifest info....
Access Denied! Unable to download the manifest.

:confused:

you can use livestreamer with the good useragent

livestreamer --http-header "User-Agent=Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_0 like Mac OS X; en-us)" hlsvariant://http://prepublish.g.qaotic.net/epb/ngrp:silvermix1-20032_all/playlist.m3u8 best -o video.ts

FreeLivesets
02-21-2015, 03:07 PM
perfect !! Thank you!!

thehidden80
02-24-2015, 10:58 AM
Hello everyone,

i have the problem that i become a "ACCESS DENIED" when i will downloading a video from this link.http://www.viewster.com/movie/1280-19209-001/die-neuen-chunin-pruefungen/

i get the manifest by HDS link detector and also i have install and running PHP with AdobeHDS.php

i also tested hdsdump.exe with the same results..... :mad:

When someone have a good idea or a helpful hint, i am very happy :D

test info:
php 5.6.6
php 5.4.38
running on win7

nullacht
03-13-2015, 01:49 AM
http://www.viewster.com/movie/1280-19209-001/die-neuen-chunin-pruefungen/

http://viewsteragile-vh.akamaihd.net/z/http_rtmpe/shared/s/viewster-0037-00-AkamaiHD/1280-19209-001_narutoshippuden-eps394_movie_viewster-0037-00-akamaihd_ja_en_x.smil/manifest.f4m?hdnea=ip=00.00.00.00~exp=1426246329~a cl=/z/http_rtmpe/shared/s/viewster-0037-00-AkamaiHD/1280-19209-001_narutoshippuden-eps394_movie_viewster-0037-00-akamaihd_ja_en_x.smil/*~hmac=80af2133e33b56b424b2290aa43e310c0470f34032a 969b087de9bc7f95b3049&g=JAJOMLLIEIUO&hdcore=3.2.0&plugin=flowplayer-3.2.0.1

hdsdump -m "http://viewsteragile-vh.akamaihd.net/z/http_rtmpe/shared/s/viewster-0037-00-AkamaiHD/1280-19209-001_narutoshippuden-eps394_movie_viewster-0037-00-akamaihd_ja_en_x.smil/manifest.f4m?hdnea=ip=00.00.00.00~exp=1426246329~a cl=/z/http_rtmpe/shared/s/viewster-0037-00-AkamaiHD/1280-19209-001_narutoshippuden-eps394_movie_viewster-0037-00-akamaihd_ja_en_x.smil/*~hmac=80af2133e33b56b424b2290aa43e310c0470f34032a 969b087de9bc7f95b3049&g=JAJOMLLIEIUO&hdcore=3.2.0&plugin=flowplayer-3.2.0.1"

Processing manifest info....
Quality Selection:
Available: 493 659 1107 1524
Selected : 1524
Downloading 1/231 fragments Current timestamp: 00:00:00

livestreamer "hds://viewsteragile-vh.akamaihd.net/z/http_rtmpe/shared/s/viewster-0037-00-AkamaiHD/1280-19209-001_narutoshippuden-eps394_movie_viewster-0037-00-akamaihd_ja_en_x.smil/manifest.f4m?hdnea=ip=00.00.00.00~exp=1426246329~a cl=/z/http_rtmpe/shared/s/viewster-0037-00-AkamaiHD/1280-19209-001_narutoshippuden-eps394_movie_viewster-0037-00-akamaihd_ja_en_x.smil/*~hmac=80af2133e33b56b424b2290aa43e310c0470f34032a 969b087de9bc7f95b3049&g=JAJOMLLIEIUO&hdcore=3.2.0&plugin=flowplayer-3.2.0.1 pvswf=http://divaag.vo.llnwd.net/o42/http_only/viewster_com/v25/flowplayer/flowplayer.commercial-3.2.7-3.swf" best -o 01.flv

[cli][info] Found matching plugin stream for URL hds://viewsteragile-vh.akamaihd.net/z/http_rtmpe/shared/s/viewster-0037-00-AkamaiHD/1280-19209-001_narutoshippuden-eps394_movie_viewster-0037-00-akamaihd_ja_en_x.smil/manifest.f4m?hdnea=ip=00.00.00.00~exp=1426246329~a cl=/z/http_rtmpe/shared/s/viewster-0037-00-AkamaiHD/1280-19209-001_narutoshippuden-eps394_movie_viewster-0037-00-akamaihd_ja_en_x.smil/*~hmac=80af2133e33b56b424b2290aa43e310c0470f34032a 969b087de9bc7f95b3049&g=JAJOMLLIEIUO&hdcore=3.2.0&plugin=flowplayer-3.2.0.1 pvswf=http://divaag.vo.llnwd.net/o42/http_only/viewster_com/v25/flowplayer/flowplayer.commercial-3.2.7-3.swf
[cli][info] Available streams: 1107k, 1524k (best), 493k (worst), 659k
[cli][info] Opening stream: 1524k (hds)

leonaheidern
04-03-2015, 08:54 AM
can anyone help me

I am trying to download from toggle.sg

Video is here http://video.toggle.sg/en/series/fox-volant-of-the-snowy-mountain/ep22/326658

You will need a Singapore Proxy to watch this

Manifest is here
http://vod.toggletv.sg/vod/s/felucia/201502W-A/20150402_FOX_VOLANT_OF_THE_SNOWY_MOUNTAIN_EP22_PC_ SS.ism/Manifest

There is a protection header on this at the bottom
<Protection>
<ProtectionHeader SystemID="9a04f079-9840-4286-ab92-e65be0885f95">
KAMAAAEAAQAeAzwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbA BuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAu AG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvAD IAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUA YQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALg AwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBU AEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAE UAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIA PAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATg BGAE8APgA8AEsASQBEAD4AUABQAGwAeABhAHAAWQB4AEEARQBX AHYAawA5AGMAQwBZAHkAeAA4AG0AQQA9AD0APAAvAEsASQBEAD 4APABDAEgARQBDAEsAUwBVAE0APgBUAEMAUwBJAGoAbgByADYA YwAyAGMAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APABMAEEAXw BVAFIATAA+AGgAdAB0AHAAOgAvAC8AcABsAGEAeQByAGUAYQBk AHkALgB0AHYAaQBuAGMAaQAuAGMAbwBtAC8AcgBpAGcAaAB0AH MAbQBhAG4AYQBnAGUAcgAuAGEAcwBtAHgAPAAvAEwAQQBfAFUA UgBMAD4APABDAFUAUwBUAE8ATQBBAFQAVABSAEkAQgBVAFQARQ BTAD4APABJAEkAUwBfAEQAUgBNAF8AVgBFAFIAUwBJAE8ATgA+ ADcALgAxAC4AMQA1ADYANQAuADQAPAAvAEkASQBTAF8ARABSAE 0AXwBWAEUAUgBTAEkATwBOAD4APAAvAEMAVQBTAFQATwBNAEEA VABUAFIASQBCAFUAVABFAFMAPgA8AC8ARABBAFQAQQA+ADwALw BXAFIATQBIAEUAQQBEAEUAUgA+AA==
</ProtectionHeader>
</Protection>
</SmoothStreamingMedia>

When I use Live streamer I get the below message

C:\Program Files (x86)\Livestreamer>livestreamer "akamaihd://https://vod.togglet
v.sg/vod/i/felucia/201502W-A/20150402_FOX_VOLANT_OF_THE_SNOWY_MOUNTAIN_EP22_PC_ S
S.ism/master.m3u8" best
[cli][info] Found matching plugin stream for URL akamaihd://https://vod.toggletv
.sg/vod/i/felucia/201502W-A/20150402_FOX_VOLANT_OF_THE_SNOWY_MOUNTAIN_EP22_PC_ SS
.ism/master.m3u8
[cli][info] Available streams: live (worst, best)
[cli][info] Opening stream: live (akamaihd)
[cli][error] Could not open stream: Unable to open URL: https://vod.toggletv.sg/
vod/i/felucia/201502W-A/20150402_FOX_VOLANT_OF_THE_SNOWY_MOUNTAIN_EP22_PC_ SS.ism
/master.m3u8 (HTTPSConnectionPool(host='vod.toggletv.sg', port=443): Max retries
exceeded with url: /vod/i/felucia/201502W-A/20150402_FOX_VOLANT_OF_THE_SNOWY_MO
UNTAIN_EP22_PC_SS.ism/master.m3u8?fp=LNX+11%2C1%2C102%2C63&r=DNFDI&g=KJYLKGQFYDB
O&v=2.5.8 (Caused by <class 'socket.error'>: [Errno 10061] No connection could b
e made because the target machine actively refused it))

I have tried this also, this link hds will open vlc and the total time of the video is correct but there is only a grey image.


C:\Program Files (x86)\Livestreamer>livestreamer "hds://http://vod.toggletv.sg/v
od/s/felucia/201502W-A/20150403_FOX_VOLANT_OF_THE_SNOWY_MOUNTAIN_EP23_PC_ SS.ism/
Manifest.f4m?fp=LNX+11%2C1%2C102%2C63&r=HPDNB&g=PBZCMSLCVRPI&v2.5.8" best
[cli][info] Found matching plugin stream for URL hds://http://vod.toggletv.sg/vo
d/s/felucia/201502W-A/20150403_FOX_VOLANT_OF_THE_SNOWY_MOUNTAIN_EP23_PC_ SS.ism/M
anifest.f4m?fp=LNX+11%2C1%2C102%2C63&r=HPDNB&g=PBZCMSLCVRPI&v2.5.8
[cli][info] Available streams: 360p (worst), 576p (best)
[cli][info] Opening stream: 576p (hds)
[cli][info] Starting player: 'C:\Program Files (x86)\VideoLAN\VLC\vlc.exe'
[cli][info] Player closed
[cli][info] Stream ended


If i try using ADOBEHDS.php to join the fragements I get a grey unplayable flv file.

Livestreamer actually gave me the auth key that wasn't present when I tried with ismdownloader.

For this website if the file does not have the protection header in the manifest file I am able to use ismdownloader to download the video. However once a protection header is present I am not able to.

Appreciate all the help rendered in advance. Thank You

crzyboy091
04-04-2015, 02:19 AM
I've used HDS Link Detector to generate a command line for AdobeHDS.php. I'm trying to download from audible online cloud player. I'm getting the error message: This stream is encrypted with Akamai DRM. Decryption of such streams isn't currently possible with this script.
Is there any possible way to work around that?

dragonxpc
04-11-2015, 07:43 AM
Hi guys
I want to download a video from AkamaiHD, but I can't and always returns the same problem
php AdobeHDS.php --quality high --delete --manifest 'http://bngn-vh.akamaihd.net/z/43383936/35470338/smil/CL/00007/263788578773609.smil/manifest.f4m?hdnea=st=1428756838~exp=1428757138~ac l=/*~hmac=9ad4185613f3ea318d8bce0bb85c8627ebe581092d9 45bb71388df06f1bc5b26&g=WKTOZIYQXRKW&hdcore=3.2.0'

Access Denied! Unable to download the manifest.

This is the link with the video
http://www.daisuki.net/anime/watch/SaintSeiyaSoulofGold/IYc

I read in others forums that I need get an new token because it expire very fast. How i can get it from curl? I'm using linux to do that.
Please help

biezom
04-11-2015, 09:28 AM
Hi guys
I want to download a video from AkamaiHD, but I can't and always returns the same problem
php AdobeHDS.php --quality high --delete --manifest 'http://bngn-vh.akamaihd.net/z/43383936/35470338/smil/CL/00007/263788578773609.smil/manifest.f4m?hdnea=st=1428756838~exp=1428757138~ac l=/*~hmac=9ad4185613f3ea318d8bce0bb85c8627ebe581092d9 45bb71388df06f1bc5b26&g=WKTOZIYQXRKW&hdcore=3.2.0'

Access Denied! Unable to download the manifest.

This is the link with the video
http://www.daisuki.net/anime/watch/SaintSeiyaSoulofGold/IYc

I read in others forums that I need get an new token because it expire very fast. How i can get it from curl? I'm using linux to do that.
Please help
hi

HDS protocol is encrypt DRM protection you can use HLS protocol
read this post


http://stream-recorder.com/forum/showpost.php?p=74076&postcount=89



livestreamer "hlsvariant://https://bngn-vh.akamaihd.net/i/43383936/35470338/smil/US/00007/263788578773609.smil/master.m3u8?hdnea=st=1428765493~exp=1428765793~acl =/*~hmac=28ad27a6bfb6785acc5508ae339885bca71d41fe993 17290e0a367a7c4abbb48&g=JTFLDSVCTPUI&hdcore=3.2.0" best -o Gold-Legend-Revive.ts
[cli][info] Found matching plugin stream for URL hlsvariant://https://bngn-vh.akamaihd.net/i/43383936/35470338/smil/US/00007/263788578773609.smil/master.m3u8?hdnea=st=1428765493~exp=1428765793~acl =/*~hmac=28ad27a6bfb6785acc5508ae339885bca71d41fe993 17290e0a367a7c4abbb48&g=JTFLDSVCTPUI&hdcore=3.2.0
[cli][info] Available streams: 1080p (best), 360p (worst), 480p, 720p
[cli][info] Opening stream: 1080p (hls)
[download][Gold-Legend-Revive.ts] Written 12.9 MB (1m22s @ 160.1 KB/s)

dragonxpc
04-12-2015, 06:42 AM
Thanks!
It works very good

dragonxpc
04-12-2015, 07:30 AM
Do you know how download the subtitles from the same video?
If I change the language I don't see other traffic different from video/f4f.
I thought that subtitles comes with the video (like a mkv) but not.

lifeless
04-21-2015, 12:49 PM
Hi all,

I'm trying to download videos off digital-tutors.com. For some reason, every single video I download cuts off at around 75% of the way through when I play them back.

What happens is that AdobeHDS.php downloads all fragments from the given manifest, assembles the video just fine and reports no errors. But regardless of what the length of the final assembled video is, playback always terminates when the play head is at about 75% or above (so I can't skip past the point either, it's like the last 25% is not even there). I'm using VLC for playback, and this happens on both Mac and Windows.

The command line I use is simply this, no frills:

php AdobeHDS.php --manifest "http://digital-tutors-manifest-url-goes-here" --delete

Any ideas on how to fix this? I'd appreciate it if someone could maybe get a trial account on DT and try this for themselves. I'm using Chrome Inspector, Network tab, filtering on, "manifest" in the filter field to get the URL for the .f4m file to paste to the command line.

Jinjoni
04-21-2015, 04:47 PM
Do you know how download the subtitles from the same video?
If I change the language I don't see other traffic different from video/f4f.
I thought that subtitles comes with the video (like a mkv) but not.
Start playing the video with Ad Blocker Plus enabled. Click on the Ad Blocker Plus icon and click on "open blockable items". Above the list of blocked items there will be a search bar. In the search bar type "caption". Save the .xml file to your hard drive. If you need or want to convert that .xml file to something like .srt or .ass I suggest subtitle edit 3.4.6

Jinjoni
04-21-2015, 06:23 PM
Hi all,

I'm trying to download videos off digital-tutors.com. For some reason, every single video I download cuts off at around 75% of the way through when I play them back.

What happens is that AdobeHDS.php downloads all fragments from the given manifest, assembles the video just fine and reports no errors. But regardless of what the length of the final assembled video is, playback always terminates when the play head is at about 75% or above (so I can't skip past the point either, it's like the last 25% is not even there). I'm using VLC for playback, and this happens on both Mac and Windows.

The command line I use is simply this, no frills:

php AdobeHDS.php --manifest "http://digital-tutors-manifest-url-goes-here" --delete

Any ideas on how to fix this? I'd appreciate it if someone could maybe get a trial account on DT and try this for themselves. I'm using Chrome Inspector, Network tab, filtering on, "manifest" in the filter field to get the URL for the .f4m file to paste to the command line.
Have you tired to download it with livestreamer?

lifeless
04-22-2015, 12:07 AM
Have you tired to download it with livestreamer?

I just did (and thanks for the mention, I was unaware of its existence), but the final video also fails at around 75%. This is puzzling. Could there be some downloading detection going on at akamaihd.net, where they would insert garbage to the end of the video when they detect it?

The URL for the manifest begins with http://plstudio-vh.akamaihd.net (can't post it all publicly for the risk of it being traceable to me; will send privately to people who might be able to help), which livestreamer said it can't handle, but once I changed http:// to hds:// it downloaded the file without errors. But the final video breaks just like with AdobeHDS.php.

KSV
04-28-2015, 01:51 AM
@lifeless

Can you confirm that the said video works completely on website itself? it may be problem with their video encoding rather than script itself. if it works properly on website the you can remove the --delete switch from command line. it will save the downloaded fragments in same directory. you need to upload last few fragments to somewhere so i can check where the problem actually lies.

dualsticks
05-01-2015, 12:00 AM
I am having trouble recently downloading video streams from the website AEBN.net The fragments would start downloading, and then after about 100 or so fragments, it slows down and never continues. Does anyone know what the problem is?. Any help would be much appreciated.

Jinjoni
05-01-2015, 01:59 AM
I am having trouble recently downloading video streams from the website AEBN.net The fragments would start downloading, and then after about 100 or so fragments, it slows down and never continues. Does anyone know what the problem is?. Any help would be much appreciated.
Is it failing on a full rental or are you trying from a preview link?

belluspixel
05-02-2015, 08:56 AM
Hello guys!

I am trying to download from this link but nothing is working. It used to work without problem. Something must have changed like usage of HDS. Can someone try and see if they have better luck?

this is the link: http://www.voxnow.de/1945-12-staedte-12-schicksale.php

thanks!

cubedj21
05-17-2015, 01:40 PM
Hi, I have question about your HDS link detector extension for Firefox..

The extension stopped working from the release of build 40.0a2 (both x86 & x64). Even with multi-processing turned off.

Are you planning to release update or is there at least something that I could do to make it work again?

Thanks ;)

sonnvl
05-24-2015, 08:17 PM
I try to capture this manifest:
http://scache.fptplay.net.vn/livez/vtv9_2500.stream/manifest.f4m

When I use AdobeHDS from K-S-V:

G:\SON\php>php AdobeHDS.php --manifest "http://scache.fptplay.net.vn/livez/vtv9_
2500.stream/manifest.f4m" --delete --outfile v9.flv --debug v9.txt

KSV Adobe HDS Downloader
Processing manifest info....
Manifest Entries:

Bitrate URL
1 media_ubtq283zl_b125000.abst/

Quality Selection:
Available: 1
Selected : 1
Updating bootstrap info, Available fragments: 0
Segment Tables:

Table 1:
Number Fragments
1 0

Fragment Tables:

Table 1:
Number Timestamp Duration Discontinuity
10169 152580918 9640
10170 152590558 9920
10171 152600478 10000
10172 152610478 10400
10173 152620878 9520

Update complete, Available fragments: 10173
Fragments Total: 10173, First: 10169, Start: 10172, Parallel: 8
Base Fragment Url:
http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_ubtq283zl_b125000.abst
/

Downloading Fragments:

Adding fragment 10172 to download queue
Adding fragment 10173 to download queue
Access Denied! Unable to download fragments.

When I use livestreamer:
livestreamer "hds://http://scache.fptplay.net.vn/livez/vtv9_2500.stream/manifest.f4m pvswf=http://fptplay.net/js/plugins/assets/HLSPlayer.swf" best -o v9.flv
[cli][info] Found matching plugin stream for URL hds://http://scache.fptplay.net.vn/livez/vtv9_2500.stream/manifest.f4m pvswf=http://fptplay.net/js/plugins/assets/HLSPlayer.swf
[cli][info] Available streams: 576p (worst, best)
[cli][info] Opening stream: 576p (hds)
[stream.hds][error] Failed to open fragment 1-10195: Unable to open URL: http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_uuiby8q94_b125000.abst/Seg1-Frag10195 (403 Client Error: Forbidden)
[stream.hds][error] Failed to open fragment 1-10195: Unable to open URL: http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_uuiby8q94_b125000.abst/Seg1-Frag10195 (403 Client Error: Forbidden)
[stream.hds][error] Failed to open fragment 1-10195: Unable to open URL: http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_uuiby8q94_b125000.abst/Seg1-Frag10195 (403 Client Error: Forbidden)
[stream.hds][error] Failed to open fragment 1-10196: Unable to open URL: http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_uuiby8q94_b125000.abst/Seg1-Frag10196 (403 Client Error: Forbidden)
[stream.hds][error] Failed to open fragment 1-10196: Unable to open URL: http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_uuiby8q94_b125000.abst/Seg1-Frag10196 (403 Client Error: Forbidden)
[stream.hds][error] Failed to open fragment 1-10196: Unable to open URL: http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_uuiby8q94_b125000.abst/Seg1-Frag10196 (403 Client Error: Forbidden)

I use HDSDump from Wendy, it runs OK in few minutes and gets error!
I want to obtain longer video

Any solution ?

biezom
05-24-2015, 08:23 PM
I try to capture this manifest:
http://scache.fptplay.net.vn/livez/vtv9_2500.stream/manifest.f4m

When I use AdobeHDS from K-S-V:

G:\SON\php>php AdobeHDS.php --manifest "http://scache.fptplay.net.vn/livez/vtv9_
2500.stream/manifest.f4m" --delete --outfile v9.flv --debug v9.txt

KSV Adobe HDS Downloader
Processing manifest info....
Manifest Entries:

Bitrate URL
1 media_ubtq283zl_b125000.abst/

Quality Selection:
Available: 1
Selected : 1
Updating bootstrap info, Available fragments: 0
Segment Tables:

Table 1:
Number Fragments
1 0

Fragment Tables:

Table 1:
Number Timestamp Duration Discontinuity
10169 152580918 9640
10170 152590558 9920
10171 152600478 10000
10172 152610478 10400
10173 152620878 9520

Update complete, Available fragments: 10173
Fragments Total: 10173, First: 10169, Start: 10172, Parallel: 8
Base Fragment Url:
http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_ubtq283zl_b125000.abst
/

Downloading Fragments:

Adding fragment 10172 to download queue
Adding fragment 10173 to download queue
Access Denied! Unable to download fragments.

When I use livestreamer:
livestreamer "hds://http://scache.fptplay.net.vn/livez/vtv9_2500.stream/manifest.f4m pvswf=http://fptplay.net/js/plugins/assets/HLSPlayer.swf" best -o v9.flv
[cli][info] Found matching plugin stream for URL hds://http://scache.fptplay.net.vn/livez/vtv9_2500.stream/manifest.f4m pvswf=http://fptplay.net/js/plugins/assets/HLSPlayer.swf
[cli][info] Available streams: 576p (worst, best)
[cli][info] Opening stream: 576p (hds)
[stream.hds][error] Failed to open fragment 1-10195: Unable to open URL: http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_uuiby8q94_b125000.abst/Seg1-Frag10195 (403 Client Error: Forbidden)
[stream.hds][error] Failed to open fragment 1-10195: Unable to open URL: http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_uuiby8q94_b125000.abst/Seg1-Frag10195 (403 Client Error: Forbidden)
[stream.hds][error] Failed to open fragment 1-10195: Unable to open URL: http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_uuiby8q94_b125000.abst/Seg1-Frag10195 (403 Client Error: Forbidden)
[stream.hds][error] Failed to open fragment 1-10196: Unable to open URL: http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_uuiby8q94_b125000.abst/Seg1-Frag10196 (403 Client Error: Forbidden)
[stream.hds][error] Failed to open fragment 1-10196: Unable to open URL: http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_uuiby8q94_b125000.abst/Seg1-Frag10196 (403 Client Error: Forbidden)
[stream.hds][error] Failed to open fragment 1-10196: Unable to open URL: http://scache.fptplay.net.vn/livez/vtv9_2500.stream/media_uuiby8q94_b125000.abst/Seg1-Frag10196 (403 Client Error: Forbidden)

I use HDSDump from Wendy, it runs OK in few minutes and gets error!
I want to obtain longer video

Any solution ?

hi
please post link to the web-page with video
without it's difficult to help you

nullacht
05-24-2015, 09:47 PM
Any solution ?

livestreamer "hlsvariant://hlscache.fptplay.net.vn/livez/vtv9_2500.stream/playlist.m3u8?token=967c378d1dc20dc329ca0e369d04ff f4580906b1&did=c7cfced7208113b1eb4214c20ae8138f6b5f3bc3" best -o vtv9.ts

[cli][info] Found matching plugin stream for URL hlsvariant://hlscache.fptplay.net.vn/livez/vtv9_2500.stream/playlist.m3u8?token=967c378d1dc20dc329ca0e369d04ff f4580906b1&did=c7cfced7208113b1eb4214c20ae8138f6b5f3bc3
[cli][info] Available streams: 576p (worst, best)
[cli][info] Opening stream: 576p (hls)

stinkfoot
05-24-2015, 09:53 PM
I try to capture this live stream:
http://fptplay.net/livetv/vtv9

I try this manifest:
http://scache.fptplay.net.vn/livez/vtv9_2500.stream/manifest.f4m

I use HDSDump from Wendy, it runs OK in few minutes and gets error!
I want to obtain longer video

Any solution ?

no trying f4m. yes trying m3u8. after getting m3u8 then playing using livestreamer.

using postman extension or curl to making http POST command.
no GET. yes POST. must being http post of

http://fptplay.net/show/getlinklivetv?id=vtv9&quality=3&mobile=web

resulting m3u8 having token. playing to vlc using livestreamer.

sonnvl
05-24-2015, 10:17 PM
Link: http://fptplay.net/livetv/vtv9

I want to use f4m to make schedule task, if using m3u8, it change token usually.

I still use HDSDump but it isn't stability
http://i.imgur.com/RISd0Gt.jpg

Any similiar tool like HDSDump ?

randy_1
05-27-2015, 03:47 AM
Complete newbie and I'm sure this has been asked before but I'm suddenly worried. Managed to use this to download half a series of a tv show from a US network. Not something I've ever done before but wasn't available in UK. Realised afterwards that my VPN was not active. Downloads had still worked because I have a smart dns on the router.
Am I likely to receive a warning as IP was not masked? Can the site tell stream was being downloaded rather than streamed?
Just looking for a bit of reassurance I guess :-(

kidrow
06-01-2015, 08:35 AM
Edit: Hi! Please ignore my question (wrapped in quotes below for the sake of posterity) from earlier. I figured out what I was doing wrong while using the command line. Now I'm able to control the quality & other parameters with the different switches, the way it was meant to be.

Again, many thanks to the devs! Cheers!

Hi,

Firstly, thanks to the developers for coming up with such fantastic tools. Much appreciated!

I'm successfully using the Grab Any Media AdobeHDS.php helper ((http://grabanymedia.altervista.org/adobehds-php-helper/)) & the ff extension (https://addons.mozilla.org/en-US/firefox/addon/hds-link-detector/) to get the manifest file & download videos from Autodesk's (http://au.autodesk.com/au-online/classes-on-demand/search?full-text=&productName=3ds+Max+Entertainment+Creation+Suite&language=&year=) site.

My question is, how do I choose the quality for the video to be downloaded? Currently, the tool automatically selects the highest quality. I'd like to have greater control over that.

What would I need to edit? & where? Please be gentle as I'm a complete noob.

Many thanks!

manudil
06-30-2015, 01:38 PM
i have been facing this error i have download all new still this error

Used Commend:

Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\Axe>cd C:\Scripts-master

C:\Scripts-master>php AdobeHDS.php --manifest "http://pivotshare5-vod.dcp.adapti
ve.level3.net/pivotshare-vod/CID-528/hds/5580873a21630_360.mp4.f4m?base=%2fpivot
share-vod%2fCID-528%2f&streams=5580873a21630_360.mp4.f4m:557,5580873a2163 0_480.m
p4.f4m:1557,5580873a21630_720.mp4.f4m:2657,5580873 a21630_1080.mp4.f4m:5056&ip=10
3.42.85.14&token=08acc46f227772c2b693a" --delete

KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
Available: 1
Selected : 1
Fragments Total: 1887, First: 1, Start: 1, Parallel: 8
This stream is encrypted with FlashAccess DRM. Decryption of such streams isn't
currently possible with this script.

C:\Scripts-master>


Fragments Sample:

https://www.mediafire.com/folder/4pi99s50fa1dh/error_fragments_sample


Please take look in to it

Junos
07-14-2015, 04:50 AM
Can someone please explain how does the script calculate the fragments number based on manifest file.
I could not really understand that from code.
I need to know how many fragments to expect based on f4m file, but struggling to find any info on this.

Thanks

Junos
07-14-2015, 06:24 AM
Can someone please explain how does the script calculate the fragments number based on manifest file.
I could not really understand that from code.
I need to know how many fragments to expect based on f4m file, but struggling to find any info on this.

Thanks

Nevermind, found it is in the bootstrap file. Now need to understand how to decode it.

dualsticks
07-16-2015, 01:41 PM
Is it failing on a full rental or are you trying from a preview link?

No it is not from a full rental or preview link. I go to the movie page, click on the button that says Play Movie, and it starts to use the minutes from my account, and I have plenty of minutes in there.

Shams
07-18-2015, 12:13 AM
Nothing yet about decrypting Adobe Flash DRM Access ?
i totally Stuck here ...

i have seen this video but seems like a spam
https://www.youtube.com/watch?v=FBwUB38C2dc

Jinjoni
07-18-2015, 01:22 AM
No it is not from a full rental or preview link. I go to the movie page, click on the button that says Play Movie, and it starts to use the minutes from my account, and I have plenty of minutes in there.
Is the video that you're trying to play using the silverlight plugin?

slimp
08-11-2015, 10:45 PM
Hi, I have question about your HDS link detector extension for Firefox..

The extension stopped working from the release of build 40.0a2 (both x86 & x64). Even with multi-processing turned off.

Are you planning to release update or is there at least something that I could do to make it work again?

Thanks ;)


I have the same problem when I updated to firefox 40. The HDS icon did not show up in the upper right toolbar with the new release. I went back to 39.0.3 and the icon showed up. Can the script be updated for ff 40?

KSV
08-12-2015, 11:46 PM
i have released updated version to make it compatible with Firefox 40.

https://addons.mozilla.org/firefox/addon/hds-link-detector/

Jinjoni
08-13-2015, 06:00 PM
i have released updated version to make it compatible with Firefox 40.

https://addons.mozilla.org/firefox/addon/hds-link-detector/
Thank you for everything you do for us. :)

WHOOKIDSON
08-13-2015, 06:02 PM
i have released updated version to make it compatible with Firefox 40.

https://addons.mozilla.org/firefox/addon/hds-link-detector/

thanks! :cool:

KSV
08-19-2015, 01:57 PM
HDS Link Detector 0.7.1

1. added the option to customize generated command line
2. make the add-on available in private mode

shani_08
09-01-2015, 10:09 AM
@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.
==========


Hi KSV,
I have been trying to look into the akamai HD player verification and packet decryption.
After few weeks of work, i am able to get player verification working understood what was happening, using the player hash and encrypted string it creates the HMAC etc.

Now, looking into tagDecrypt function, it takes the key (fetched via keyUrl by parsing the first packet) and the Packet Data. it then creates multiple HMAC with the key and then with internal data to get to the final stage, which i believe you call a global key.

Here, i am little lost. I can see that its using a block cipher algorithm, possibly aes (but not sure ecb or cbc) where it operates using what look like aes code and then xor using some data then finally append it to response. Also, i dont know how we figure out when the encoded data starts as it definately got the header of some sort and then encrypted data section 16 byte long each.

I can show you the code in PM about the PV code or this function that i am talking about. Let me know.

shani_08
09-02-2015, 06:37 AM
ok some more information and the confirmation that this is definately AES cbc.

Basic info for the first packet.

the cipher key is 31dc4a65c4d06334b61bc43653544915
The data is full encrypted tag 0c0000000055e6de3d0000ffff8f107971716510636c409519 5d0687592f7a2f5353315f31403330393730312f6b65795f41 5142534c5a6843507677387a7a3365356c58705a7774614459 58304644763345455a686e4c78576232524443376c70575438 2b5274427644614643385075396b5763394e396c720001399e edccbc8f2a0e59cecdd0f899410435387fce8bf4a20289a91a 20d64254f50000000000000000000000000000000000000000 b159aee6bed571bb8449ad3ab868d8be420a487379ffc80dea 46f51351a892e6e0ef8b26b0af6998979c68e0f945f155075a aa9f14c7335f093b79355e15b039947655ce468001000428f9 6bc8

based on above packet
This is header
This is IV
This is Key Url Data
This is encrypted data

if you chop the encrypted data in 16bytes multiple then you get
79ffc80dea46f51351a892e6e0ef8b26b0af6998979c68e0f9 45f155075aaa9f14c7335f093b79355e15b039947655ce

They cipher key converts into global key which is a930fb441df4db669815e4bbab0e33c9


so use the above encrypted data, then use the IV listed above and the globak key, apply AES cbc and you should endup with 48 bytes of data starting with 0x1700
remaining data will then append to make the final output which is

1700000000014d401fffe10025274d401fb90c02802dd80880 000003008000001970300013d6200027ac77bdc07c22114680 01000428f96bc8
You can use http://aes.online-domain-tools.com/ to get the result without writing any code.

so now i have to find proper methods to know when the encrypted data starts and when the header finishes! feeling i am getting there. the global key calculation is not very far off but i am reusing the same key for the same data till i get reliably generate that.

KSV
09-02-2015, 08:32 AM
I had reversed the Akamai Player Verification long time ago and posted it here (http://stream-recorder.com/forum/showpost.php?p=43761&postcount=13). many downloading software's and scripts around the web still use the same key i posted above. as for Akamai DRM the main hurdle was to derive per packet decryption key from global key as i have explained earlier in my old post.

shani_08
09-02-2015, 08:43 AM
I had reversed the Akamai Player Verification long time ago and posted it here (http://stream-recorder.com/forum/showpost.php?p=43761&postcount=13). many downloading software's and scripts around the web still use the same key i posted above. as for Akamai DRM the main hurdle was to derive per packet decryption key from global key as i have explained earlier in my old post.

That verification process still valid, i am using the same method, thanks your post, however, the key is not valid anymore, hence my take on getting verification working again. Now, i am off to packet decryption, so trying to figure out a sure shot way of saparating headers, IV, keydata and encrypted data.

As for finding the global key for the request, there 5 steps, for various HMAC creation, using key and the portion of the encrypted packet, all 5 hmac are linked to each other, there is only one step left which i need to figure out how we are generating the key for that step so just there yet far away!

KSV
09-02-2015, 08:57 AM
I haven't looked into it for long time so things may have changed in the meantime. can you send me the swf file, encrypted fragment, related key and any other details via pm? I can take another look into it.

KSV
09-09-2015, 06:17 AM
I have pushed new update to the repo which enables the script to remove Akamai media encryption. KDF function to generate per packet decryption key from global session key was reverse engineered by user shani_08. i already had the details of encrypted packet header and some other ancillary information. I have tested it on few videos and it seems to work well at the moment. They may soon try to patch it. if you wanna keep it working longer then don't try to plaster it everywhere you can think of. enjoy while it lasts :D.

stinkfoot
09-09-2015, 02:48 PM
yes much thanking you shani_08 and ksv!!

no hoping likewise curing flashaccess hds?

joejones15
09-12-2015, 06:48 AM
yes much thanking you shani_08 and ksv!!

ditto, many thanks to you both, amazing work!!!

Kasandra
09-21-2015, 02:42 PM
can your script download this kind of links

hds/XXXX.XXXX.ism/XXXX.XXXXX.drmmeta
or
hds/mediaDelivery/media/XXXXXXXXXXXXXXXXXXXXX.f4m?cdn=l3

give me: " this stream is encrypted with FlashAccess DRM.

can you fix this Pls

BaboonHD
10-14-2015, 08:46 AM
Any chance on TSN or Turner like Cartoon Network F4M ?

sonnvl
10-17-2015, 09:48 PM
I have problem when using AdobeHDS in VMware environment although when I ping to original IP, it stills respond!
(In normal machine, it still works properly!)
Any solution or VMware block this connection ?

php AdobeHDS.php --quality high --manifest "http://scache.fptplay.net.vn/liver/truyenhinhfpt_2000.stream/manifest.f4m" --useragent "Mozilla/5.0 (Windows NT 6.1; rv:30.0) Gecko/20100101 Firefox/41.0" --parallel 4 --referrer http://fptplay.net/livetv/ --outfile onetv.flv

KSV Adobe HDS Downloader

Processing manifest info....
Unable to download the manifest

Gunnar
10-24-2015, 02:36 AM
Used ADOBEHDS daily for a year, great!
However, improvements I usually add to all new version

1. adding 1-2-3 retries to both manifest and fragments.
My problem I;m not sure what decoding does with my "improvements".
Order of received fragments, timestamps etc, but at least AdobeHDS does not exit that easily but stutters on while beeping.
For live streams one can live with some missed fragments (and an error beep), main thing recording continues.

2. for esp archived streams, a name-change or similar (extra small name-ok "log" file) when total stream downloaded properly.
(I wrote frontend where I dragdrop links, also checks if alrdy donloaded, but doesnt know if correctly or ongoing)


Then a "shot in the dark", C-span.org live streams behave(d?) strange this last week, Video/Audio timestamp problem. Seems V-timestamps inside a fragment run too fast, then backdown at next fragment?
Mplayer goes video-slowmotion, then waits, VLC stutters trying to resynch.
Worst, changes to "bug-mode" only appr once a day, then suddenly OK again after 9-12hours. Points to byte+24bit timestamp problem??

Is this a "classic" problem? or my mistake-bug? (I'll have it figured out soon but slow to find them once/day things)
http://www.c-span.org/schedule

Gunnar

Gunnar
10-24-2015, 11:27 PM
CSPAN1 just went into "V-slowmotion" mode.
tested latest AdobeHDS version

From just observing A,V,A-V timestamps with standalone mplayer it looks like Audio-timestamps are running exactly 4x speed.
V goes to normally 1,2,3 to 100, A alrdy speeded to 400.

A little strange, that 4x Audio playback is normal (mplayer master sync?) but Video slowmotion, until new cycle begins after "stutter catchup"

Btw, mplayer also reports appr 4x longer total (faster) time and mplayer time goes appr 4x speed (follows master audio?)

ANy chance of wrong "inter-fragment" (wrongly fixed, or similar) audio-format parameter?? 44 vs 14kHz or similar, somewhere, althgh mplayer gives the rigth normal A,V formats (given by adobeHDs?)

Mplayer, strangly, tries to slow down video? until after some appr 100-400 limit it stutters audio until video catches up in slowmotion
Maybe bc the error-timestamp comes in bursts or similar??
Lots of weird adaptive and stamp-fixes here!

My old "test and beep" version finds a negative timestamp jump at start of every fragment.
(A little messy as LastTS can be both Audio and Video? plus PacketTS and fixed stamps and all)

That is, both (now) behave the same. At one point I thought one was OK but not the other, mistaken observation?

Gunnar

PS WHAT IF?? the stream changes audio-format "in the middle", 2-3 times per day??
Note, I am catching the HDS parameters every now and then with HDS linkdetector and then use the same ones "until problems".
Worked OK for more than a year butbutbut?
Note2. Reason for seldom updated parameters that CSPAN demands a USA website cable authorization for most programs but not all.
Thats when I catch them and then they work for all programs.
Seems most parameters "are not needed" anyway, no actual strict authorization.

WHAT IF2: If server tries to use fallback lower speed stream? AdobeHDS lacks that protocol software?? Weird things might happen??

zapac
10-26-2015, 04:32 AM
hi i need KSV Adobe HDS Downloader i dont know the link can any one post link of KSV Adobe HDS Downloader 64 bits windows

Gunnar
10-27-2015, 05:39 AM
post link of KSV Adobe HDS Downloader 64 bits windows/

-------
Added later REMEMBERED ,FOUND, GOOGLED "K-S-V adobehds php windows dummies"

It is in Github/K-S-V/scripts wiki
https://github.com/K-S-V/Scripts/wiki

but I leave my own text if it helps??
----------

Google "k-s-v adobehds", a cpl of GitHub links
idea GitHub -> K-S-V -> his SCRIPTS
https://github.com/K-S-V/Scripts

where AdobeHDS first in list.

Dont understand the 64bit thing as AdobeHDs is a script written in PHP to run on any machine with a php "interpreter"

For windows you need to install the (64bit?) php-"interpreter"
google "PHP windows", gives
http://windows.php.net/

Then, the funny part, installation of "(64bit) PHP for Windows", K-S-V has written a "Instal PHP for Windows Dummies" somewhere.

Main problem to add the PHP.exe path to the windose DOS-path, maybe check the php.ini file too?
(path, something like system->advanced->enviroment, always a pain to find it, plus administrator rights and wrongs)

Anyway, not needed if you do "everything" in the same directory you installed php.exe
That is, open DOS command window (start->run and cmd, but better make a shortcut), or DOS powershell, go where php.exe is and

- write php<enter> to check it is there.
Then in its simplest form

php AdobeHDS.php --manifest etc etc

or from anywhere

<path to>php.exe <path to> AdobeHDS.php --manifest etc ect


Gunnar

PS then it is "back to the DOS batch files" to see what happens
PPS Note the difference dbldash -- and singledash - if you are not used to them
PPPS The adobeHds.php file is not downloaded, but just copy-pasted to a (text) file with that or other name

zapac
10-29-2015, 10:48 PM
post link of KSV Adobe HDS Downloader 64 bits windows/

-------
Added later REMEMBERED ,FOUND, GOOGLED "K-S-V adobehds php windows dummies"

It is in Github/K-S-V/scripts wiki
https://github.com/K-S-V/Scripts/wiki

but I leave my own text if it helps??
----------

Google "k-s-v adobehds", a cpl of GitHub links
idea GitHub -> K-S-V -> his SCRIPTS
https://github.com/K-S-V/Scripts

where AdobeHDS first in list.

Dont understand the 64bit thing as AdobeHDs is a script written in PHP to run on any machine with a php "interpreter"

For windows you need to install the (64bit?) php-"interpreter"
google "PHP windows", gives
http://windows.php.net/

Then, the funny part, installation of "(64bit) PHP for Windows", K-S-V has written a "Instal PHP for Windows Dummies" somewhere.

Main problem to add the PHP.exe path to the windose DOS-path, maybe check the php.ini file too?
(path, something like system->advanced->enviroment, always a pain to find it, plus administrator rights and wrongs)

Anyway, not needed if you do "everything" in the same directory you installed php.exe
That is, open DOS command window (start->run and cmd, but better make a shortcut), or DOS powershell, go where php.exe is and

- write php<enter> to check it is there.
Then in its simplest form

php AdobeHDS.php --manifest etc etc

or from anywhere

<path to>php.exe <path to> AdobeHDS.php --manifest etc ect


Gunnar

PS then it is "back to the DOS batch files" to see what happens
PPS Note the difference dbldash -- and singledash - if you are not used to them
PPPS The adobeHds.php file is not downloaded, but just copy-pasted to a (text) file with that or other name

Hi hello need kvs adobe HDS downloader to download hotstar video just read this

http://stream-recorder.com/forum/download-hotstar-com-t19250p34.html

see post of moet

zapac
11-04-2015, 11:24 PM
Iam trying to download hotstar video got this

php AdobeHDS.php --manifest "http://staragvod1-vh.akamaihd.net/z/videos/plus/sns/1509/1000070501_,180,400,800,1300,2000,_STAR.mp4.csmil/manifest.f4m?hdnea=st=1446704006~exp=1446704606~ac l=/*~hmac=9463e3cf76e3d9d08f1773dd185e6046ac8c04e18d7 d991fa753986136c5a381&g=TJLPYOWLKHBG&hdcore=3.7.0&plugin=aasp-3.7.0.39.44" --delete --auth "hdntl=exp=1446790722~acl=%2f*~data=hdntl~hmac=7f34 2d5c916e7564cf300544067af902e15427e78e5c300c23fa19 da67db8386&als=0,3,NaN,0,0,NaN,0,0,0,48,f,0,1259.8,f,u,TJLPYO WLKHBG,3.7.0,48&hdcore=3.7.0&plugin=aasp-3.7.0.39.44" --useragent "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0"


KVS Adobe HDS Downloader

You have to install and enable the following extentions<s> to continue: 'curl'


whats this?

Gbry
11-06-2015, 12:15 PM
Hi to all,

is there any chance to grab the f4m url where some other software failed?

i tried with the "KVS HDS link detector", "urlsnooper" , "grab any media", but no result.

any solution?

thanks in advance.

zapac
11-08-2015, 03:02 AM
Hi.....I have a question.....eg:I need to download a mainfest.f4m video with adobehds.php. The video has 215 fragments.....can I download only a single fragment 53...?

zapac
11-08-2015, 05:26 AM
Got a problem with adobehds.php....
failed to download akamai session key

whats this means?

Gunnar
11-08-2015, 12:19 PM
Iam trying to download hotstar video got this/

Seems you captured the command line with the "HDS Link Detector".
It looks ok, it starts with php.exe with the AdobeHDS script plus arguments.

1. as above, you must install php for windows
2. use windows PowerShell (better than simple dos command window)
3. navigate PowerShell to where you have BOTH php.exe (installed) and AdobeHDS.php
4. When HDS Link Detector gives the link, click on it (copies it to "mouse")
5. paste the link into PowerShell with right-click mouse in window (above prompt)
The command line you posted shld appear in PowerShell

hit Enter, and php.exe starts AdobeHDS script, download begins.

Other possibility to paste the commandline into a batch file where you can change it, then run it. With this method possible problem with old cookie timestamps.

Gunnar
CURL, forget it. I remembred wrong, used by another similar program (python scripts) that also uses AdobeHDS

Note, often a 60s or minute timeout for cookies, they must be "fresh"

Gunnar
11-08-2015, 12:24 PM
failed to download akamai session key/
Encryption protection and maybe worse?

Earlier AdobeHDS scripts cldnt do any Akamai session encryption stuff, latest can. Tested it on two cases I knew, worked ok

syrist
11-09-2015, 09:59 AM
Hey, I'm trying to download episode 4 from Keeping Canada Alive (http://www.cbc.ca/player/play/2677604701). It only downloads the fragments for the first 12m31s.

The description for the episode online does say it's 12m31s, however, the web player's timeline actually shows 39m26s. If I let the episode play through it is 39m26s.

The other remaining episodes all download complete.

Any ideas or suggestions?

Here's the manifest URL (the session has already expired) if it helps:

http://mobilehls-vh.akamaihd.net/z/prodVideo/entertainment/CBC_Entertainment_VMS/405/382/Keep_Canada_Alive_S01_E04_Oct_24_2015_,960x540_250 0kbps__762132,852x480_1800kbps__231965,640x360_120 0kbps__794297,640x360_900kbps__867510,370x208_500k bps__345244,320x180_350kbps__596690,.mp4.csmil/manifest.f4m?hdnea=ip=99.225.102.91~st=1447087497~ exp=1447087887~acl=/z/*~id=da9d1b6f-54c0-48b7-aa72-71db4995df7c~hmac=35ad9cc5f3441630b2c4c4e07ad8136d 32535700cece0a2eabad510f302ea60b&g=CCHZGAIENJBW&hdcore=3.5.0

Thanks,
-Pete

syrist
11-09-2015, 01:19 PM
I figured it out... not all the fragments were available for the highest quality bitrate of that stream. So I used the next highest quality bitrate and it had all the fragments available.

zapac
11-09-2015, 09:25 PM
Hi I tried to play manifest.f4m video in vlc..got this.

php AdobeHDS.php --manifest "http://staragvod1-vh.akamaihd.net/z/videos/plus/sns/1509/1000070501_,180,400,800,1300,2000,_STAR.mp4.csmil/manifest.f4m?hdnea=st=1446704006~exp=1446704606~ac l=/*~hmac=9463e3cf76e3d9d08f1773dd185e6046ac8c04e18d7 d991fa753986136c5a381&g=TJLPYOWLKHBG&hdcore=3.7.0& plugin=aasp-3.7.0.39.44" --delete --auth"hdntl=exp=1446790722~acl=%2f*~data=hdntl~hmac=7f3 42d5c916e7564cf300544067af902e15427e78e5c300c23fa1 9da67db8386&als=0,3,NaN,0,0,NaN,0,0,0,48,f,0,1259. 8,f,u,TJLPYOWLKHBG,3.7.0,48&hdcore=3.7.0&plugin=aa sp-3.7.0.39.44" --useragent "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0" --play | vlc --file-caching=10000

'vlc' is not a internal or external command.

what is this mean?

slim10
11-10-2015, 01:17 AM
Hi I tried to play manifest.f4m video in vlc..got this.

php AdobeHDS.php --manifest "http://staragvod1-vh.akamaihd.net/z/videos/plus/sns/1509/1000070501_,180,400,800,1300,2000,_STAR.mp4.csmil/manifest.f4m?hdnea=st=1446704006~exp=1446704606~ac l=/*~hmac=9463e3cf76e3d9d08f1773dd185e6046ac8c04e18d7 d991fa753986136c5a381&g=TJLPYOWLKHBG&hdcore=3.7.0& plugin=aasp-3.7.0.39.44" --delete --auth"hdntl=exp=1446790722~acl=%2f*~data=hdntl~hmac=7f3 42d5c916e7564cf300544067af902e15427e78e5c300c23fa1 9da67db8386&als=0,3,NaN,0,0,NaN,0,0,0,48,f,0,1259. 8,f,u,TJLPYOWLKHBG,3.7.0,48&hdcore=3.7.0&plugin=aa sp-3.7.0.39.44" --useragent "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:41.0) Gecko/20100101 Firefox/41.0" --play | vlc --file-caching=10000

'vlc' is not a internal or external command.

what is this mean?


I believe it needs the whole path to vlc.exe, e.g. "C:\Program Files\VideoLAN\VLC\vlc.exe"

biezom
11-15-2015, 10:24 AM
Hi guyzz I have get a method I got a akamai DRM f4m link I changed it to m3u8 links and then use chrome to view source page of link I got big list which can easily downloadable but it cant be played.....means its encrypted....I know adobeHDS.php can download it.....but I don't want to download whole video....I just need some segments....thats why need a help how to dencrypt akamai DRM manually....I have tried openssl but dosent worked.....need help.....thanks in advance


hi

https://github.com/K-S-V/Scripts/wiki


maybe with --start and --duration options

--start [param] start from specified fragment

--duration [param] stop recording after specified number of seconds

zapac
11-15-2015, 04:20 PM
hi

https://github.com/K-S-V/Scripts/wiki


maybe with --start and --duration options

--start [param] start from specified fragment

--duration [param] stop recording after specified number of seconds

Hi biezom bro......I have tried adobehds.php start and duration option...an error came failed to download akamai session key......but this is not my question.....I downloaded m3u8 segments simply by going it's source page.....but the videos is encrypted need a way to dencrypt it.....

thebib62
11-24-2015, 07:26 AM
Hey guys, Trying to follow these steps, but I don't know where adobehds.php is located at. I'm trying to download form syfy's website. Any help?

karlo2105
11-29-2015, 05:31 PM
I would like to know whether or not current AdobeHDS.php is able to support swf verification?

Quaraxkad
11-30-2015, 07:06 PM
I used to be able to download these (link below) with no problem by providing only the manifest URL, but now I'm getting a 403 on the manifest: "Access Denied! Unable to download the manifest.". I've tried many of the tricks I've seen throughout this and other threads and can't seem to download it anymore. Any tips?

http://www.amc.com/shows/talking-dead/video-extras/season-06/episode-01/bonus-scene-talking-dead-episode-601

syrist
12-07-2015, 11:33 AM
I used to be able to download these (link below) with no problem by providing only the manifest URL, but now I'm getting a 403 on the manifest: "Access Denied! Unable to download the manifest.". I've tried many of the tricks I've seen throughout this and other threads and can't seem to download it anymore. Any tips?

http://www.amc.com/shows/talking-dead/video-extras/season-06/episode-01/bonus-scene-talking-dead-episode-601

It worked for me. This was the manifest link that I extracted:

http://amc350888def-vh.akamaihd.net/z/AMC_Networks_-_AMC/653/39/AMC_TD_601_BonusScene_TD_5429340839,63_mp4_video_9 60x540_1200000_primary_audio_4,61_mp4_video_640x36 0_568000_primary_audio_3,58_mp4_video_480x270_4000 00_primary_audio_2,53_mp4_video_416x234_168000_pri mary_audio_1,.mp4.csmil/manifest.f4m?hdnea=st=1449512902~exp=1449512992~ac l=/z/AMC_Networks_-_AMC/653/39/AMC_TD_601_BonusScene_TD_5429340839*~hmac=a32d1d9b 65dad277787b5226c2f3fbd94201669df8f5685518b7caaf69 4b6b64&g=KRCLVOFELTEB&hdcore=3.5.0

It could also be a timed manifest so once you get the link you probably have a few mins to start downloading it. This was the command line I used in a batch file:

php "E:\Documents\Hacks\CTV\AdobeHDS.php" --outfile "Bonus Scene - Talking Dead - Episode 601" --delete --manifest "http://amc350888def-vh.akamaihd.net/z/AMC_Networks_-_AMC/653/39/AMC_TD_601_BonusScene_TD_5429340839,63_mp4_video_9 60x540_1200000_primary_audio_4,61_mp4_video_640x36 0_568000_primary_audio_3,58_mp4_video_480x270_4000 00_primary_audio_2,53_mp4_video_416x234_168000_pri mary_audio_1,.mp4.csmil/manifest.f4m?hdnea=st=1449512902~exp=1449512992~ac l=/z/AMC_Networks_-_AMC/653/39/AMC_TD_601_BonusScene_TD_5429340839*~hmac=a32d1d9b 65dad277787b5226c2f3fbd94201669df8f5685518b7caaf69 4b6b64&g=KRCLVOFELTEB&hdcore=3.5.0"

Which created a 45MB file called "Bonus Scene - Talking Dead - Episode 601.flv"

Hope this helps,
-Pete

Quaraxkad
12-08-2015, 08:57 AM
Hmm... Yes, it's working for me now as well! I'm not sure what the problem was.

habaso
12-14-2015, 10:17 AM
Hi, I would like to download some streams from uvideos.com for the purpose of spanish learning and need it offline, due to unsufficient speed of Amazon AWS VPN using for avoiding country permisions.

Streams are on url for example http://uvideos.com/novelas/lo-imperdonable/lo-imperdonable-capitulo-1

I am able to download flv, php script working OK. But I am looking for way to download closed captions. I have searched network http traffic as described here http://stackoverflow.com/questions/27877610/how-can-i-extract-captions-subtitles-from-this-streaming-video and not found any captions.

So I am assuming captions are part of f4f fragments as possible from 3.0 Adobe HDS format and I am looking for script improvement.

I would like to improve DecodeFragment function, I am assuming this needs write some case SCRIPT_DATA handling code.

Any suggestion? Any possible tools to use for inspecting encoded fragment files?

Thanks for any advice

Jan

KSV
12-14-2015, 10:52 AM
I have previously written the code to extract from a particular website where captions were part of flv stream. It's already part of AdobeHDS script but I never released that branch publicly. if you can provide few fragments of target video i can take a look and even may think about releasing that code publicly.

habaso
12-14-2015, 11:37 AM
Hi, thanks for reply. Here are some fragments

http://www.filedropper.com/adobehds12fragments ~20MB
http://www.filedropper.com/adobehds22fragments ~40MB
http://www.filedropper.com/adobehds62fragments ~100MB

Best is 22, there they are speaking from the beginning.

Fragments are from:
php AdobeHDS.php --manifest "http://vod.univision.com/z/media/999/15/05/21/3065082/,150521_3065082_Lo_Imperdonable_Capitulo_7_1432685 545_150,150521_3065082_Lo_Imperdonable_Capitulo_7_ 1432685545_510,150521_3065082_Lo_Imperdonable_Capi tulo_7_1432685545_810,150521_3065082_Lo_Imperdonab le_Capitulo_7_1432685545_270,150521_3065082_Lo_Imp erdonable_Capitulo_7_1432685545_500,150521_3065082 _Lo_Imperdonable_Capitulo_7_1432685545_800,150521_ 3065082_Lo_Imperdonable_Capitulo_7_1432685545_1200 ,150521_3065082_Lo_Imperdonable_Capitulo_7_1432685 545_2000,.mp4.csmil/manifest.f4m?hdcore=2.10.3&g=LNMRXCXVYYVA" --delete --auth "als=0,0.1,0,1,0,NaN,0,0,0,56,f,0,2765.29,f,u,LNMRX CXVYYVA,2.10.3,56&hdcore=2.10.3" --useragent "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"

It would be very helpfull from you, I would appreciate even not working code, I can try finish it myself.

As I describe in previous post, I have checked network communication usign chrome tools, control every documents and did not found any readable candidates and any suspicious files, so I need to check fragments itself and in case, there are no captions I will inspect others for some hidden encrypted version in code of page or something like that.

Thanks
Jan

biezom
12-14-2015, 12:27 PM
Hi, thanks for reply. Here are some fragments

http://www.filedropper.com/adobehds12fragments ~20MB
http://www.filedropper.com/adobehds22fragments ~40MB
http://www.filedropper.com/adobehds62fragments ~100MB

Best is 22, there they are speaking from the beginning.

Fragments are from:
php AdobeHDS.php --manifest "http://vod.univision.com/z/media/999/15/05/21/3065082/,150521_3065082_Lo_Imperdonable_Capitulo_7_1432685 545_150,150521_3065082_Lo_Imperdonable_Capitulo_7_ 1432685545_510,150521_3065082_Lo_Imperdonable_Capi tulo_7_1432685545_810,150521_3065082_Lo_Imperdonab le_Capitulo_7_1432685545_270,150521_3065082_Lo_Imp erdonable_Capitulo_7_1432685545_500,150521_3065082 _Lo_Imperdonable_Capitulo_7_1432685545_800,150521_ 3065082_Lo_Imperdonable_Capitulo_7_1432685545_1200 ,150521_3065082_Lo_Imperdonable_Capitulo_7_1432685 545_2000,.mp4.csmil/manifest.f4m?hdcore=2.10.3&g=LNMRXCXVYYVA" --delete --auth "als=0,0.1,0,1,0,NaN,0,0,0,56,f,0,2765.29,f,u,LNMRX CXVYYVA,2.10.3,56&hdcore=2.10.3" --useragent "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:42.0) Gecko/20100101 Firefox/42.0"

It would be very helpfull from you, I would appreciate even not working code, I can try finish it myself.

As I describe in previous post, I have checked network communication usign chrome tools, control every documents and did not found any readable candidates and any suspicious files, so I need to check fragments itself and in case, there are no captions I will inspect others for some hidden encrypted version in code of page or something like that.

Thanks
Jan

hi

http://player.ooyala.com/player_api/v1/content_tree/external_id/RvYzg6W4ZZ2OMccHJ_SNtCIZCrg6/3054306

http://player.ooyala.com/player/cc/xyc3g1dTp_zVSqIgBR3bmF0C-HBvonVQ/es.vtt

habaso
12-14-2015, 01:39 PM
Thanks a lot, seems to be able to look further and better than me.

Where to look exactly? Check network communication for vtt files or look somewhere in the page code for player invocation?

biezom
12-14-2015, 02:13 PM
Thanks a lot, seems to be able to look further and better than me.

Where to look exactly? Check network communication for vtt files or look somewhere in the page code for player invocation?

http://i.imgur.com/2huyEtp.png

KSV
12-14-2015, 11:00 PM
I have checked the fragments and they don't have any embedded captions. as user biezom posted the direct link you probably missed it in network traffic.

habaso
12-15-2015, 01:46 AM
Thanks a lot. I am not web developer a not work with those tools. So I have missed it in a lot of network traffic. Thanks for showing me, how easy can find it in Console window.

And for even less experienced, than me, captions can be found found using firebug extension for firefox. In this case really easy, exploring content invocation get from player invocation found using console panel.

Thanks a lot, once more :)

iamsumit
12-21-2015, 12:34 PM
Sorry but whats the difference between using this and using livestreamer hds://http://........?

steve7878
12-22-2015, 10:30 AM
Hey KSV thank you soo much for you're hard work it's really appreciated mate.

I have almost everything working but can't seem to use adobeHDS properly unless I am doing something wrong.

I have got PHP and adobeHDS working and confirmed using CMD both are available in the system.

But when I try to enter link into CMD an error message is diplayed. I am trying to capture stuff from NBC Sports Xtra.

Can you please shine some light as I am completely lost.

Thanks

newbjohn
12-31-2015, 09:27 AM
@KSV: I like your work a lot, thank you for that.

Therefore I have a question: Would it be possible to rely uniquely on a script language+curl ?

I am considering to develop a newb-friendly version with a GUI ; the goal would be that someone has to paste in the url where the video is located, then the script does the rest...

first objective: avoid the firefox add-on
second: avoid PHP

Is there anything that could be in the way ?

Thank!

-newbjohn

stream_monkey
12-31-2015, 04:21 PM
I am considering to develop a newb-friendly version with a GUI...

An interesting idea, but the easier a tool is to use the more people will use it and the sooner these methods stop working.

iamsumit
01-04-2016, 03:51 AM
I am trying to download this: http://gaana.com/song/soch-na-sake
and get this error:
Any ideas?

<div class="container">
<div class="site-footer" role="contentinfo">
<ul class="site-footer-links right">
<li><a href="https://status.github.com/" data-ga-click="Footer, go to status, text:status">Status</a></li>
<li><a href="https://developer.github.com" data-ga-click="Footer, go to api, text:api">API</a></li>
<li><a href="https://training.github.com" data-ga-click="Footer, go to training, text:training">Training</a></li>
<li><a href="https://shop.github.com" data-ga-click="Footer, go to shop, text:shop">Shop</a></li>
<li><a href="https://github.com/blog" data-ga-click="Footer, go to blog, text:blog">Blog</a></li>
<li><a href="https://github.com/about" data-ga-click="Footer, go to about, text:about">About</a></li>
<li><a href="https://github.com/pricing" data-ga-click="Footer, go to pricing, text:pricing">Pricing</a></li>

</ul>

<a href="https://github.com" aria-label="Homepage">
<span class="mega-octicon octicon-mark-github " title="GitHub "></span>
</a>
<ul class="site-footer-links">
<li>&copy; 2016 <span title="0.13255s from github-fe118-cp1-prd.iad.github.net">GitHub</span>, Inc.</li>
<li><a href="https://github.com/site/terms" data-ga-click="Footer, go to terms, text:terms">Terms</a></li>
<li><a href="https://github.com/site/privacy" data-ga-click="Footer, go to privacy, text:privacy">Privacy</a></li>
<li><a href="https://github.com/security" data-ga-click="Footer, go to security, text:security">Security</a></li>
<li><a href="https://github.com/contact" data-ga-click="Footer, go to contact, text:contact">Contact</a></li>
<li><a href="https://help.github.com" data-ga-click="Footer, go to help, text:help">Help</a></li>
</ul>
</div>
</div>







<div id="ajax-error-message" class="flash flash-error">
<span class="octicon octicon-alert"></span>
<button type="button" class="flash-close js-flash-close js-ajax-error-dismiss" aria-label="Dismiss error">
<span class="octicon octicon-x"></span>
</button>
Something went wrong with that request. Please try again.
</div>


<script crossorigin="anonymous" integrity="sha256-7460qJ7p88i3YTMH/liaj1cFgX987ie+xRzl6WMjSr8=" src="https://assets-cdn.github.com/assets/frameworks-ef8eb4a89ee9f3c8b7613307fe589a8f5705817f7cee27bec5 1ce5e963234abf.js"></script>
<script async="async" crossorigin="anonymous" integrity="sha256-S2uOfRHrt7zoUSbTtBMMgAQfKubV1u+JAajAw/fLgNI=" src="https://assets-cdn.github.com/assets/github-4b6b8e7d11ebb7bce85126d3b4130c80041f2ae6d5d6ef8901 a8c0c3f7cb80d2.js"></script>



<div class="js-stale-session-flash stale-session-flash flash flash-warn flash-banner hidden">
<span class="octicon octicon-alert"></span>
<span class="signed-in-tab-flash">You signed in with another tab or window. <a href="">Reload</a> to refresh your session.</span>
<span class="signed-out-tab-flash">You signed out in another tab or window. <a href="">Reload</a> to refresh your session.</span>
</div>
</body>
</html>

iamsumit
01-04-2016, 03:55 AM
Am i missing something or is it not possible to download. Let me know.

-D3n1s-
01-04-2016, 04:12 AM
Am i missing something or is it not possible to download. Let me know.

http://gaanavod-vh.akamaihd.net/z/mp4/64/13/1580913/16506930.mp4/manifest.f4m?hdnea=st=1451905007~exp=1451906207~ac l=/*~hmac=045f2b14b0b6a8f3abe4addcd7b18fbd825af9c8e06 a90420f62d527ab10f573&g=XBKQLLOEUWBB&hdcore=3.4.0&plugin=aasp-3.4.0.132.66

http://s21.postimg.org/oae03n4dj/Untitled.png

iamsumit
01-04-2016, 05:45 AM
Thanks Denis.

I am writing this command in command prompt -


C:\Users\MyUserName>php AdobeHDS.php --manifest "http://gaanavod-vh.akamaihd.net/z/mp4/128/13/1580913/16506930.mp4/manifest.f4m?hdnea=st=1451910960~exp=1451912160~ac l=/*~hmac=c45050b22391af0bdc1117212649812b7258663cc3f 0cf1fd5071bae171ff914&g=HRUHXWMFAZGW&hdcore=3.4.0&plugin=aasp-3.4.0.132.66" --delete --auth "hdntl=exp=1451997863~acl=%2f*~data=hdntl~hmac=37bb 68c91508930d9f0d73d506763de46778cdd5ea07fdff57df42 7cd6d7856c&g=HRUHXWMFAZGW&hdcore=3.4.0&plugin=aasp-3.4.0.132.66&als=0,3,NaN,0,0,NaN,0,0,0,17,f,0,281.03,f,u,QKOYGE RJFIPI,3.7.0,17" --useragent "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:43.0) Gecko/20100101 Firefox/43.0"

What is wrong here?

Also where do i get AdobeHDS.bat from?
And i am using PHP v5.4.45. Is that okay?

iamsumit
01-04-2016, 03:31 PM
Ok found the solution - needed to download the raw format of the adobehds.php

ryanf86
01-24-2016, 09:13 PM
I'm trying to download the video from this link:

https://au.tv.yahoo.com/plus7/cats-make-you-laugh-out-loud/-/watch/30572055/cats-make-you-laugh-out-loud-thu-14-jan-season-1-episode-2/

But when i try to use the AdobeHDS.php I get the following error:

This stream is encrypted with FlashAccess DRM. Decryption of such streams isn't currently possible with this script.

What confuses me though is that i can use the script below and the video downloads without any issue.

https://github.com/blha303/plus7-tools

Can someone else test this to make sure im not doing something wrong.

Thanks in Advance.

stream_monkey
01-24-2016, 11:33 PM
I'm trying to download the video from this link:

https://au.tv.yahoo.com/plus7/cats-make-you-laugh-out-loud/-/watch/30572055/cats-make-you-laugh-out-loud-thu-14-jan-season-1-episode-2/

But when i try to use the AdobeHDS.php I get the following error:

This stream is encrypted with FlashAccess DRM. Decryption of such streams isn't currently possible with this script.

What confuses me though is that i can use the script below and the video downloads without any issue.

https://github.com/blha303/plus7-tools

Can someone else test this to make sure im not doing something wrong.

Thanks in Advance.
Sometimes there are hidden mobile playlists (.m3u8-unencrypted) in addition to the encrypted hds playlists.

This seems to be one of those. Youtube-dl also is able to download it.

ryanf86
01-25-2016, 12:00 AM
Thanks for that.

Now any ideas about the paid streaming service Presto? They use the same as Plus7 except i haven't been able to find a .m3u8 only .f4m

If i use youtube-dl and the url from the hds link detector e.g. http://ken-cdn250-is-2.se.fxmultihdsvod256.ngcdn.telstra.com/M1dzRyeDrKIcGSorUk3vtHln4iB-v0-D/M1dzRyeDrKIcGSorUk3vtHln4iB-v0-D_1.f4m

I get the following error

$ youtube-dl http://ken-cdn250-is-3.se.fxmultihdsvod256.ngcdn.telstra.com/M1dzRyeDrKIcGSorUk3vtHln4iB-v0-D/M1dzRyeDrKIcGSorUk3vtHln4iB-v0-D_1.f4m
[generic] M1dzRyeDrKIcGSorUk3vtHln4iB-v0-D_1: Requesting header
WARNING: Falling back on generic information extractor.
[generic] M1dzRyeDrKIcGSorUk3vtHln4iB-v0-D_1: Downloading webpage
[generic] M1dzRyeDrKIcGSorUk3vtHln4iB-v0-D_1: Extracting information
ERROR: Unsupported URL: http://ken-cdn250-is-3.se.fxmultihdsvod256.ngcdn.telstra.com/M1dzRyeDrKIcGSorUk3vtHln4iB-v0-D/M1dzRyeDrKIcGSorUk3vtHln4iB-v0-D_1.f4m

stream_monkey
01-25-2016, 12:27 AM
What's the original url?

ryanf86
01-25-2016, 01:52 AM
What's the original url?

https://www.presto.com.au/tv/upper-middle-bogan

hawkdown77
01-28-2016, 05:01 AM
Hi guys.....
Please... someone can help me??? i already try GETFLV but i cannot download.

This link: http://hdiob-vh.akamaihd.net/z/palestras/palestras_2014/palestra_etica_020714_laurady_100k.mp4/manifest.f4m?hdnea=st=1453940954~exp=1453941154~ac l=/*~hmac=03f42445fd221c6df569b594479269a0e63d5c49c7a 2d91fb1ec4bfa6362d8e6&hdcore=2.11.3&g=MENWSXTVVHTV


Thanks Advance

Shams
02-02-2016, 06:09 AM
I'm trying to download the video from this link:

https://au.tv.yahoo.com/plus7/cats-make-you-laugh-out-loud/-/watch/30572055/cats-make-you-laugh-out-loud-thu-14-jan-season-1-episode-2/

But when i try to use the AdobeHDS.php I get the following error:

This stream is encrypted with FlashAccess DRM. Decryption of such streams isn't currently possible with this script.

What confuses me though is that i can use the script below and the video downloads without any issue.

https://github.com/blha303/plus7-tools

Can someone else test this to make sure im not doing something wrong.

Thanks in Advance.

can you explain how to use the script above please ?

stream_monkey
02-07-2016, 03:03 PM
Forgive me if this has been asked/answered before, but is there a way to channel the output of a live stream to a media player (e.g. vlc)?

I am checking out the Super Bowl stream from cbs.com (http://www.cbssports.com/nfl/superbowl/live/player) and it would be nice to stream it to vlc rather than use the browser. Obviously I am able to capture it to disc, but i am hoping to be able to actually view it in a stand-alone player in realtime.

I tried livestreamer, but was unsuccessful.

Many thanks.

biezom
02-07-2016, 03:51 PM
Forgive me if this has been asked/answered before, but is there a way to channel the output of a live stream to a media player (e.g. vlc)?

I am checking out the Super Bowl stream from cbs.com (http://www.cbssports.com/nfl/superbowl/live/player) and it would be nice to stream it to vlc rather than use the browser. Obviously I am able to capture it to disc, but i am hoping to be able to actually view it in a stand-alone player in realtime.

I tried livestreamer, but was unsuccessful.

Many thanks.


hi

with option --play

maybe need adapt the path of vlc and the part in red

php AdobeHDS.php --manifest "http://cbssuperbowlhd-lh.akamaihd.net/z/cbs_sb50lga@360996/manifest.f4m?g=JMTGGKHBYBUM&hdcore=3.3.1" --delete --play | "C:\Program Files\VideoLAN\VLC\vlc.exe" -

or with livestreamer

livestreamer "hds://http://cbssuperbowlhd-lh.akbs_sb50lga@360996/manifest.f4m?g=NKTWZVQKUYHE&hdcore=3.3.1" best

stream_monkey
02-07-2016, 03:59 PM
hi

with option --play

maybe need adapt the path of vlc and the part in red

php AdobeHDS.php --manifest "http://cbssuperbowlhd-lh.akamaihd.net/z/cbs_sb50lga@360996/manifest.f4m?g=JMTGGKHBYBUM&hdcore=3.3.1" --delete --play | "C:\Program Files\VideoLAN\VLC\vlc.exe" -

or with livestreamer

livestreamer "hds://http://cbssuperbowlhd-lh.akbs_sb50lga@360996/manifest.f4m?g=NKTWZVQKUYHE&hdcore=3.3.1" best

Rockstar. Many thanks!

Not sure how I missed the --play handle...

:)

save8lot
02-13-2016, 04:53 AM
So I just downloaded and installed PHP for the first time (never used it before). Nobody told me where to save the Script so I just saved it in a subfolder of the PHP Folder, and changed to that directory within Command Prompt before running the script.

So for my First Time, I am trying to download a Video From this site (Video #76 from the drop down menu within the Media Player):
http://multfilmchik.ru/multserials/292-gufi-i-ego-komanda-goof-troop-2-sezon.html

Using the HDS Link Detector I get the following Command to run:
php AdobeHDS.php --manifest "http://multfilmchik.ru/video/673fa91a96c64740/R3BEaHFTUUwvME5qMFRkRWJHdUdtNzhKalpRSmlrQU45eHNBUF JlK1lmdHhhbHJ1bzZxdzNCKzFPMlB0SmZJRFVyNGpGKzhPY1hk Wmp4NGVINE1wUHJ1S2l3WXFCQ0ZWTlhtU1Nha2liZHEzOE9sOD lDNDV6Q0NacE9CNnhuTm9ld3llZ3BKUExaYWQrUEIyakt0OWhi M3VPbjM0bjYxdGJRVWhhNHpqR2tNSUFTQS90ZDZiVENwbGd3UH JRdzFsZDRhMGJEd3oveHc5NWhyTm1yaEg1Zz09/1/manifest.f4m" --delete

However when I run this I Get the Following:
C:\PHP\AdobeHDS>php AdobeHDS.php --manifest "http://multfilmchik.ru/video/673fa9
1a96c64740/R3BEaHFTUUwvME5qMFRkRWJHdUdtNzhKalpRSmlrQU45eHNBUF JlK1lmdHhhbHJ1bzZxd
zNCKzFPMlB0SmZJRFVyNGpGKzhPY1hkWmp4NGVINE1wUHJ1S2l 3WXFCQ0ZWTlhtU1Nha2liZHEzOE9sO
DlDNDV6Q0NacE9CNnhuTm9ld3llZ3BKUExaYWQrUEIyakt0OWh iM3VPbjM0bjYxdGJRVWhhNHpqR2tNS
UFTQS90ZDZiVENwbGd3UHJRdzFsZDRhMGJEd3oveHc5NWhyTm1 yaEg1Zz09/1/manifest.f4m" --de
lete

KSV Adobe HDS Downloader

Processing manifest info....

Warning: simplexml_load_string(): Entity: line 9: parser error : Opening and end
ing tag mismatch: meta line 6 and head in C:\PHP\AdobeHDS\AdobeHDS.php on line 5
82

Warning: simplexml_load_string(): </head> in C:\PHP\AdobeHDS\AdobeHDS.php on
line 582

Warning: simplexml_load_string(): ^ in C:\PHP\AdobeHDS\AdobeHDS.php on
line 582

Warning: simplexml_load_string(): Entity: line 168: parser error : Opening and e
nding tag mismatch: head line 3 and html in C:\PHP\AdobeHDS\AdobeHDS.php on line
582

Warning: simplexml_load_string(): </html> in C:\PHP\AdobeHDS\AdobeHDS.php on lin
e 582

Warning: simplexml_load_string(): ^ in C:\PHP\AdobeHDS\AdobeHDS.php on li
ne 582

Warning: simplexml_load_string(): Entity: line 168: parser error : Premature end
of data in tag html line 2 in C:\PHP\AdobeHDS\AdobeHDS.php on line 582

Warning: simplexml_load_string(): </html> in C:\PHP\AdobeHDS\AdobeHDS.php on lin
e 582

Warning: simplexml_load_string(): ^ in C:\PHP\AdobeHDS\AdobeHDS.php on li
ne 582
Failed to load xml

C:\PHP\AdobeHDS>


So What exactly am I doing Wrong?

sysanin
02-13-2016, 02:41 PM
So What exactly am I doing Wrong?
Try so (see this GIF)

http://s23.postimg.org/xet59xopj/f4m3.jpg (http://postimg.org/image/xet59xopj/)

http://default.edge05.moonwalk.cc/sec/1455425248/38343434c6c7d410a339cc1f9e82762f80de5cd3660a0bc2/ivs/7d/60/5be2465c1ac6.mp4/hls/tracks-1,4/index.m3u8

KSV
02-15-2016, 09:11 AM
@save8lot

Add following switch to command line detected by "HDS Link detector" plugin and it will work.

-referrer "http://multfilmchik.ru/player/web/uppod/player.swf"


KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
Available: 940 480 286
Selected : 940
Fragments Total: 254, First: 1, Start: 1, Parallel: 8
Downloading 11/254 fragments

save8lot
02-17-2016, 06:10 AM
Try so (see this GIF)

http://s23.postimg.org/xet59xopj/f4m3.jpg (http://postimg.org/image/xet59xopj/)

http://default.edge05.moonwalk.cc/sec/1455425248/38343434c6c7d410a339cc1f9e82762f80de5cd3660a0bc2/ivs/7d/60/5be2465c1ac6.mp4/hls/tracks-1,4/index.m3u8

That is a nice trick and a Different way to do it. Thanks for sharing that. :)


@save8lot

Add following switch to command line detected by "HDS Link detector" plugin and it will work.

-referrer "http://multfilmchik.ru/player/web/uppod/player.swf"


KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
Available: 940 480 286
Selected : 940
Fragments Total: 254, First: 1, Start: 1, Parallel: 8
Downloading 11/254 fragments

Perfect, that is what I was looking for. I tried it and it worked perfectly. Thank You. However since that specific referral link is only associated with this particular website, how can I determine the correct referral link for other sites? Would I simply search the "Web Console" in Firefox for any link that includes "player.swf" at the end? Or is there more to it than that?

MaxBlum
02-23-2016, 05:27 PM
Need some help, I'm new to AdobeHDS php. I have done everything Installing PHP for dummies (Windows only) has told me to do, yet I still cant get it to work. Heres the link Im trying to get to work.

php AdobeHDS.php --manifest "http://fxxhds-vh.akamaihd.net/z/FX_Networks_-_FXX/755/695/Man_Seeking_206_HD_Clean_AUTH_movie_14550224677,67 _4,68_6,70_9,72_14,73_19,75_26,28000.mp4.csmil/manifest.f4m?hdnea=st=1456273392~exp=1456273722~ac l=/z/FX_Networks_-_FXX/755/695/Man_Seeking_206_HD_Clean_AUTH_movie_14550224677*~i d=771b2759-1ba1-4ab3-849b-f1b81b02afcf~hmac=2669cfdb5e2c8520f23c9942fbdae54e 6916510a73d7f135bd8200c621dc99e7&hdcore=3.5.0" --delete --auth "hdntl=exp=1456359823~acl=%2fz%2fFX_Networks_-_FXX%2f755%2f695%2fMan_Seeking_206_HD_Clean_AUTH_m ovie_14550224677*~data=hdntl~hmac=5816e961bdd0bdad 2a2149e95a4f874bfe18a9b2fb9dc802cd21ad30440183c6&als=0,3,NaN,1,0,NaN,0,0,0,41,f,0,1301.85,f,s,OKNKP JTNVXQG,3.5.0,41&hdcore=3.5.0" --useragent "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0"

and this what I receive

http://oi67.tinypic.com/s48fnp.jpg

Any help would be appreciated. Thanks.

slim10
02-23-2016, 05:55 PM
Need some help, I'm new to AdobeHDS php. I have done everything Installing PHP for dummies (Windows only) has told me to do, yet I still cant get it to work. Heres the link Im trying to get to work.

php AdobeHDS.php --manifest "http://fxxhds-vh.akamaihd.net/z/FX_Networks_-_FXX/755/695/Man_Seeking_206_HD_Clean_AUTH_movie_14550224677,67 _4,68_6,70_9,72_14,73_19,75_26,28000.mp4.csmil/manifest.f4m?hdnea=st=1456273392~exp=1456273722~ac l=/z/FX_Networks_-_FXX/755/695/Man_Seeking_206_HD_Clean_AUTH_movie_14550224677*~i d=771b2759-1ba1-4ab3-849b-f1b81b02afcf~hmac=2669cfdb5e2c8520f23c9942fbdae54e 6916510a73d7f135bd8200c621dc99e7&hdcore=3.5.0" --delete --auth "hdntl=exp=1456359823~acl=%2fz%2fFX_Networks_-_FXX%2f755%2f695%2fMan_Seeking_206_HD_Clean_AUTH_m ovie_14550224677*~data=hdntl~hmac=5816e961bdd0bdad 2a2149e95a4f874bfe18a9b2fb9dc802cd21ad30440183c6&als=0,3,NaN,1,0,NaN,0,0,0,41,f,0,1301.85,f,s,OKNKP JTNVXQG,3.5.0,41&hdcore=3.5.0" --useragent "Mozilla/5.0 (Windows NT 6.3; WOW64; rv:44.0) Gecko/20100101 Firefox/44.0"

and this what I receive

http://oi67.tinypic.com/s48fnp.jpg

Any help would be appreciated. Thanks.


PHP can't find the AdobeHDS.php file. You need to either include the whole path to AdobeHDS.php in your command line, or AdobeHDS.php needs to be in your current working folder.

MaxBlum
02-23-2016, 07:34 PM
PHP can't find the AdobeHDS.php file. You need to either include the whole path to AdobeHDS.php in your command line, or AdobeHDS.php needs to be in your current working folder.

I think I have it in the same folder

http://oi68.tinypic.com/jjqwzo.jpg

slim10
02-23-2016, 07:53 PM
I think I have it in the same folder

http://oi68.tinypic.com/jjqwzo.jpg


That appears to be your "c:\PHP" folder. You were in "c:\Users\Lee" when you tried to run the command.

MaxBlum
02-23-2016, 08:13 PM
That appears to be your "c:\PHP" folder. You were in "c:\Users\Lee" when you tried to run the command.

Thank you. That was it.

kandaraj789
02-24-2016, 12:00 PM
Hi, First things first, Thank you K-S-V and others for this great script. It works like a charm. I have been thinking about this script a lot, recently.

I was wondering if i could download the fragments with IDM because where i live, speed had been given the adjective "very slow". Also, IDM supports resuming capabilities too. I have observed that if you have the session key, you can join these fragments offline too. So, i was thinking if there is a way to "generate" session key.

Also, Being logical about the way this script works(I am a Computer Science Student), I think that if any website is given some video(in mp4) and they are asked to upload it and stream it using Adobe HDS then they would first split that video into parts of x seconds duration and maybe encrypt those files after that. But, the question is, if the files are encrypted, then there must be a key and it must be unique and global(never changing, if it changes it could only mean that the server is splitting the mp4 video and encrypting it every time a user live streams the video, which i think is not possible because of too many visitors at one time and the time taken to split and encrypt each file is certainly enough if the files are big). So, in short if the key is global, how to access it and use it to calculate session key so as to be able to process fragments offline.


In short, i want to process fragments offline because i want to download them using IDM which has resume capability and IDM also offers the highest download speed. Can anyone help me out please?

Mutut
02-25-2016, 12:40 PM
Hi, I tried Adobe HDS Downloader on an embedded video. I caught the manifest thanks to the Link Detector but when I launch the script, it says:
KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
Available: 672
Selected: 672
Fragments total: 541, First: 1, Start: 1, Parallel: 8
Access Denied! Unable to download fragments.

Here's the script I first used:
php AdobeHDS.php --manifest "http://tf1vodhdscatchup-vh.akamaihd.net/z/H264-384x288/91/85/11319185.h264/manifest.f4m?hdnea=st=1456428498~exp=1456430298~ac l=/*~hmac=543fee15568c3e6841b6255482d7baabe7f48f9589d d60e510bfd26a7152335b&bu=WAT&login=ntz&i=86.218.204.125&u=a9241c6546c9212a602c5246c56d6f7b&sum=ac2388a345bdf0f0e60f17340dedc73d&start=0&hdcore=2.11.3&g=GPTMGKSFPHUA" --delete --auth "pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a%7Edata %3DZXhwPTE0NTY1MTQ4OTl+YWNsPSUyZip+ZGF0YT1wdmMsc35 obWFjPTllZTU1MTU2NTQwMzk2YzcwZTE0ZjRlY2EwOWVjYjk4M jE4OWRhNTdmYmI2NmQ1Y2VkMTUyMGEyMjExYTk3OWU%3D%21dL iI/VkZ8lgyYaau3IcgVUBFrAbEk2qmwY6+VSa5O4w%3D%7Ehmac%3 D26D6FBAA42B0E0426D9B6A3853465E3E102FDBF3ED32EAA0A 42AA2F2ECD14CCD&hdntl=exp=1456514899~acl=%2f*~data=hdntl~hmac=7a85 8a0e6107684d46e16ee690a5a201938ca63cf0bf716192f3d1 6a2fd578a8&bu=WAT&login=ntz&i=86.218.204.125&u=a9241c6546c9212a602c5246c56d6f7b&sum=ac2388a345bdf0f0e60f17340dedc73d&start=0&als=0,2,0,0,0,NaN,0,0,0,24,f,0,3246.68,f,s,GPTMGKS FPHUA,2.11.3,24&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 10.0; WOW64; rv:46.0) Gecko/20100101 Firefox/46.0"

I tried with -manifest "http://www.wat.tv/images/v70/PlayerLite.swf" (with and without the VideoId from the original link) but still can't download.

The original link of the video is no longer available since the website is now closed. You can check it here: http://www.wat.tv/video/jt-21-decembre-1995-tf1-20-6qpdf_2eyuf_.html

The embedded link which still works actually:
http://www.wat.tv/images/v70/PlayerLite.swf?videoId=6qpdf

Can you help me please?

etatoby
03-08-2016, 04:54 PM
Dear KSV,
thank you a lot for writing and maintaining this behemoth of a script!

My use case is watching sports matches of my favorite volleyball team from a subscription-based service, which I do pay for, but whose Flash player sucks.

Basically it does zero buffering, so my connection remains idle for 90% of the time, while the current segment is playing; then at the last possible moment the SWF wakes up and tries to download the next segment, freezing the video because it cannot get it in time; then it plays the segment, goes down in resolution, connection idle again... rinse and repeat, over and over, making the match impossible to enjoy. Whoever wrote this piece of shit Kaltura player needs to be tarred and feathered and sent back to flipping burgers. Even Real Player had better buffering!

Anyways, as I was squeezing Google for information about this crazy segmented media format I had never seen before, I found your script mentioned in some other forum. I was able to apply it straightaway to my website, at least for the recorded matches (I have to wait for the next live match to see if it works live too)

I have never seen a media protocol as complicated as this. I've been browsing the source code of your script and I have to say I'm stunned at the complexity and ingenuity it displays.

Bravo! If there is any way for me to buy you a beer, PM me the details :-)

MrPaul
03-10-2016, 07:15 AM
I'm trying to download video from http://livestream.com/boisestate/events/4800203/videos/114615595 but I'm failing. HDS Link Detector isn't building this for me as it has in past for videos on this site so I'm going old school via wireshark.

I've found the SMIL "http://api.new.livestream.com/accounts/14596003/events/4800203/videos/114615595.smil" but I'm unable to get AdobeHDS.php to parse it.

syrist
03-14-2016, 08:35 AM
Try this:

php AdobeHDS.php --delete --manifest "http://vod.livestream.com/events/0000000000493ecb/63868808-9f6a-479d-831b-184825fed1ad_,678,.mp4/manifest.f4m?token=0_574a8212_263f94a92a91d2a51b89 6e7933fbbcaf93cf2e67&start=507&end=7041"

MrPaul
03-14-2016, 07:03 PM
Looks like they changed something on the site. When I open it now HDS link detector does grab that command below. However, some of the URLs from before still exist.

The XML containing the higher speed/resolution video is at http://nlds119.neulion.com:443/play?url=%2Fnldsu_vod%2Fjtvs%2Fvod%2F2016%2F03%2F0 4%2Fcdwrzlbidrdbuze.20160305042511%2Fcdwrzlbidrdbu ze.20160305042511_1_pc.mp4' which links specifically to the HD stream at 'http://nlds119.neulion.com:443/play?url=%2Fnldsu_vod%2Fjtvs%2Fvod%2F2016%2F03%2F0 4%2Fcdwrzlbidrdbuze.20160305042511%2Fcdwrzlbidrdbu ze.20160305042511_1_3000.mp4'

I'm hoping I can find a link to that HD stream. Doesn't seem like they change any keys.

chessdunk
03-15-2016, 02:24 PM
Hi, I am not able to use HDS Link Detector with Firefox on the following link...

http://www.sonyliv.com/details/episode/4800640463001/14-Mar-2016---Ek-Duje-Ke-Vaaste---Sumo%E2%80%99s-dress-from-Past

How do I get the manifest url? Pls help.

CIRCUSGIRL
03-20-2016, 08:55 PM
Hello,
I need help!
I started a thread named "http://ici.radio-canada.ca/tele/"
I received only 1 answer which redirected me here and now I'm stuck with no more replies to my 2nd question:

When I paste the link from HDS link Detector, I get this message: "could not open input file: AdobeHDS.php"


p.s. I read all sticky post from Video stream recording, and it did not help me. I tried numerous free and registered programs without any success.

I'm not a programmer and I don't understand PHP. I need a self explanatory method for Dummies. I read and tried following the WIKI
https://github.com/K-S-V/Scripts/wiki

I had some trouble with the whole process of installing PHP, but I finally made it work : when I type php -v I get the right msg.

All I want is to be able to download videos from this site:
http://ici.radio-canada.ca/tele/toc-toc-toc/2014-2015/episodes/351504/paques-oeuf-chocolat-fete?isAutoPlay=1

Video Downloader Ultimate was able to download all video fragments to a folder. I read the method to stitch them together, but I can't figure how to make it work.
Please, I already spent 5 days from 10 am to 10 pm trying to make this work. I'm going insane and I need help.


EDIT: I finally made it work and I got the video! This youtube video helped :
https://www.youtube.com/watch?v=Ahq_Azppvj8
I would like to say what made it difficult is that the steps in wiki are incomplete. Here are steps you could add to it to help others like me:

After installing PHP, download AdobeHDS.php script here: https://raw.githubusercontent.com/K-S-V/Scripts/master/AdobeHDS.php
Save page as: AdobeHDS.php (remove .txt)
Place file in C:\PHP
Open Command Prompt and type: cd c:\php
To see if everything is working (you should see help menu appear) type: php adboeHDS.php --help
Go to your video in Firefox, copy link with HDS link detector
paste link in Command Prompt
It should start download!!

I'm so happy!!! :)

newbiejaja
04-05-2016, 08:27 PM
I need some serious help here.
I'm a bit new to all of this, but I've been using two programs for a while now. PHP (V5.3) and FFMPEG/ISMDownloader.

But, my computer crashed, had to turn it back to the day I got it. Voila, everything was gone. Opened up my old laptops, 5 of them, found the old folders in one of them. Hallelujah.
I remembered this happened once before. So I did the same as now.
- Copy the v5.3 folder (php, from C where it was located),
- Paste in my extended harddrive and then just paste into C on my new laptop. And it worked, twice.
But now this time.

First I got a message saying the cURL extension needed to be downloaded.
Fooled around, fucked up and deleted everything and then changed it back, copied and pasted and 7 hours later; I now just get this message;
http://i63.tinypic.com/n1w3kk.jpg

I've tried to copy and paste - didn't work, but it worked for FFMPEG
I've tried downloading different versions - didn't work
I've tried to use this one; https://www.microsoft.com/web/platform/phponwindows.aspx
Put it in just C. Then program files (x86) and copy and make a copy on to just "C", and tried "C:/PHP" as well. Deleted and did it all over again.

I followed this guide, twice; https://github.com/K-S-V/Scripts/wiki
The "installing for dummies" - didn't work.

Can't find a single "tutorial" on how to install it on windows 10.

What is going on?!

The only difference is; first laptop has Windows 7. The second laptop has Windows 7, upgraded to windows 10 - PHP worked fine on those.
This laptop had windows 8 - worked.
Then I upgraded it to windows 10 - worked.
Then my laptop died; I had to reset it to factory (back to win 8) and upgraded it to 10. Did the same copy and paste method but now PHP wont work! FFMPEG works, even tho I forgot to copy the ismn folder, why or how it works, I have no freaking clue.

Yes, I might use wrong names here. But I'm not smart, I'm actually a bit dumb. I killed my laptop, 4 times. Because I dropped them on the floor, kicked it and threw one out of the window, yes, anger issues.
PHP is Adobe php.

I only use it to download videos, or stream or record.
I use sniffer, find the manifest and done.
Or firefox - HDS link detector, done.
That's what I need it for, to download videos where I can capture the manifest.

This is the bat file I use;
php.exe adobehds.php --manifest "INSERT LINK HERE" --delete

pause

Sometimes I just copy the whole thing captured by HDS link detector.
No complicated stuff is being done. I don't use this program for anything else.
Help! why wont it work on my laptop? What I'm doing wrong in downloading it?

I tried it on my old laptop, and it worked fine. The V5.3 folder that I use is working fine, but on this laptop it wont work.

umairpk85
04-25-2016, 02:07 PM
hello sir..

one request sir.. when capturing with adobe hds tere are 4 types of fragments but adobe hds automatically choose the highest ones HD, how to select lower one's?

any idea..

http://i.imgur.com/gMnAmf8.jpg

how to choose between quality selection

i will be highly oblighed sir

Quaraxkad
04-26-2016, 08:52 AM
one request sir.. when capturing with adobe hds tere are 4 types of fragments but adobe hds automatically choose the highest ones HD, how to select lower one's?


Read: https://github.com/K-S-V/Scripts/wiki

--quality low/medium/high

slim10
04-26-2016, 11:15 AM
Read: https://github.com/K-S-V/Scripts/wiki

--quality low/medium/high


Or he can choose the exact bitrate. According to his screen cap, the choices appear to be: 4057, 2105, 1298, 765, 460 or 257.

umairpk85
05-03-2016, 12:39 PM
thanks alot for the help guys.. one more thing.. does adobe hds works on windows 2012R2 ? i shifted to this window today and i m not able to make it workout on adobe hds here.. plz help

Gbry
05-04-2016, 10:30 AM
Hi guys,
is it possible to increase the "updating bootstrap info:...." attempts?

Seems to me that after the second one, HDS stop to record.

AlvoErrado2
05-07-2016, 08:28 PM
http://www.tfou.fr/miraculous/videos/miraculous-les-aventures-de-ladybug-et-chat-noir-volpina-8729591-739.html

C:\Scripts-master>php AdobeHDS.php --manifest "http://web.q1.tf1.fr/2/USP-0x0/94/75/12989475/ssm/12989475.ism/12989475.f4m?vk=MTI5ODk0NzUuZjRt&st=pDzx0C8sYiGlejlq9Et7pQ&e=1462797912&t=1462668312&bu=TFOU&login=miraculous-tfou&i=195.154.116.60&u=3056e51cf860b4a952b391f275e70512&sum=1889bfac533451b482f304a92a76c1cd&min_bitrate=700000&max_bitrate=2000000&seek=wat&hdcore=2.11.3&g=WNSQUCJUWJBC" --delete --auth "vk=MTI5ODk0NzUuZjRt&st=pDzx0C8sYiGlejlq9Et7pQ&e=1462797912&t=1462668312&bu=TFOU&login=miraculous-tfou&i=195.154.116.60&u=3056e51cf860b4a952b391f275e70512&sum=1889bfac533451b482f304a92a76c1cd&min_bitrate=700000&max_bitrate=2000000&seek=wat&als=0,3,0,0,0,NaN,0,0,0,43,f,48,1237.72,f,s,WNSQUC JUWJBC,2.11.3,43&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:46.0) Gecko/20100101 Firefox/46.0"

KSV Adobe HDS Downloader

Processing manifest info....
Access Denied! Unable to download the manifest.

I can't download the videos on this page, any suggestion?

I downloaded using the IDM, but wanted to understand how to solve this problem.

sebus
05-15-2016, 02:23 AM
HDS Link Detector add-on for Firefox does not work on Palemoon 64 26.2.2, anyway to fix it? Even if I force install, it never shows in add-on bar

edit
Had to use Portable Firefox, worked a treat

Enable the curl extension in the php.ini file (by removing the preceding semi-colon which commented that line out)
I discovered that PHP was looking for php_curl.dll in the root of PHP, so I had to move it there from the 'ext' directory.

sebus
05-25-2016, 12:10 AM
Each flv downloaded with AHDS Downloader while processed with ffmpeg to mpg gives the following errors (but in the end converts OK)

[mp4 @ 0000018c20e1e620] Invalid DTS: 1792000 PTS: 1791360 in output stream 0:0, replacing by guess
[flv @ 0000018c20d4a680] Invalid timestamps stream=0, pts=112040, dts=112080, size=2121
[mp4 @ 0000018c20e1e620] Invalid DTS: 1793280 PTS: 1792640 in output stream 0:0, replacing by guess
frame= 2803 fps= 59 q=-1.0 Lsize= 23777kB time=00:01:52.12 bitrate=1737.1kbits/s speed=2.38x
video:21908kB audio:1783kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: 0.360898%
[aac @ 0000018c2156c800] Qavg: 892.677

Anybody has any idea why?

Same error is mentioned ie here (http://lists.infradead.org/pipermail/get_iplayer/2015-June/007788.html)

And still applies to latest available (https://ffmpeg.zeranoe.com/builds/) FFmpeg git-9591ca7 64-bit Static (2016-05-25)

sebus

xNuno
05-25-2016, 10:13 AM
Hi,

I'm using Adobe HDS script to get live stream from ISP to VLC but sometimes I get something strange like loops or repeated stuff on the player...

One thing that I did was to limit parallel connections to 1 only, this reduced the problem a lot but is not mitigated yet.

As I understand the server dont like to much connections to it like dont respect an interval and for instance when the bootstrapp needs to update and something is donwloading I get a loop or freeze.

I can't provide the link I'm using here but I can do it on PM if someone can help.

Best Regards,
Nuno

joejones15
05-25-2016, 06:41 PM
hey guys,

the script was working well, but now not getting any results, saying is unable to do FlashAccess DRM. Any ideas to help?

http://i.imgur.com/6KFgtyP.png

Gunnar
05-26-2016, 11:30 AM
Hi guys,
is it possible to increase the "updating bootstrap info:...." attempts?

Seems to me that after the second one, HDS stop to record.

Yes, same for me, fixed it by adding retries to the script, something like this, search for "$status = $cc->get($bootstrapUrl)", around line 1111? in my abused script

Also added Loginfo text plus beeps (only php-sound easily available is the Bell character for an old console, with delay inbetween)

That is, inserted 2 retries with beeps and delays, straight inline-code without any counter counting the retries.
$cc->get() is the one doing the download.
$status as 200 hex means OK, alll others different kind of problems.

First and last lines unchanged, add, insert the rest.
php.exe complains at reading the script if obvious splelling,etc errors.

$bootstrapPos = 0;
LogInfo("\n STARTSTART Updating bootstrap info, Available fragments: " . $this->fragCount);
$status = $cc->get($bootstrapUrl);
LogInfo("GOT Status: " . $status );
if ($status != 200) {
LogInfo("\n 1111Failed to refresh bootstrap info, Status: " . $status . $bootstrapUrl);
echo chr(7); usleep(10000);
echo chr(7);

$status = $cc->get($bootstrapUrl);
if ($status != 200) {
LogInfo("\n 22222Failed to refresh bootstrap info, Status: " . $status . $bootstrapUrl, true);
$status = $cc->get($bootstrapUrl);
echo chr(7); usleep(10000);
echo chr(7); usleep(10000);
echo chr(7); usleep(10000);

}
}
$bootstrapInfo = $cc->response;
ReadBoxHeader($bootstrapInfo, $bootstrapPos, $boxType, $boxSize);


Gunnar

PS Watch out with the LogError code, changed most of them as they print the error and exits, no retries.
Change them to Loginfo

PPS This helped a lot on capturing live streams, especially when also running torrents or "Cptr doing too much"
Now runs for days without this error-exit, When problems getting fragments just a matter of 6-12s of stream missing

PPPS I have also added beep-info-alerts to missed fragments, TimeStamps getting fixed or negative.
Next will be "warning-beep" when script has launched close to the default 8 simultaneus, parallel "get-fragments", a sign the connection is too slow (Need to slow down other downloads or similar).
2-3 parallel downloads means evrthng is OK for my live streams, some live streams seem to buffer only 7-8 fragments, others more.
(for archived streams I use two parallels going, enough to get full speed with no pauses inbetween)

Gunnar
05-26-2016, 11:56 AM
hey guys,

the script was working well, but now not getting any results, saying is unable to do FlashAccess DRM. Any ideas to help?

http://i.imgur.com/6KFgtyP.png

From my Finland YLE (BBC) experience the script and detector (together) can do some encrypted streams.

That is, when it "works" there is a lot of --author, etc and cookie, etc arguments added (by HDS detector plugin frm web page) needed for the script to get the (one) encryption syst recently added.
(for garbage US action series so have not bothered checking in detail)

The (humongous) link also needs to be used within some 30-60seconds or "cant access Key"

Gunnar

PS That is, your command line didnt include any of the "humongous stuff"

Gunnar
05-26-2016, 12:34 PM
Hi,

loops or repeated stuff on the player...

One thing that I did was to limit parallel connections to 1 only, this reduced the problem a lot but is not mitigated yet.


Best Regards,
Nuno
I have added Loginfo() info-text "here and there" to figure out simialr problems.
Most important to see how the script starts new fragment-downloads and when they are "done and used" (and then update bootstrap to get the new ones)
eight parallell downloads seem to run into the problem that the new next ones are not checked for until all old 8 have "arrived safely".
Some servers dont even keep 8 fragments buffered?

But getting the fragments "one-by-one" with check for new ones inbetween for every fragment wastes a lot of bandwith.

Missed fragments trigger "TImeSTamp fix" when decoding the fragments (or earlier), same for "negative timestamps"

Picking two added info-beeps as example, because I have butchered the script too much to post proper patches
As an example, LogDebug to LogInfo and ring the bell when happens (might be only every fifth hour)

if ($timeShift > $this->fixWindow)
{
echo chr(7); // ring bell
LogInfo("Timestamp gap detected: PacketTS=" . $packetTS . " LastTS=" . $lastTS . " Timeshift=" . $timeShift, $debug);
usleep(100000);
echo chr(7); // and anoher bell
if ($this->baseTS < $packetTS)
$this->baseTS += $timeShift - FRAMEFIX_STEP;
else
$this->baseTS = $timeShift - FRAMEFIX_STEP;
$packetTS = $fixedTS;
}

//--- missed fragment, decoder will have missed 2-6-12 seconds
// note, the audio stream is the "master" for timing

else
{
$this->lastFrag += 1; // bitch and scream
LogInfo("*************** Skipping failed fragment **********" . $this->lastFrag);
echo chr(7); usleep(10000);
LogInfo("*************** XXXXXXXXXXXXXXXXXXXXXXXX **********" . $this->lastFrag);
echo chr(7); usleep(10000);

Gunnar

PS should be some simple argument for debugging, giving info on just

- manifest, bootstrap missed
- how many parallell fragments it tries to download
- BITCH and SCREAM when missing fragments, timestamps,etc

hmm, a test for how many fragments the server actually keeps buffered (something Im halfdone with, but no need to attack it again)

If server only keeps 4-6, using 8 parallell downloads kills the whole thing because script doesnt check for new ones in time,.

joejones15
05-26-2016, 05:23 PM
From my Finland YLE (BBC) experience the script and detector (together) can do some encrypted streams.

That is, when it "works" there is a lot of --author, etc and cookie, etc arguments added (by HDS detector plugin frm web page) needed for the script to get the (one) encryption syst recently added.
(for garbage US action series so have not bothered checking in detail)

The (humongous) link also needs to be used within some 30-60seconds or "cant access Key"

Gunnar

PS That is, your command line didnt include any of the "humongous stuff"

Thanks Gunnar, I was using detector and after the change sit did not find the "humongous link" anymore. Should I attempt manually based on what I see listed under developer->network view?

xNuno
05-27-2016, 04:24 AM
I have added Loginfo() info-text "here and there" to figure out simialr problems.
Most important to see how the script starts new fragment-downloads and when they are "done and used" (and then update bootstrap to get the new ones)
eight parallell downloads seem to run into the problem that the new next ones are not checked for until all old 8 have "arrived safely".
Some servers dont even keep 8 fragments buffered?

But getting the fragments "one-by-one" with check for new ones inbetween for every fragment wastes a lot of bandwith.

Missed fragments trigger "TImeSTamp fix" when decoding the fragments (or earlier), same for "negative timestamps"

Picking two added info-beeps as example, because I have butchered the script too much to post proper patches
As an example, LogDebug to LogInfo and ring the bell when happens (might be only every fifth hour)

if ($timeShift > $this->fixWindow)
{
echo chr(7); // ring bell
LogInfo("Timestamp gap detected: PacketTS=" . $packetTS . " LastTS=" . $lastTS . " Timeshift=" . $timeShift, $debug);
usleep(100000);
echo chr(7); // and anoher bell
if ($this->baseTS < $packetTS)
$this->baseTS += $timeShift - FRAMEFIX_STEP;
else
$this->baseTS = $timeShift - FRAMEFIX_STEP;
$packetTS = $fixedTS;
}

//--- missed fragment, decoder will have missed 2-6-12 seconds
// note, the audio stream is the "master" for timing

else
{
$this->lastFrag += 1; // bitch and scream
LogInfo("*************** Skipping failed fragment **********" . $this->lastFrag);
echo chr(7); usleep(10000);
LogInfo("*************** XXXXXXXXXXXXXXXXXXXXXXXX **********" . $this->lastFrag);
echo chr(7); usleep(10000);

Gunnar

PS should be some simple argument for debugging, giving info on just

- manifest, bootstrap missed
- how many parallell fragments it tries to download
- BITCH and SCREAM when missing fragments, timestamps,etc

hmm, a test for how many fragments the server actually keeps buffered (something Im halfdone with, but no need to attack it again)

If server only keeps 4-6, using 8 parallell downloads kills the whole thing because script doesnt check for new ones in time,.

Thanks! It's not possible to dont allow VLC to play the repeated fragment?

Manual
05-27-2016, 12:40 PM
Does anyone know if it's possible to decrypt Adobe HDS with provided key file and how?

zapac
05-30-2016, 10:35 AM
hi I need a way to compress a 1080p mp4 video file to store. but at same I need a way to decompress it to get orignal video quality and size (Just like a paper we fold a paper to take smaller size.and unfold it to make it original in size) same I need to do with a video hope you understand plzz reply

Quaraxkad
05-31-2016, 08:22 AM
hi I need a way to compress a 1080p mp4 video file to store. but at same I need a way to decompress it to get orignal video quality and size (Just like a paper we fold a paper to take smaller size.and unfold it to make it original in size) same I need to do with a video hope you understand plzz reply

This is impossible. If you want to compress a video, you will lose quality and can not "decompress" back to original quality.

zapac
05-31-2016, 09:42 AM
This is impossible. If you want to compress a video, you will lose quality and can not "decompress" back to original quality.

ok...can I reduce video resolution without loosing quality (eg: 1080p to 360)

Quaraxkad
06-01-2016, 08:05 AM
ok...can I reduce video resolution without loosing quality (eg: 1080p to 360)

No, of course not. Think about it. If that was possible, why would there ever be a need for higher resolutions in the first place?

Liphtier
06-19-2016, 04:23 AM
Hello!

Is it possible with HDS format to get the final movie file size when starting the download.

AFAIU, it should be in the moov box in the bootstrap. I have checked several videos on moonwalk.cc and apollocdn.cc like sites and there's no moov box in their bootstraps. Only abst, asrt and afrt boxes.

here's sample bootstrap and metadata tags from the manifest
http://pastebin.com/0f9zVL25

May be they remove it for some reason? Or am I missing something? Or may be the file size could be read by some other means

It may be useful to add the AdobeHDS.php script ability to stream the video being downloaded to the DLNA renderer device, however it is not possible without knowing the final file size - cause it should be specified in Content-Length header of HTTP response serving the file for DLNA. Of course we could wait till the download is finished before starting DLNA - but it is not a solution, just a compromise.

KSV
06-20-2016, 10:01 AM
@Liphtier

You won't find 'moov' box in client side fragments. it's not possible to accurately know the filesize before all fragments are downloaded and decoded. some websites do inject the same in metadata stored in bootstrap file but it's not necessary that the final filesize generated after decoding will match that. why don't you just try sending an arbitrary large size like some major CDN's do. for example Akamai HD streaming (over plain http) sends 2 GB as content-length header although the actual video data is normally larger or smaller than that.

sebus
06-21-2016, 04:46 AM
Invalid DTS: 1792000 PTS: 1791360 in output stream 0:0, replacing by guess

Anybody has any idea why?



Solved with:

"-loglevel 16" is used to suppress warnings about wrong timestamps

Liphtier
06-23-2016, 05:48 AM
@KSV, Thank you for explanation.

Now, at least, I know it's not there and will continue to try to work it around.

Setting fake content length header may require special handling for Range requests. Not sure if it's possible at all

MrPaul
08-08-2016, 08:06 AM
Would like a feature request. Some sites have started having separate audio & video streams. Can you please allow the specification of more than one "quality" number.

2nd part is the ability to auto-join these but that's completely optional.

rubiohiguey
08-08-2016, 03:31 PM
I am trying to download this file (US IP address required)
http://now.telemundo.com/se%C3%B1ora-acero/full-episodes/vicenta-se-enfrenta-al-indio-amaro/736864835850

but during download I get a ton of errors, but at the end the video muxes into a large FLV file, individual chunks are deleted, but the end video file is unplayable, ffmpeg detects a lot of codec errors when analyzing that file, and gives me a huge number of streams (over 100) within that file (e.g. Stream#1, Stream#2, etc. which is illogical).

During download, I get error for every fragment downloaded:


PHP Notice: Use of undefined constant OPENSSL_ZERO_PADDING - assumed 'OPENSSL_ZERO_PADDING' in /root/AdobeHDS.php on line 376
PHP Warning: unpack(): Type N: not enough input, need 4, have 0 in /root/AdobeHDS.php on line 1580


when analyzing the file with ffprobe, I get a a looong 2-minute error pullout, before the streams list. Errors are like this:


[flashsv2 @ 0000000002b21460] Custom palette is not implemented. Update your FFm
peg version to the newest one from Git. If the problem still occurs, it means th
at your file has a feature which has not been implemented.
[flashsv2 @ 0000000002b21460] If you want to help, upload a sample of this file
to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list.
(ffmpeg-devel@ffmpeg.org)

and

[flv @ 0000000000485620] Video codec (0) is not implemented. Update your FFmpeg version to the newest one from Git. If the problem still occurs, it means that your file has a feature which has not been implemented.
[flv @ 0000000000485620] If you want to help, upload a sample of this file to ftp://upload.ffmpeg.org/incoming/ and contact the ffmpeg-devel mailing list. (ffmpeg-devel@ffmpeg.org)
[flv @ 0000000000485620] Negative cts, previous timestamps might be wrong.
[flv @ 0000000000485620] Packet mismatch 453509120 10011

...

[flv @ 0000000000485620] Packet mismatch -1526202368 165
[flv @ 0000000000485620] video stream discovered after head already parsed
[flv @ 0000000000485620] invalid timestamps 6006 5628250
[mpeg4 @ 0000000002b218e0] header damaged
[flv @ 0000000000485620] video stream discovered after head already parsed

...

[flv @ 0000000000485620] Packet mismatch -1526202368 165
[flv @ 0000000000485620] video stream discovered after head already parsed
[flv @ 0000000000485620] invalid timestamps 6006 5628250
[mpeg4 @ 0000000002b218e0] header damaged
[flv @ 0000000000485620] video stream discovered after head already parsed

...


[flv @ 00000000030b5aa0] Bad picture start code
[flv @ 00000000030b5aa0] header damaged

...

[flv @ 0000000000395620] Stream #56: not enough frames to estimate rate; consider increasing probesize
[flv @ 0000000000395620] Stream #57: not enough frames to estimate rate; consider increasing probesize


all in all, it's like almost 2 minutes of errors before ffprobe comes to an end.

Any help would be appreciated.

KSV
08-09-2016, 02:17 AM
@rubiohiguey

it seems you are using very old version of php. AdobeHDS.php script requires atleast 5.4 version.

rubiohiguey
08-10-2016, 02:00 PM
Thank you, I got this working fine on a different machine with newer PHP version. It works wonders. Great job, thank you again for this wonderful ability to work with encrypted streams.

rubiohiguey
08-11-2016, 12:25 PM
Hi KSV, any way to get AdobePHP working with Ooyala?
Uses the same FlashAccess. It also runs through Akamai network.

E.g. http://canalnuestratele.com/video/alla-te-espero-capitulo-132-9441

blogmexicano
08-25-2016, 10:43 PM
the source i have, theres 3 different quality of video, how can i select the highest?

i was using a bat file which i select max but i dont know how to use it here

MaxBlum
09-15-2016, 12:30 PM
deleted post: no longer relevant

AlvoErrado2
09-15-2016, 06:49 PM
http://globosatplay.globo.com/telecine/v/3833293/

Gbry
09-24-2016, 05:06 AM
hello,
maybe this is a silly question :) but..

is it possible to download every single separated fragment ?

manfromafar
11-08-2016, 09:39 PM
So first time using the Adobe HDS script. Trying to grab episode 3 from http://www.discovery.ca/extra/canadas-worst-driver but get the error for flashaccess DRM

C:\Users\student\Downloads\php-5.6.27-Win32-VC11-x86>php.exe ..\Scripts-master\AdobeHDS.php --manifest "http://capi.9c9media.com/destinations/discovery_web/platforms/desktop/contents/987651/contentpackages/1289452/stacks/3714740/manifest.f4m" --delete --outdir c:\users\student\desktop

KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
Available: 2048 1856 1536 1280 896 640 480 299
Selected : 2048
Fragments Total: 178, First: 1, Start: 1, Parallel: 8
This stream is encrypted with FlashAccess DRM. Decryption of such streams isn't currently possible with this script.

Any work-arounds for this?

lucasfranco13
11-21-2016, 05:42 AM
I have a list of about 20 videos to download. Is there any way to automate this process?

AlvoErrado2
01-24-2017, 11:43 AM
Does anyone know what the cause of this error?

Notice: Uninitialized string offset: 0 in AdobeHDS.php on line 1661

Warning: unpack(): Type C: not enough input, need 1, have 0 in AdobeHDS.php on line 1661


{
$int = unpack('C', $str[$pos]);
return $int[1];
}

felixkasza
03-08-2017, 02:59 PM
Dear KSV:

Thank you, thank you, thank you! I am deeply obliged to you.

Yours,
Felix.

sebus
04-01-2017, 10:49 AM
Used to work on BBC Sport website, but it seems no longer so:

http://www.bbc.co.uk/sport/winter-sports/39461729

They now use ContinuousPlayPluginHTML.1.19.1 1 with mf_akamai_uk_dash

sebus

sebus
04-17-2017, 09:10 AM
Is the project dead?

confused.com
04-17-2017, 10:05 AM
Is the project dead?

http://stream-recorder.com/forum/showpost.php?p=75888&postcount=4

ami_go
04-17-2017, 12:50 PM
Hi ,

"Streamlink"
This project was forked from Livestreamer, which is no longer maintained.
https://streamlink.github.io
===
Installation
https://streamlink.github.io/install.html#installation
===

Cheers .

dpirate88
07-13-2017, 11:31 AM
Hello guys i tried all the instruction i read in this thread and for 3 days the AdobeHDS is working but today 13 July 2017 it says access denied. Please help.

476