Andy-H Posted March 16, 2010 Share Posted March 16, 2010 Does anyone know if it is possible to convert Videos to MP3 files using PHP? I searched php.net but didn't have much luck, I only really want to use PHP for this and don't have money to pay for any tools to do it. Link to comment https://forums.phpfreaks.com/topic/195450-video-to-mp3-with-php/ Share on other sites More sharing options...
Philip Posted March 16, 2010 Share Posted March 16, 2010 You'd need to do something like installing FFmpeg and then using a system call to it. I don't think there is a way to do it with just php. Link to comment https://forums.phpfreaks.com/topic/195450-video-to-mp3-with-php/#findComment-1027036 Share on other sites More sharing options...
Andy-H Posted March 16, 2010 Author Share Posted March 16, 2010 You'd need to do something like installing FFmpeg and then using a system call to it. I don't think there is a way to do it with just php. TY, looking into it Link to comment https://forums.phpfreaks.com/topic/195450-video-to-mp3-with-php/#findComment-1027043 Share on other sites More sharing options...
JonnoTheDev Posted March 19, 2010 Share Posted March 19, 2010 ffmpeg does have a php library (ffmpeg-php) http://ffmpeg-php.sourceforge.net/ You need to have ffmpeg installed on your server to use it. Link to comment https://forums.phpfreaks.com/topic/195450-video-to-mp3-with-php/#findComment-1028571 Share on other sites More sharing options...
Philip Posted March 19, 2010 Share Posted March 19, 2010 ffmpeg does have a php library (ffmpeg-php) http://ffmpeg-php.sourceforge.net/ You need to have ffmpeg installed on your server to use it. Ohh fancy that, I didn't know that! Link to comment https://forums.phpfreaks.com/topic/195450-video-to-mp3-with-php/#findComment-1028592 Share on other sites More sharing options...
Andy-H Posted March 19, 2010 Author Share Posted March 19, 2010 Thankyou Link to comment https://forums.phpfreaks.com/topic/195450-video-to-mp3-with-php/#findComment-1028712 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.