Take the 2-minute tour ×
Video Production Stack Exchange is a question and answer site for engineers, producers, editors, and enthusiasts spanning the fields of video, and media creation. It's 100% free, no registration required.

I'm converting mov (or flv or mp4) files into ogv. Unfortunately, the programs I've been using (Miro, FFMPEG's ogv plugin) have terrible encoding that appears extremely fuzzy. Does anyone have recommendations for less compressed files in this format? Is it possible? Software recommendations? Thanks.

share|improve this question
2  
Need details, such as specs of the input video format and encoder parameters too. Samples of the input and output will also help. –  Mulvya Apr 5 '12 at 17:03
    
Yes, it is possible - ogv allows for high quality. Provide more info as to what you are currently doing. –  Dr Mayhem Apr 6 '12 at 16:57
add comment

1 Answer

You can encode to Theora video and Vorbis audio with ffmpeg if it has been compiled with --enable-libtheora and --enable-libvorbis. Depending on your ffmpeg version the default settings may not provide good enough quality. Therefore you must add some additional parameters to enable a constant quality type of mode for the video.

Theora video

Adjust video quality with the -qscale:v (or the alias -q:v) option. The valid range to set video quality with libtheora is -1 to 10. A higher value is a higher quality.

Vorbis audio

Adjust audio quality with the -qscale:a (or the alias -q:a) option for VBR audio. The valid range to set audio quality with libvorbis is 0 to 10. A higher value is higher quality. See the Recommended Vorbis Encoder Settings to get an idea of what values to use. The default of -q:a 3 will be used if you omit -q:a or -b:a.

Note that ffmpeg supports two Vorbis encoders: the external library libtheora (-c:a libvorbis) and the native Vorbis encoder (-c:a vorbis -strict experimental). The native encoder is experimental, does not compare well to libvorbis, and usage is not recommended.

Example

The following command will create a good quality output for both video and audio:

ffmpeg -i input -c:v libtheora -c:a libvorbis -q:v 6 -q:a 5 output.ogg

Getting ffmpeg

Make sure to always use a recent ffmpeg build and refer to the current documentation specific to your build since options can change. See the FFmpeg download page for various ways to acquire ffmpeg or follow one of the FFmpeg compile guides.

Also see

share|improve this answer
add comment

protected by Friend Of George Mar 26 '13 at 12:29

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.