How to convert a video to ogg with VLC

With VideoLan VLC media player you can convert almost any video to a Theora-Vorbis ogg file, that you can use with Pogg.

You can download VLC from http://www.videolan.org/vlc/

To convert a video go to Media→Convert/Save…

Click on the Add… button and select the file you want to convert. Then click on the Convert/Save button.

Click on Browse and write the file name of the new ogg video.

Then you have to select the Profile. You can select “Video - Theora + Vorbis (OGG)” which will create an ogg file with 800 kb/s Theora and 128 kb/s stereo Vorbis. With these parameters one minute of video will be (800+128)/8*60= 7MB.

If you want to control the size of the file, you can create a new Profile.

To create a new profile, click on the third button (with the list and the yellow star).

Write a name for you profile and select the Ogg/Ogm encapsulation.

Select the Video codec tab. Check Video and select the Theora Codec. The Bitrate is the parameter to control the size of the file and quality of the video. For a video of 320×240 pixels, 512 kb/s is a good quality. It seems that for 320×240 pixels the minimum bit rate is about 300kb/s, which gives a pretty good quality. If you try to encode to a lower bit rate, it will encode the video with 300kb/s anyway. This minimum bit rate is proportional to the area (number of pixels) of the video. If you need a smaller bit rate you can resize the image with the Scale parameter. A scale of 0.5 will resize a video of 320×240 to 160×120, which you can compress to about 75kb/s (a scale of 0.5 reduces the area to a 25% so you can reduce the bit rate to a 25%).

My rule of thumb is as follows: multiply the width by the height to get the area in pixels. If you want good quality, divide the area by 150. If you want the minimum size (and lower quality), divide it by 256. If you need a lower bit rate, scale the image and the area and bitrates will be smaller. Examples:

  • 320×240 = 76800 (area). Then good quality is 76800/150=512kb/s and the minimum bitrate that VLC will encode is about 76800/256=300kp/s.
  • 160×120 = 19200. Good quality = 19200/150 = 128kb/s. Minimum = 19200/256 = 75kb/s.

Now select the Audio codec tab. If you want a video with sound, select the Audio checkbox, the Vorbis codec and the rest of parameters. If you don't need a stereo file, select only 1 channel. For better audio quality select 128kb/s and Sample Rate = 44100 (this is CD quality). If you don't need a good sound quality and you want a small file, select Sample Rate = 11250 and 16kb/s (this is telephone quality).

It seems that the minimum bit rate for Vorbis (in VLC) is 16kbps. If you try to make it smaller than that, you will get a file without sound.

Finally click Save to save your profile.

Now we can select our new Profile and click on Start to start encoding.

Wait for the conversion and open the file you just created to check if it looks and sounds good.

You can check that the file is really an ogg Theora-Vorbis in Tools→Codec Information

There should be a stream with Codec: theo and another stream with Codec: vorb

If the quality is too bad or you need a smaller file size, repeat all the steps changing the codec parameters.

Comments

Eben Hall, 2013/02/26 15:34

Hi there,

Thanks for this great post! I have one big problem: When I follow your steps VLC keeps creating a .ps (postscript) file. This .ps file will appear in the destination file field in the converter even though I am choosing .ogg. Any idea why this is?

Octavi Estapé, 2013/02/27 22:40

Hi Eben,

I think that you are trying to convert a still image (jpeg). This tutorial explains how to convert from a video (avi, mov, mp4, wmv, asf) to an ogg file. It is possible to convert still images to videos using ffmpeg for example, but I don't think it is possible with VLC.

What extension has your original file? What are you trying to achieve?

Octavi

Herbert Müller, 2013/09/21 16:40

Simply change the extension from .ps to .ogg and it will work.

syed sajjad hussain shah, 2013/11/02 07:16

How to make low quality videos to high on vlc player? please tell me dear

betterfaather, 2015/04/29 03:10

You may try iDealshare VideoGo which can convert video to OGV format like convert MP4 to OGV, convert AVI to OGV, convert MOV to OGV, MKV to OGV, FLV to OGV etc

bestautumnn, 2015/11/27 00:12

Have you tried Avdshare?

It will show you a step by step guide on how to find and download the right ogv to mp4 videos as well as add ogv to MP4. In fact, this guide also applies to add subtitles to AVI, MKV, WTV, WMV, VOB, MPG, MOV, DV, FLV, WebM, OGV, and etc.

daveclark966, 2018/11/06 02:32

Free download the professional OGV to MOV Converter - Avdshare Video Converter:https://www.avdshare.com/ogv-to-mov-converter

Enter your comment
FDGJS
 
 
Back to top
how_to_convert_a_video_to_ogg_with_vlc.txt · Last modified: 2013/01/21 07:14 (external edit)
 
 
CC Attribution-Noncommercial-Share Alike 3.0 Unported
chimeric.de = chi`s home Valid CSS Driven by DokuWiki Recent changes RSS feed Valid XHTML 1.0