hello ,
i have been trying to get ffmpeg to work through a php script - i have found loads of scripts on the net about ffmpeg but nothing that explains how to install ffmpeg. At present i have apache mysql and php all runnign on a windows xp system. I have not been able to find any php_ffmpeg.dll all i can find i a windows .exe that runs through the command line. could someone explain how you go about adding ffmpeg into your php modules and maybe a small script to go with it.
windows: http://www.youtube.com/watch?v=WrXYofs1IRo
regards
etnastyles
installing ffmpeg to use with php
Moderator: General Moderators
-
etnastyles
- Forum Newbie
- Posts: 3
- Joined: Mon Jul 07, 2008 4:26 am
Re: installing ffmpeg to use with php
etnastyles wrote:hello ,
i have been trying to get ffmpeg to work through a php script - i have found loads of scripts on the net about ffmpeg but nothing that explains how to install ffmpeg. At present i have apache mysql and php all runnign on a windows xp system. I have not been able to find any php_ffmpeg.dll all i can find i a windows .exe that runs through the command line. could someone explain how you go about adding ffmpeg into your php modules and maybe a small script to go with it.
windows: http://www.youtube.com/watch?v=WrXYofs1IRo
regards
etnastyles
Hi etnastyles,
Use like this for windows server.
$ffmpegcmd = "ffmpeg -i test.mov test.flv";
shell_exec($ffmpegcmd);
The above script will conver text.mov file to text.flv file. You must have ffmpeg.exe file in the same folder alse respective .dll files.
Regards,
Adroit
http://www.adroitsoftware.org