I'm developing a site where users can publish their videos (similar to YouTube). Is there a way to make my website automatically convert mp4 file to ogg and webm? Are there any plugins? It would be great if you dropped a link to a plugin that is small and powerful.
your best bet would be to spin up a server install FFMPEG and then on upload batch process with the following
ffmpeg -i INPUTFILE -b 1500k -vcodec libx264 -vpre baseline -g 30 OUTPUT.mp4
ffmpeg -i INPUTFILE -b 1500k -vcodec libvpx -acodec libvorbis -ab 160000 -f webm -g 30 OUTPUT.webm
ffmpeg -i INPUTFILE -b 1500k -vcodec libtheora -acodec libvorbis -ab 160000 -g 30 OUTPUT.ogv
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With