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)

nwtim 02-20-2014 06:24 PM

Re: Adobe HDS Downloader


 
I just tried this for the first time yesterday and kept getting the "Could not open input file: AdobeHDS.php" error myself.

This is how I got past that error:

If you go to KSV's Scripts page, you'll see a hyperlinked "AdobeHDS.php" at the top of the list. Click on that and it will open up a page with a window containing all the text of the AdobeHDS.php script. Copy the complete text to your clipboard and paste it into a new text file, then save it as "AdobeHDS.php".

When I put it in the C:\PHP folder, the error didn't go away, but when I put it in the folder I run the manifest command (in a batch file with "pause" on the last line so I can see any feedback before it disappears) from - it works without the error.

Now if I can only figure out how to download more than just the Keyframes - which basically just makes stop-motion video, LOL.

Supersport 02-21-2014 01:27 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by nwtim (Post 64864)
I just tried this for the first time yesterday and kept getting the "Could not open input file: AdobeHDS.php" error myself.

This is how I got past that error:

If you go to KSV's Scripts page, you'll see a hyperlinked "AdobeHDS.php" at the top of the list. Click on that and it will open up a page with a window containing all the text of the AdobeHDS.php script. Copy the complete text to your clipboard and paste it into a new text file, then save it as "AdobeHDS.php".

When I put it in the C:\PHP folder, the error didn't go away, but when I put it in the folder I run the manifest command (in a batch file with "pause" on the last line so I can see any feedback before it disappears) from - it works without the error.

Now if I can only figure out how to download more than just the Keyframes - which basically just makes stop-motion video, LOL.


Is done ,,,thanks for all was help me

But now i have one Q

when i download and go to the folder and i found one file for my video and other un know files!!! How i download withot thes unknown file is be?

nwtim 02-21-2014 11:42 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by Supersport (Post 64878)
Is done ,,,thanks for all was help me

But now i have one Q

when i download and go to the folder and i found one file for my video and other un know files!!! How i download withot thes unknown file is be?

I'm not sure what other files you'd be getting besides the joined .flv file.

If you're not using the --delete switch in the AdobeHDS.php command line, you'll end up with a number of fragment files (ending in something like "Seg1-Frag[sequence number]"), so perhaps that's what you're seeing.

nwtim 02-21-2014 11:46 PM

Re: Adobe HDS Downloader


 
Anybody know what the error "Unknown packet type 58 encountered! Unable to proceed." might mean?

For context, I'm trying to get video from NBCOlympics and using the AdobeHDS manifest command only grabs keyframes. If I can get it with ffmpeg, that's the simplest way, but so far 2 of the 4 programs I've tried to download that way have hiccups in them and I can't seem to get the -ss and -t switches to work properly. Therefore, I'm using DownloadThemAll on these problem programs to get all the audio and video Seg1-Frag files and try to join them with AdobeHDS.php before muxing them. I can get big chunks of the program to join and mux perfectly, but it's a real pain when it bumps into these impossible packets several times in a program because of how difficult it is to identify the exact fragments it happens on.

Anybody have any ideas or thoughts on this?

nwtim 02-25-2014 12:39 PM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by nwtim (Post 64899)
Anybody know what the error "Unknown packet type 58 encountered! Unable to proceed." might mean?

For context, I'm trying to get video from NBCOlympics and using the AdobeHDS manifest command only grabs keyframes. If I can get it with ffmpeg, that's the simplest way, but so far 2 of the 4 programs I've tried to download that way have hiccups in them and I can't seem to get the -ss and -t switches to work properly. Therefore, I'm using DownloadThemAll on these problem programs to get all the audio and video Seg1-Frag files and try to join them with AdobeHDS.php before muxing them. I can get big chunks of the program to join and mux perfectly, but it's a real pain when it bumps into these impossible packets several times in a program because of how difficult it is to identify the exact fragments it happens on.

Anybody have any ideas or thoughts on this?

I think this issue has been resolved. First, KSV explained (in my thread, Stream Capture from NBCOlympics) that DownloadThemAll sometimes saves the error message sent by the server instead of actual fragment data, so I was probably trying to join incompatible file content. Also, kudos to KSV for adding a -debug switch to his AdobeHDS.php script. It provides a simple way to differentiate between keyframe streams and fragment streams. See http://stream-recorder.com/forum/sho...8&postcount=38 for description.

The problem with not being able to get a complete event captured appears to be related to internet connection dropouts, but the jury is still out on that.

KSV 02-26-2014 03:57 AM

Re: Adobe HDS Downloader


 
Quote:

Originally Posted by nwtim (Post 64964)
Also, kudos to KSV for adding a -debug switch to his AdobeHDS.php script. It provides a simple way to differentiate between keyframe streams and fragment streams. See http://stream-recorder.com/forum/sho...8&postcount=38 for description.

Actually 'debug' switch isn't a new addition. it was already there. real bug was not detecting some of the streams available due to same bitrate value used for keyframe stream and actual video stream which was fixed in latest commit.

Rags32 03-15-2014 09:16 AM

Re: Adobe HDS Downloader


 
Hi!

I have a problem playing a stream from swedish SVT Play and even downloading the stream from them.

http://svt12-lh.akamaihd.net/z/svt12...H&hdcore=3.2.0

Here is the livestream of channel 2.

I'm using this command without any luck.

php (path)\AdobeHDS.php --manifest http://svt12-lh.akamaihd.net/z/svt12...H&hdcore=3.2.0 --play | C:\Program Files (x86)\VideoLAN\VLC\vlc.exe --file-caching=10000 -

I've also tried downloading stream from them without any luck with this command.

php (path)\AdobeHDS.php --manifest http://svtplay6n-f.akamaihd.net/z/se...W&hdcore=3.1.0 --delete --outdir path --outfile test5

I would be thankful if you could help me with this. You'll need swedish IP to try this out. Below is a proxy that works just fine.

176.61.136.2:8080

KSV 03-15-2014 11:13 AM

Re: Adobe HDS Downloader


 
Code:

php AdobeHDS.php -manifest "http://svt12-lh.akamaihd.net/z/svt12_0@77507/manifest.f4m?g=UYLBFYCOSPTH&hdcore=3.2.0" -proxy 176.61.136.2:8080 -fproxy

                            KSV Adobe HDS Downloader

Processing manifest info....
Quality Selection:
 Available: 2796 1680 987 564 348 240
 Selected : 2796
Fragments Total: 8195297, First: 7314998, Start: 8195296, Parallel: 8
This stream is encrypted with Akamai DRM. Decryption of such streams isn't currently possible with this script.


Olli 03-20-2014 07:42 AM

Re: Adobe HDS Downloader


 
Do you have any plans to enable downloading of DRM protected videos? Or is there any possibility to download DRM videos for now with some other script, for example?

Bizzo 03-29-2014 06:03 AM

Re: Adobe HDS Downloader


 
I don't manage to make the --rename switch work, i.e. it has no effect whatever I do. Anyone who has tried it out?


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