Changes between Initial Version and Version 1 of TheoraVorbisEncodingGuide


Ignore:
Timestamp:
Feb 26, 2013, 7:09:07 AM (7 years ago)
Author:
llogan
Comment:

make (somewhat sparse) initial page

Legend:

Unmodified
Added
Removed
Modified
  • TheoraVorbisEncodingGuide

    v1 v1  
     1= Theora and Vorbis Encoding Guide =
     2
     3The Theora video format, Vorbis audio format, and Ogg container format were developed by [http://xiph.org/ Xiph.org] as free and open-source media formats. FFmpeg can create these formats by using the external encoding libraries libtheora and libvorbis.
     4
     5To use these encoders make sure your ffmpeg build has been compiled with `--enable-libtheora --enable-libvorbis` or see the output of `ffmpeg -codecs`. If you want to compile ffmpeg to support these encoders see the various [[CompilationGuide|FFmpeg Compilation Guides]] for detailed instructions.
     6
     7libvorbis is usually recommended over the experimental, native FFmpeg Vorbis audio encoder (`-codec:a vorbis -strict experimental`) since it does not provide comparable quality to libvorbis.
     8
     9== Variable Bitrate (VBR) ==
     10{{{
     11ffmpeg -i input.mkv -codec:v libtheora -qscale:v 7 -codec:a libvorbis -qscale:a 5 output.ogv
     12}}}
     13
     14* `-qscale:v` – video quality. Range is 0–10, where 10 is highest quality. 5–7 is a good range to try. If you omit `-qscale:v` (or the alias `-q:v`) then ffmpeg will use the default `-b:v 200k` which will most likely provide a poor quality output.
     15
     16* `-qscale:a` – audio quality. Range is 0–10, where 10 is highest quality. 3–6 is a good range to try. Default is `-qscale:v 3`.
     17
     18'''Note:'''  if you omit `-codec:a libvorbis` then ffmpeg will default to the native FFmpeg flac audio encoder for ogg/ogv output container.
     19
     20== Other Resources ==
     21* [http://wiki.hydrogenaudio.org/index.php?title=Recommended_Ogg_Vorbis#Recommended_Encoder_Settings Hydrogen Audio: Recommended Vorbis Encoder Settings]
     22
     23{{{#!comment
     24Add HTML5 video info.
     25}}}