chanchelkumar Posted March 11, 2008 Share Posted March 11, 2008 Hi all, Am trying to convert a avi file to flv using FFmpeg!! Am using this one.. $srcFile = $uploadFile; $destFile = $finalFile; $ffmpegPath = "/usr/bin/ffmpeg"; $flvtool2Path = "/bin/flvtool2"; $srcWidth = "320"; $srcHeight = "240"; $srcAB = "32"; $srcAR = "22050"; // Call our convert using exec() exec($ffmpegPath . " -i " . $srcFile . " -ar " . $srcAR . " -ab " . $srcAB . " -f flv -s " . $srcWidth . "x" . $srcHeight . " " . $destFile . " | " . $flvtool2Path . " -U stdin " . $destFile); For this my wmv files are OK , But my avi files are not get converting.. Please help me?? Quote Link to comment https://forums.phpfreaks.com/topic/95570-ffmpeg-file-conversion-from-avi-to-flv/ Share on other sites More sharing options...
chanchelkumar Posted March 12, 2008 Author Share Posted March 12, 2008 is this because of huge file size?? Please help me!!! Quote Link to comment https://forums.phpfreaks.com/topic/95570-ffmpeg-file-conversion-from-avi-to-flv/#findComment-490262 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.