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

Adobe HDS offline fragments

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

lupin 05-19-2015 08:13 AM

Adobe HDS offline fragments


 
Hi, Ihave follow the instruction here
https://github.com/K-S-V/Scripts/wiki

php installation is ok, so from start-> cmd I have
PHP 5.6.3 (cli) (built: Nov 12 2014 17:18:08)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies

but when I make a .bat file and execute (the file is amked into directory with fragments) is showed all the source code of AdobeHDS.php file...the syntax into file bat file is

Code:

php AdobeHDS.php --fragments 0_xxxxxxxxxxf_Seg1-Frag

pause

obviously all the file starts into form 0_xxxxxxxxxxf_Seg1-Frag

where is the error?

slim10 05-21-2015 11:56 PM

Re: Adobe HDS offline fragments


 
Quote:

Originally Posted by lupin (Post 76756)
Hi, Ihave follow the instruction here
https://github.com/K-S-V/Scripts/wiki

php installation is ok, so from start-> cmd I have
PHP 5.6.3 (cli) (built: Nov 12 2014 17:18:08)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies

but when I make a .bat file and execute (the file is amked into directory with fragments) is showed all the source code of AdobeHDS.php file...the syntax into file bat file is

Code:

php AdobeHDS.php --fragments 0_xxxxxxxxxxf_Seg1-Frag

pause

obviously all the file starts into form 0_xxxxxxxxxxf_Seg1-Frag

where is the error?

I believe the problem is that you downloaded the HTML page for the AdobeHDS.php script. You need the raw script.

Master.zip contains all of K-S-V's PHP scripts: https://github.com/K-S-V/Scripts/archive/master.zip

Here is the raw AdobeHDS.php script by itself: https://github.com/K-S-V/Scripts/raw...r/AdobeHDS.php

lupin 05-22-2015 01:41 AM

Re: Adobe HDS offline fragments


 
Quote:

Originally Posted by slim10 (Post 76830)
I believe the problem is that you downloaded the HTML page for the AdobeHDS.php script. You need the raw script.

Master.zip contains all of K-S-V's PHP scripts: https://github.com/K-S-V/Scripts/archive/master.zip

Here is the raw AdobeHDS.php script by itself: https://github.com/K-S-V/Scripts/raw...r/AdobeHDS.php

ok, you're right but I have another problem with AdobeHDS.php: when I download a manifest from the URL the lenght of video is the same of manifest but the fragments aren't all downloaded; for example, if the video on the streaming is lenght 1min 10 sec then when give the manifest URL at adobehds, the video is always of 1min 10 sec but at 00 min 56 sec the video go directly to the end....why this?


All times are GMT -6. The time now is 07:01 PM.