Welcome Guest, Not a member yet? Register   Sign In
Local/Live Problem
#12

(02-16-2016, 10:03 PM)Chandini Wrote:
(02-16-2016, 05:07 PM)siburny Wrote: How did you upload ffmpeg file? If you just ftp'ed you have to change permissions on it to allow executing.

By Using FTP to Upload My ffmpeg .. K i will try .. at present excitable file having 0644 permission s ... Is it change to 777 ... Is it right ..?

I changed File Permission to 777 but is it not working ... Think Problem With File Paths .. Is It correct way to declare ....
PHP Code:
$ffmpeg FCPATH.'assets/ffmpeg/bin/ffmpeg';
       
$videoFiles base_url().'assets/chat_posts/sample.mp4';
       
$imageFile FCPATH.'assets/chat_posts/siva.jpg';
       
$size "120X90";
       
$getFromSecond 5;
       
$cmd "$ffmpeg -i $videoFiles -an -ss $getFromSecond -s $size $imageFile";
//echo ini_get("disable_functions");
       
exec($cmd);
       if(!
exec($cmd))
       {
       
$s "created";
       }else
       {
       
$s "Not created";
       } 
Manikanta
Reply


Messages In This Thread
Local/Live Problem - by Chandini - 02-14-2016, 11:26 PM
RE: Local/Live Problem - by skunkbad - 02-15-2016, 12:17 AM
RE: Local/Live Problem - by Chandini - 02-15-2016, 01:17 AM
RE: Local/Live Problem - by Diederik - 02-15-2016, 01:04 AM
RE: Local/Live Problem - by Chandini - 02-15-2016, 01:39 AM
RE: Local/Live Problem - by skunkbad - 02-15-2016, 09:12 AM
RE: Local/Live Problem - by Chandini - 02-15-2016, 10:49 PM
RE: Local/Live Problem - by skunkbad - 02-16-2016, 12:19 AM
RE: Local/Live Problem - by Chandini - 02-16-2016, 02:19 AM
RE: Local/Live Problem - by siburny - 02-16-2016, 05:07 PM
RE: Local/Live Problem - by Chandini - 02-16-2016, 10:03 PM
RE: Local/Live Problem - by Chandini - 02-16-2016, 11:23 PM
RE: Local/Live Problem - by skunkbad - 02-17-2016, 12:26 AM



Theme © iAndrew 2016 - Forum software by © MyBB