View Single Post
  #2  
Old 05-21-2015, 11:56 PM
slim10 slim10 is offline
Member
 
Join Date: Jun 2013
Posts: 47
slim10 is on a distinguished road
Default

Re: Adobe HDS offline fragments


Quote:
Originally Posted by lupin View Post
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
Reply With Quote