kishanforum Posted February 9, 2008 Share Posted February 9, 2008 when iam executing this command through exec its not working where as its working through command line and this is the problem only for wmv files suggest what can be the problem. $file_ext= strtolower($file_ext_Arr[count($file_ext_Arr)-1]); $fileid = md5(uniqid(time(), 1)); $src = "system/cache/videos/". $fileid.".".$file_ext; $dest="system/cache/videos/".$fileid; // echo "ffmpeg -i $src -ar 22050 -ab 32 -f flv -acodec mp3 -s 320x240 $dest.flv"; Link to comment https://forums.phpfreaks.com/topic/90144-ffmpeg-problem-for-wmv/ Share on other sites More sharing options...
nethnet Posted February 9, 2008 Share Posted February 9, 2008 Show us what is being output as well as the contents of your array. Link to comment https://forums.phpfreaks.com/topic/90144-ffmpeg-problem-for-wmv/#findComment-462249 Share on other sites More sharing options...
kishanforum Posted February 9, 2008 Author Share Posted February 9, 2008 simply say my source file is 11.wmv and destination is dest.flv when i say exec(echo "ffmpeg -i 11.wmv -ar 22050 -ab 32 -f flv -s 320x240 dest.flv" through php it is creating afile od 0 size where as when i type the same through command it is creating coorectly what can be the problem Link to comment https://forums.phpfreaks.com/topic/90144-ffmpeg-problem-for-wmv/#findComment-462282 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.