Audio/video stream recording forums

Attention Visitor:
You may have to register or log in before you can post:
  • Click the register link to sign up.
  • Registered members please fill in the form below and click the "Log in" button.
To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Audio/video stream recording forums > Streaming media recording forum > rtmpdump
Register FAQ Members List Calendar Mark Forums Read

Reply Post New Thread
 
Thread Tools Display Modes
  #351  
Old 02-13-2016, 05:53 AM
save8lot save8lot is offline
Member
 
Join Date: Aug 2014
Posts: 39
save8lot is on a distinguished road
Default

Re: Adobe HDS Downloader


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):
Code:
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:
Code:
php AdobeHDS.php --manifest "http://multfilmchik.ru/video/673fa91a96c64740/R3BEaHFTUUwvME5qMFRkRWJHdUdtNzhKalpRSmlrQU45eHNBUFJlK1lmdHhhbHJ1bzZxdzNCKzFPMlB0SmZJRFVyNGpGKzhPY1hkWmp4NGVINE1wUHJ1S2l3WXFCQ0ZWTlhtU1Nha2liZHEzOE9sODlDNDV6Q0NacE9CNnhuTm9ld3llZ3BKUExaYWQrUEIyakt0OWhiM3VPbjM0bjYxdGJRVWhhNHpqR2tNSUFTQS90ZDZiVENwbGd3UHJRdzFsZDRhMGJEd3oveHc5NWhyTm1yaEg1Zz09/1/manifest.f4m" --delete
However when I run this I Get the Following:
Code:
C:\PHP\AdobeHDS>php AdobeHDS.php --manifest "http://multfilmchik.ru/video/673fa9
1a96c64740/R3BEaHFTUUwvME5qMFRkRWJHdUdtNzhKalpRSmlrQU45eHNBUFJlK1lmdHhhbHJ1bzZxd
zNCKzFPMlB0SmZJRFVyNGpGKzhPY1hkWmp4NGVINE1wUHJ1S2l3WXFCQ0ZWTlhtU1Nha2liZHEzOE9sO
DlDNDV6Q0NacE9CNnhuTm9ld3llZ3BKUExaYWQrUEIyakt0OWhiM3VPbjM0bjYxdGJRVWhhNHpqR2tNS
UFTQS90ZDZiVENwbGd3UHJRdzFsZDRhMGJEd3oveHc5NWhyTm1yaEg1Zz09/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?
Reply With Quote
  #352  
Old 02-13-2016, 03:41 PM
sysanin sysanin is offline
Member
 
Join Date: Apr 2011
Posts: 44
sysanin is on a distinguished road
Default

Re: Adobe HDS Downloader


Quote:
So What exactly am I doing Wrong?
Try so (see this GIF)



Code:
http://default.edge05.moonwalk.cc/sec/1455425248/38343434c6c7d410a339cc1f9e82762f80de5cd3660a0bc2/ivs/7d/60/5be2465c1ac6.mp4/hls/tracks-1,4/index.m3u8
Reply With Quote
  #353  
Old 02-15-2016, 10:11 AM
KSV KSV is offline
Senior Member
 
Join Date: Apr 2011
Posts: 853
KSV is on a distinguished road
Cool

Re: Adobe HDS Downloader


@save8lot

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

Code:
-referrer "http://multfilmchik.ru/player/web/uppod/player.swf"
Code:
                            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
Reply With Quote
  #354  
Old 02-17-2016, 07:10 AM
save8lot save8lot is offline
Member
 
Join Date: Aug 2014
Posts: 39
save8lot is on a distinguished road
Default

Re: Adobe HDS Downloader


Quote:
Originally Posted by sysanin View Post
Try so (see this GIF)



Code:
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.


Quote:
Originally Posted by KSV View Post
@save8lot

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

Code:
-referrer "http://multfilmchik.ru/player/web/uppod/player.swf"
Code:
                            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?
Reply With Quote
  #355  
Old 02-23-2016, 06:27 PM
MaxBlum MaxBlum is offline
Junior Member
 
Join Date: Mar 2015
Posts: 25
MaxBlum is on a distinguished road
Default

Re: Adobe HDS Downloader


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.

Code:
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~acl=/z/FX_Networks_-_FXX/755/695/Man_Seeking_206_HD_Clean_AUTH_movie_14550224677*~id=771b2759-1ba1-4ab3-849b-f1b81b02afcf~hmac=2669cfdb5e2c8520f23c9942fbdae54e6916510a73d7f135bd8200c621dc99e7&hdcore=3.5.0" --delete --auth "hdntl=exp=1456359823~acl=%2fz%2fFX_Networks_-_FXX%2f755%2f695%2fMan_Seeking_206_HD_Clean_AUTH_movie_14550224677*~data=hdntl~hmac=5816e961bdd0bdad2a2149e95a4f874bfe18a9b2fb9dc802cd21ad30440183c6&als=0,3,NaN,1,0,NaN,0,0,0,41,f,0,1301.85,f,s,OKNKPJTNVXQG,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



Any help would be appreciated. Thanks.
Reply With Quote
  #356  
Old 02-23-2016, 06:55 PM
slim10 slim10 is offline
Member
 
Join Date: Jun 2013
Posts: 47
slim10 is on a distinguished road
Default

Re: Adobe HDS Downloader


Quote:
Originally Posted by MaxBlum View Post
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.

Code:
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~acl=/z/FX_Networks_-_FXX/755/695/Man_Seeking_206_HD_Clean_AUTH_movie_14550224677*~id=771b2759-1ba1-4ab3-849b-f1b81b02afcf~hmac=2669cfdb5e2c8520f23c9942fbdae54e6916510a73d7f135bd8200c621dc99e7&hdcore=3.5.0" --delete --auth "hdntl=exp=1456359823~acl=%2fz%2fFX_Networks_-_FXX%2f755%2f695%2fMan_Seeking_206_HD_Clean_AUTH_movie_14550224677*~data=hdntl~hmac=5816e961bdd0bdad2a2149e95a4f874bfe18a9b2fb9dc802cd21ad30440183c6&als=0,3,NaN,1,0,NaN,0,0,0,41,f,0,1301.85,f,s,OKNKPJTNVXQG,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



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.
Reply With Quote
  #357  
Old 02-23-2016, 08:34 PM
MaxBlum MaxBlum is offline
Junior Member
 
Join Date: Mar 2015
Posts: 25
MaxBlum is on a distinguished road
Default

Re: Adobe HDS Downloader


Quote:
Originally Posted by slim10 View Post
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

Reply With Quote
  #358  
Old 02-23-2016, 08:53 PM
slim10 slim10 is offline
Member
 
Join Date: Jun 2013
Posts: 47
slim10 is on a distinguished road
Default

Re: Adobe HDS Downloader


Quote:
Originally Posted by MaxBlum View Post
I think I have it in the same folder


That appears to be your "c:\PHP" folder. You were in "c:\Users\Lee" when you tried to run the command.
Reply With Quote
  #359  
Old 02-23-2016, 09:13 PM
MaxBlum MaxBlum is offline
Junior Member
 
Join Date: Mar 2015
Posts: 25
MaxBlum is on a distinguished road
Default

Re: Adobe HDS Downloader


Quote:
Originally Posted by slim10 View Post
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.
Reply With Quote
  #360  
Old 02-24-2016, 01:00 PM
kandaraj789 kandaraj789 is offline
Junior Member
 
Join Date: Feb 2016
Posts: 1
kandaraj789 is on a distinguished road
Default

Re: Adobe HDS Downloader


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?
Reply With Quote
Reply Post New Thread
Tags:



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 08:46 AM.


Powered by All-streaming-media.com; 2006-2011
vB forum hacked with Zoints add-ons