nope ... the file is in the same directory as php file. I created a wordpress template file. Does that matter? This is the path that I used $cmd = "ffmpeg -i /wp-tube/wptube/skittles.flv" . $videoPath . " 2>&1";
–
ciprianOct 26 '10 at 7:14

if the ffmpeg is running. the code should return the duration. where is the location of your ffmpeg? if it's installed in /usr/bin/ffmpeg then the $cmd should be like this.. $cmd ="/user/bin/ffmpeg -i /wp-tube/wptube/skittles.flv"
–
ariawanOct 26 '10 at 7:30