elhelaly1999 Posted January 29, 2009 Share Posted January 29, 2009 Hi , I hope found the solution as I get tired from searching my problem is how to convert any video to flv I work on xampp and windows XP ,I get the ffmpeg.dll and added the extension to the php.ini and restart apache and the write this line of code exec("ffmpeg -i video.avi -ar 22050 -ab 32 -f flv -s 320x240 video.flv"); and I didn't get the flv video Can u help me ? Quote Link to comment https://forums.phpfreaks.com/topic/142939-convert-any-video-to-flv/ Share on other sites More sharing options...
elhelaly1999 Posted January 31, 2009 Author Share Posted January 31, 2009 any help please Quote Link to comment https://forums.phpfreaks.com/topic/142939-convert-any-video-to-flv/#findComment-751435 Share on other sites More sharing options...
corbin Posted January 31, 2009 Share Posted January 31, 2009 That exec() call will execute the ffmpeg binary, which isn't related [directly] to the PHP dll. You need to download the ffmpeg binary if you're going to use it like that (and then you will need to supply a full path to the binary or add it to your PATH). Quote Link to comment https://forums.phpfreaks.com/topic/142939-convert-any-video-to-flv/#findComment-751442 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.