I want to convert mp3 file to ogg. I tried the following code
exec("/usr/local/bin/ffmpeg -i 1.mp4 -vcodec libtheora -acodec libvorbis testjohn4545454.ogg",$output);
var_dump($output);
But it does not convert the file and it only returns array(0) { }
and it only takes a little execution time.
But the conversion is success when using ssh command.
Please give me solution.