ffmpeg, convert to mp4, ogv and webm

ffmpeg -i source_path/movie.mpg -c:v libx264 -vsync 2 -strict -2 dest_path/movie.mp4
ffmpeg -i source_path/movie.mpg -vcodec libtheora -q:v 10 -codec:a libvorbis -q:a 5 -vsync 2 -threads 0 dest_path/movie.ogv
ffmpeg -i source_/movie.mpg -acodec libvorbis -aq 5 -ac 2 -qmax 25 -threads 2 dest_path/movie.webm

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.