I want to create a website that plays videos uploaded by the users in html5 video.
How can I convert any video type on server side to WebM, OGG or MP4?
Is FFmpeg
Nice but your coding was a little off RED_ALERT user.
?>
so basically your adding ffmpeg to a separate directory folder on your computer and not in wamp if you using wamp. You can than i'm assuming create a html document that srcs the video and shouldn't need video js. Of course you would need to know the path to the video and figure out a way to put the path from the msyql query into the php shell_exec command above.
Here is another example which converts a wmv video into a mp4 video.
&1");
?>