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

Adobe HDS Downloader

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

GtbpyQgB 02-07-2013 07:44 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by KSV (Post 59486)
Have you even read the first post or wiki?

Yes, I had read your wiki or else I would not have mentioned this in my first post
Quote:

"manifest(.f4m), the video extension and the "Seg" inside the links"
I even installed Firefox extension: "HDS link detector 03" and did everything manually in the wiki but it was late so I must have slipped somehow because I did not get it to work!

Thanks to you I tried once more and now it works :D

I wish I could have helped you with the reversing of "Akamai CDN (Packet type 10 & 11)" but my knowledge is far behind you!

However, it could be interesting to know an similar example with all the links where these information is getting from so people is able to compare and see how it is captured out from the links.

Anyway, thanks I hope you continue to develop your highly appreciated work ;)

KSV 02-11-2013 07:10 AM

Re: Adobe HDS Downloader


 
A minor update for hds addon added to first post.

TorresRJ 02-15-2013 10:38 AM

Re: Adobe HDS Downloader


 
Hey Guys.
Can someone help me to download this video?

Manifest: http://cdnvh20.cers.com.br/z/1791_01...g=UDWSQBNHSMBB

Useragent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0

seg1-frag1: http://cdnvh20.cers.com.br/z/1791_01...&hdcore=2.11.3

The message in the end is "Acess Denied! Unable to Download the manifest"

Thanks in advance,
TorresRJ.
Code:

c:\PHP>php adobehds.php --manifest "http://cdnvh20.cers.com.br/z/1791_013013_COMECANDO_DO_ZERO_D_CIVIL_AULA_01_Pt_I_OK.mp4/manifest.f4m?hdnea=st=1360944412~exp=1360944552~acl=/*~id=u00knms4hn2k3qrjok9rkg4r70~hmac=15c39bfcdaee9653a51cd19e11460899e25bb1ecdfabefa954896e35a8b53102&hdcore=2.11.3&g=UDWSQBNHSMBB" --auth "pvtoken=exp%3D9999999999%7Eacl%3D%252f%252a%7Edata%3DZXhwPTEzNjEwMzA4MTZ+YWNsPSUyZip+ZGF0YT1wdmMsc35obWFjPWQ1MjVmYjliY2QwYWJiMjA5NzY2NDhjYjIxNDYzYzU2YTRiZGNiYmU2YjNmYTA2ZDI3MmU0ZjJmZmYyYzI0Zjc%3D%21s89x42iJxsXVhAOpg7fnHAzKts3OjahmXO+ITcZGShk%3D%7Ehmac%3D78BA2D74E3BA231C9DE77F1BD9AEA34A89EB1BC96AE1711EBE144300E07914D3&hdntl=exp=1361030816~acl=%2f*~data=hdntl~hmac=3cac303acdc1018e60f7c1388cdf439c6b642cf7d14cbd53173664cfcad92bce&als=0,0.1,0,0,0,NaN,0,0,0,28,f,0,1811.02,f,s,UDWSQBNHSMBB,2.11.3,28&hdcore=2.11.3" --useragent "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20100101 Firefox/18.0" --delete
Code:

                            KSV Adobe HDS Downloader

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


KSV 02-16-2013 07:46 AM

Re: Adobe HDS Downloader


 
@TorresRJ

Most probably manifest link is valid only for few seconds. so try to use it quickly and also using the add-on is recommended to generate proper command line.

@all

i have also uploaded the latest add-on version to official add-on website.

Code:

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

TorresRJ 02-16-2013 11:57 AM

Re: Adobe HDS Downloader


 
@KSV

I think we're on the right way! Copying and pasting the manifest as fast as I could, I managed to download 8 frags of the video.

Unfortunately after the download has started it stopped and I received the following message: "Unknown packet type 11 encountered! Encrypted fragments can not be recovered."

Do you have any tips to solve this problem, or that video really can not be downloaded?

If you have some time, patience and interest I can give you the website, my login and password so you try to download that video.

I noticed that the manifest changes everytime. For exemple:

Access 1
Code:

http://cdnvh20.cers.com.br/z/1791_013013_COMECANDO_DO_ZERO_D_CIVIL_AULA_01_Pt_I_OK.mp4/manifest.f4m?hdnea=st=1361035445~exp=1361035585~acl=/*~id=8qvhhcflh8kk1heh5or0dtnqi3~hmac=748e3591cc17746d3f8d37a1fe34456c1aea4116c3bf15396f3e691c1209583e&hdcore=2.11.3&g=MTKSKNGJCDLB
Access 2
Code:

http://cdnvh20.cers.com.br/z/1791_013013_COMECANDO_DO_ZERO_D_CIVIL_AULA_01_Pt_I_OK.mp4/manifest.f4m?hdnea=st=1361035839~exp=1361035979~acl=/*~id=8qvhhcflh8kk1heh5or0dtnqi3~hmac=0f18a6275db69eb213a391c163e56f6a883f4fcdaf48a19efe3c8efbc3fc6bd9&hdcore=2.11.3&g=NCFQJIJAPILU
Access 3
Code:

http://cdnvh20.cers.com.br/z/1791_013013_COMECANDO_DO_ZERO_D_CIVIL_AULA_01_Pt_I_OK.mp4/manifest.f4m?hdnea=st=1361036108~exp=1361036248~acl=/*~id=8qvhhcflh8kk1heh5or0dtnqi3~hmac=0975d1e8799e69945c697ee3ab37ad896c7a76e5e573519d656abcdd574130c1&hdcore=2.11.3&g=TJLIHJWYSQCE
You have to be fast to paste the manifest in cmd or will not be allowed to download. But as I said, a few fragments after the download is canceled.

212eta 02-16-2013 12:33 PM

Adobe HDS Downloader


 
@KSV

I'd like to THANK! you for the HDS Link Detector Firefox add-on!

By using the above add-on and your Instructions , I managed to download

THIS Video
!!!

TorresRJ 02-16-2013 03:29 PM

Re: Adobe HDS Downloader


 
I managed to download all 302 fragments of my video.

For this I used the code --parallel 302.

With 302 downloads in progress I was able to download several parts, but whenever I reached a certain point I got the message: "Unknown packet type 11 encountered! Encrypted fragments can not be recovered." At the end I found that whenever the file containing the fragment 1 (Frag1-seg-1) was present in the download directory I received the above message.

Now I have all the pieces, but the script not joined into one. Is there any command to do that?

Thanks!

TorresRJ 02-16-2013 05:34 PM

Re: Adobe HDS Downloader


 
I used the code --rename to try to unite all the fragments.

Unfortunately I received the following message "Unknown packet type 11 encountered! Encrypted fragments can not be recovered."

Any ideas to solve this fight?

Code:

c:\PHP>php AdobeHDS.php "7c6434dac5180ea97b744cb8107a5c9f_0_ff872347d3c4987d_Seg
1-Frag" --rename
                            KSV Adobe HDS Downloader

Found 302 fragments
Unknown packet type 11 encountered! Encrypted fragments can't be recovered.


KSV 02-17-2013 10:52 AM

Re: Adobe HDS Downloader


 
@TorresRJ

it has nothing to do with number of fragments downloaded. isn't error message clear enough?

Code:

Unknown packet type 11 encountered! Encrypted fragments can't be recovered.
This stream is protected with DRM and this script doesn't support such encrypted streams.

TorresRJ 02-18-2013 10:15 AM

Re: Adobe HDS Downloader


 
@KSV

Ok, thanks for all your patience and help.

DriveBR 02-19-2013 01:52 PM

Re: Adobe HDS Downloader


 
@KSV

Is there any way to download videos protected by DRM?

Thank you!

KSV 02-20-2013 09:36 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by DriveBR (Post 59854)
Is there any way to download videos protected by DRM?

None i am aware of.

DriveBR 02-20-2013 09:47 AM

Re: Adobe HDS Downloader


 
ok! Thank you....Now, wait for it!

comando 02-21-2013 06:49 PM

Re: Adobe HDS Downloader


 
I'm trying to download a video, using Adobe HDS Downloader, but when I run the commands on prompt, it shows the following message: KSV Adobe HDS Downloader --- You don't have "curl" extension installed. please install it before continuing" Please, does anyone know how to solve it ? Thank you very much.

GtbpyQgB 02-21-2013 07:36 PM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by comando (Post 59906)
I'm trying to download a video, using Adobe HDS Downloader, but when I run the commands on prompt, it shows the following message: KSV Adobe HDS Downloader --- You don't have "curl" extension installed. please install it before continuing" Please, does anyone know how to solve it ? Thank you very much.

Probably something wrong with your PHP settings:

Take a look at the following tutorials and learn how to install a full version of PHP:
Code:

http://www.premiumwebbloghosting.com/2012/03/how-to-install-php-on-windows-7.html
or
http://www.vbforums.com/showthread.php?651571-Installing-PHP-5.3-and-Apache-HTTP-Server-on-Windows-7

Or you can search Youtube or google for other videoes by searchword "install PHP" in search field, to find one that fit your need.
Remember to puth your PHP directory into path

Hope this helps :)

KSV 02-21-2013 11:17 PM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by comando (Post 59906)
does anyone know how to solve it ?

How about reading the wiki?

Stream Ripper 02-22-2013 01:11 AM

Re: Adobe HDS Downloader


 
While not ideal, Screen Capture tool such as Replay Video Capture do work perfectly with DRM...

k1601 03-03-2013 06:38 AM

Re: Adobe HDS Downloader


 
Very strong out of sync between video and audio when downloading from NRK (video lags behind). Because of what it could be and how to fix it? (the latest version of the script)

dublin 03-05-2013 02:59 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by k1601 (Post 60233)
Very strong out of sync between video and audio when downloading from NRK (video lags behind). Because of what it could be and how to fix it? (the latest version of the script)

Just downloaded few vids from NRK. No lag/delay/sync issues. Maybe the problem is on your end. What player are you using?

Dream_Team100 03-07-2013 07:22 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by dublin (Post 58903)
1. Open AdobeHDS.php with any text editor.
2. Add following line:
Code:

$headers[] = 'X-Forwarded-For: 1.2.3.4';
3. Replace 1.2.3.4 with any UK ip address.
4. Save. That's it.

Hello

- Can I use Tor as a proxy?
- The protocol "http://" I do not have to specify?
- Do I need to specify the port?

Thanks in advance.

dublin 03-07-2013 10:45 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by Dream_Team100 (Post 60375)
Hello

- Can I use Tor as a proxy?
- The protocol "http://" I do not have to specify?
- Do I need to specify the port?

Thanks in advance.

I'm not sure what you are asking...? If you want to bypass geoblock using that 'x-forwarded-for' header trick you don't need tor or proxy.
If you want download/watch bbc streams just replace 1.2.3.4 with any uk ip, then bbc server will think that you are from uk.

k1601 03-07-2013 02:06 PM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by dublin (Post 60319)
Just downloaded few vids from NRK. No lag/delay/sync issues. Maybe the problem is on your end. What player are you using?

Use KMP and VLC. It is not noticeable for small videos and at the beginning of a long, but at the end of two hours - video with sound at odds for several or more seconds.

Dream_Team100 03-08-2013 02:17 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by dublin (Post 60381)
I'm not sure what you are asking...? If you want to bypass geoblock using that 'x-forwarded-for' header trick you don't need tor or proxy.
If you want download/watch bbc streams just replace 1.2.3.4 with any uk ip, then bbc server will think that you are from uk.

Thanks for your quick reply.

Unfortunately, it does not work for me, even though I have located with "http://www.utrace.de/" some UK IPs by larger companies and have entered into the script. Unfortunately, I am not familiar with programming, but I thought I would have done this right. Where is my fault?
Code:

// function headers()
        // {
          // $headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
          // $headers[] = 'Connection: Keep-Alive';
          // return $headers;
        // }
               
          function headers()
        {
          $headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
          $headers[] = 'Connection: Keep-Alive';
          $headers[] = 'X-Forwarded-For: 134.223.2.33';
          return $headers;
        }


falkeklubben 03-08-2013 03:47 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by k1601 (Post 60394)
Use KMP and VLC. It is not noticeable for small videos and at the beginning of a long, but at the end of two hours - video with sound at odds for several or more seconds.

Hi. Just tried a 90 minutes clip and it stays on sync (in both VLC and Totem). Do you have a URL for a long video that goes out of sync?

dublin 03-08-2013 05:10 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by Dream_Team100 (Post 60407)
Thanks for your quick reply.

Unfortunately, it does not work for me, even though I have located with "http://www.utrace.de/" some UK IPs by larger companies and have entered into the script. Unfortunately, I am not familiar with programming, but I thought I would have done this right. Where is my fault?

// function headers()
// {
// $headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
// $headers[] = 'Connection: Keep-Alive';
// return $headers;
// }

function headers()
{
$headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8';
$headers[] = 'Connection: Keep-Alive';
$headers[] = 'X-Forwarded-For: 134.223.2.33';
return $headers;
}

Would you post link to the video you are trying to download.

Dream_Team100 03-08-2013 07:57 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by dublin (Post 60412)
Would you post link to the video you are trying to download.

This is the url

karlo2105 03-08-2013 01:35 PM

Re: Adobe HDS Downloader


 
@Dream_Team100
I advise you to remove the link above and to ask it through PM if you want it to keep on working in the future. :D

dublin 03-09-2013 06:38 AM

Re: Adobe HDS Downloader


 
1 Attachment(s)
Quote:

Originally Posted by Dream_Team100 (Post 60428)
This is the url

Hope this helps. :)

sourabh zope 03-09-2013 03:20 PM

Re: Adobe HDS Downloader


 
2 Attachment(s)
:rolleyes: download with AdobeHDS.php IS NOT WORKING FOR ME
is there any way to download those vedios
the main url of vedio is
http://www.startv.in/episodes/prithv...-bhimdev/29772

sourabh zope 03-09-2013 03:36 PM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by DriveBR (Post 59873)
ok! Thank you....Now, wait for it!

Have you got somthing about decryption of drm

Dream_Team100 03-10-2013 08:15 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by dublin (Post 60452)
Hope this helps. :)

Thanks, works fine.

mo7i25 03-13-2013 02:40 AM

Re: Adobe HDS Downloader


 
Hi, is there any way to download files as mp4 files?
thank you for this wonderful script and addon!!!!!!!!

falkeklubben 03-13-2013 02:54 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by mo7i25 (Post 60559)
Hi, is there any way to download files as mp4 files?
thank you for this wonderful script and addon!!!!!!!!

You have to use ffmpeg (etc) to repackage the flv to mp4. Something like this:

Code:

ffmpeg -i videofile.flv -vcodec copy -acodec copy videofile.mp4

KSV 03-13-2013 03:19 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by mo7i25 (Post 60559)
Hi, is there any way to download files as mp4 files?
thank you for this wonderful script and addon!!!!!!!!

you can simply use FFMpeg to remux (not re-encode) flv file to mp4 or mkv format.

Code:

FFMpeg -i input.flv -c copy output.mp4
or
Code:

FFMpeg -i input.flv -c copy output.mkv

mo7i25 03-13-2013 09:37 AM

Re: Adobe HDS Downloader


 
Wow it worked!!! thank you falkeklubben, thank you ksv.
thank you so much for the help!!!!!!!

Dream_Team100 03-18-2013 08:39 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by mo7i25 (Post 60559)
Hi, is there any way to download files as mp4 files?
thank you for this wonderful script and addon!!!!!!!!

You can use a pipe:
--play | ffmpeg -re -i - -c:a copy -c:v copy output.mp4

amedeo 03-20-2013 04:48 AM

Re: Adobe HDS Downloader


 
How can i see in a player:
Code:

http://www.tgcom24.mediaset.it/video/
or
Code:

http://www.italiatv.org/webtv/live/tgcom24.htm
Thanks in advance

Nomorecocktails 03-20-2013 06:27 AM

Re: Adobe HDS Downloader


 
I am trying to use this infor to get fox news videos. I have the extension installed and PHp installed. I have read the wiki and ollowed the steps and get the message Zend Engine. I pasted in the command from the firefox but get Cold not open input file AdobeHDS.php
What i am doing wrong?

got it working

dublin 03-21-2013 04:53 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by amedeo (Post 60776)
How can i see in a player:
Code:

http://www.tgcom24.mediaset.it/video/
or
Code:

http://www.italiatv.org/webtv/live/tgcom24.htm
Thanks in advance

Those are MS Silverlight streams. Use ismdownloader and for help go to this thread.

Quote:

Originally Posted by Nomorecocktails (Post 60778)
I am trying to use this infor to get fox news videos. I have the extension installed and PHp installed. I have read the wiki and ollowed the steps and get the message Zend Engine. I pasted in the command from the firefox but get Cold not open input file AdobeHDS.php
What i am doing wrong?

got it working

It's hard to help if you don't provide link to the video...

biashead 03-21-2013 01:40 PM

Re: Adobe HDS Downloader


 
Hi KSV and hello to all!

I have tried to capture a realtime webstream of german channel 'ARD' via their HDS webstream. I already used your PHP script before to download a news report. Now I installed your Firefox addon, but could not get the URL with it.

Here is the page for the online stream:
http://live.daserste.de/int/index.html#programm

DownloadHelper finds the f4m URL, but your addon doesn't. I don't understand why.

Also, I tried URL's gained from Downloadhelper and also from Google Chrome's "Inspect Element" option (in the Network tab), but none worked. Everytime I ran your script, it returned with the error "Access Denied! Unable to download the manifest.".

Does it mean that the manifest file gets invalid? I tried your idea and tried to get the manifest URL and run the script as quickly as possible, but the result was all the same.

What can be the problem with the HDS Link Detector?
Is there a way to capture live HDS stream?

Regards,
Sebastian.


All times are GMT -6. The time now is 02:33 PM.