OGG is a multimedia container format. This latter allows to read both audio and video with popular media players such as Totem, VLC, etc. In this tutorial, we will see how we can convert any video file to OGV format in Linux.
Before we start, you should know that we are going to use the ffmpeg2theora command. To install it, launch the terminal as root and run simply this command for an RPM-based distribution:
yum install ffmpeg2theora
For a Debian-based distribution, run this command:
sudo apt-get install ffmpeg2theora
After installing the ffmpeg2theora command, use this command to convert your video files to OGV formats:
Replace video.wmv with your own video file name and path (don't forget to include your video file extension: .mpg, .avi, .flv, etc.). A file having the .ogv extension will be created automatically in the same folder containing your original video file.