Video streaming is nice, but you need to be online to watch most of the videos made available. If you want to assist them offline or archive them for later reference, you depend on whether a downloadable version is available … or you capture the video. There are a lot of tools available to do this, but it is not really easy for HDS videos made available via on demand. But there is a PHP script available that assists you in retrieving these kind of videos for offline consumption.
- AdobeHDS php script: https://github.com/K-S-V/Scripts/blob/master/AdobeHDS.php
- Wiki on how to use this script: https://github.com/K-S-V/Scripts/wiki
Basically, you start the video and look in the network trace for manifest. Copy the URL as this is the URL going to be used by the php script. There are two parameters you`ll need:
Any other parameter can be deleted. In Google Chrome, you can start the video and in the network tab you`ll be able to see and copy the manifest.f4m URL.
Paste this URL as the manifest parameter of the php script and run it.
Command: php AdobeHDS.php –manifest “http://server.akamaihd.net/z/path/vod/abc1111_,200,600,1200,.mp4.csmil/manifest.f4m?g=ABCDEFGH&hdcore=3.3.0” –delete
This will start the download of the files in 8 threads and after all are downloaded, make them available as a flv file.