Northern Flame Posted January 20, 2008 Share Posted January 20, 2008 I have been wanting to learn how to convert videos to .flv for awhile, and since it can't be done with PHP, can someone point me to a language that can do it? And maybe give me a tutorial on doing something like this? I was thinking that Perl might be able to do this but I whenever I google this subject I just get sent to websites that offer programs that do it for you. And I want my server to do it after a user uploads a video. Can anyone help me with this? Link to comment https://forums.phpfreaks.com/topic/86948-convert-files/ Share on other sites More sharing options...
Northern Flame Posted January 20, 2008 Author Share Posted January 20, 2008 oh i just asked my web host and ffmpeg is installed on my server. So can anyone point me to a tutorial on how to use ffmpeg? Link to comment https://forums.phpfreaks.com/topic/86948-convert-files/#findComment-444526 Share on other sites More sharing options...
trq Posted January 20, 2008 Share Posted January 20, 2008 I want my server to do it after a user uploads a video. Then the easiest way is to make sure your server has the right software installed (ffmpeg comes to mind). Lots of programming languages use other tools / programs to do alot of there dirty work. What do you think a php extension is? It's basically just an interface to some other software. I know there is no ffmpeg extension, but its quite simple to use it via the exec function. If you wanted to go ahead and write an extension for it, C is the language you would need to learn. o can anyone point me to a tutorial on how to use ffmpeg? the manual. Link to comment https://forums.phpfreaks.com/topic/86948-convert-files/#findComment-444529 Share on other sites More sharing options...
Northern Flame Posted January 20, 2008 Author Share Posted January 20, 2008 thanks i will review the manual and hopefully i can get this to work Link to comment https://forums.phpfreaks.com/topic/86948-convert-files/#findComment-444595 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.