hno Posted July 13, 2011 Share Posted July 13, 2011 HI, I'm using ffmpeg for converting videos in my website but it has problems with converting 3gp videos because after converting to FLV it has 0 size. I'm using this code for converting videos to FLV: exec( "ffmpeg.exe -i uploads/$video_name1 -ar 22050 -ab 32 -f flv -s 320×240 uploads/$video_name.flv", $ret ); By the way , there is no problem with variables . Thanks Quote Link to comment https://forums.phpfreaks.com/topic/241879-problem-with-converting-3gp-using-ffmpeg/ Share on other sites More sharing options...
premiso Posted July 13, 2011 Share Posted July 13, 2011 Have you tried echoing out all the variables and attempting to run that command in a command line environment, to make sure that it is not producing any errors? If not do that, but this is really not a PHP issue, unless the paths are messed up. You will probably do better to take it to the ffmpeg people. Quote Link to comment https://forums.phpfreaks.com/topic/241879-problem-with-converting-3gp-using-ffmpeg/#findComment-1242234 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.