theora_encoder_example -V (return code: 1)
theora_encoder_example: unrecognized option '--version'
Usage: encoder_example [options] [audio_file] video_file
Options:
-o --output <filename.ogv> file name for encoded output;
If this option is not given, the
compressed data is sent to stdout.
-A --audio-rate-target <n> bitrate target for Vorbis audio;
use -a and not -A if at all possible,
as -a gives higher quality for a given
bitrate.
-V --video-rate-target <n> bitrate target for Theora video
--soft-target Use a large reservoir and treat the rate
as a soft target; rate control is less
strict but resulting quality is usually
higher/smoother overall. Soft target also
allows an optional -v setting to specify
a minimum allowed quality.
--two-pass Compress input using two-pass rate control
This option requires that the input to the
to the encoder is seekable and performs
both passes automatically.
--first-pass <filename> Perform first-pass of a two-pass rate
controlled encoding, saving pass data to
<filename> for a later second pass
--second-pass <filename> Perform second-pass of a two-pass rate
controlled encoding, reading first-pass
data from <filename>. The first pass
data must come from a first encoding pass
using identical input video to work
properly.
-a --audio-quality <n> Vorbis quality selector from -1 to 10
(-1 yields smallest files but lowest
fidelity; 10 yields highest fidelity
but large files. '2' is a reasonable
default).
-v --video-quality <n> Theora quality selector from 0 to 10
(0 yields smallest files but lowest
video quality. 10 yields highest
fidelity but large files).
-s --aspect-numerator <n> Aspect ratio numerator, default is 0
or extracted from YUV input file
-S --aspect-denominator <n> Aspect ratio denominator, default is 0
or extracted from YUV input file
-f --framerate-numerator <n> Frame rate numerator, can be extracted
from YUV input file. ex: 30000000
-F --framerate-denominator <n> Frame rate denominator, can be extracted
from YUV input file. ex: 1000000
The frame rate nominator divided by this
determinates the frame rate in units per tick
-k --keyframe-freq <n> Keyframe frequency
-z --speed <n> Sets the encoder speed level. Higher speed
levels favor quicker encoding over better
quality per bit. Depending on the encoding
mode, and the internal algorithms used,
quality may actually improve with higher
speeds, but in this case bitrate will also
likely increase. The maximum value, and the
meaning of each value, are implementation-
specific and may change depending on the
current encoding mode (rate constrained,
two-pass, etc.).
-d --buf-delay <n> Buffer delay (in frames). Longer delays
allow smoother rate adaptation and provide
better overall quality, but require more
client side buffering and add latency. The
default value is the keyframe interval for
one-pass encoding (or somewhat larger if
--soft-target is used) and infinite for
two-pass encoding.
-b --begin-time <h:m:s.d> Begin encoding at offset into input
-e --end-time <h:m:s.d> End encoding at offset into input
encoder_example accepts only uncompressed RIFF WAV format audio and
YUV4MPEG2 uncompressed video.
theora_encoder_example -HELP (return code: 1)
theora_encoder_example: unrecognized option '--help'
Usage: encoder_example [options] [audio_file] video_file
Options:
-o --output <filename.ogv> file name for encoded output;
If this option is not given, the
compressed data is sent to stdout.
-A --audio-rate-target <n> bitrate target for Vorbis audio;
use -a and not -A if at all possible,
as -a gives higher quality for a given
bitrate.
-V --video-rate-target <n> bitrate target for Theora video
--soft-target Use a large reservoir and treat the rate
as a soft target; rate control is less
strict but resulting quality is usually
higher/smoother overall. Soft target also
allows an optional -v setting to specify
a minimum allowed quality.
--two-pass Compress input using two-pass rate control
This option requires that the input to the
to the encoder is seekable and performs
both passes automatically.
--first-pass <filename> Perform first-pass of a two-pass rate
controlled encoding, saving pass data to
<filename> for a later second pass
--second-pass <filename> Perform second-pass of a two-pass rate
controlled encoding, reading first-pass
data from <filename>. The first pass
data must come from a first encoding pass
using identical input video to work
properly.
-a --audio-quality <n> Vorbis quality selector from -1 to 10
(-1 yields smallest files but lowest
fidelity; 10 yields highest fidelity
but large files. '2' is a reasonable
default).
-v --video-quality <n> Theora quality selector from 0 to 10
(0 yields smallest files but lowest
video quality. 10 yields highest
fidelity but large files).
-s --aspect-numerator <n> Aspect ratio numerator, default is 0
or extracted from YUV input file
-S --aspect-denominator <n> Aspect ratio denominator, default is 0
or extracted from YUV input file
-f --framerate-numerator <n> Frame rate numerator, can be extracted
from YUV input file. ex: 30000000
-F --framerate-denominator <n> Frame rate denominator, can be extracted
from YUV input file. ex: 1000000
The frame rate nominator divided by this
determinates the frame rate in units per tick
-k --keyframe-freq <n> Keyframe frequency
-z --speed <n> Sets the encoder speed level. Higher speed
levels favor quicker encoding over better
quality per bit. Depending on the encoding
mode, and the internal algorithms used,
quality may actually improve with higher
speeds, but in this case bitrate will also
likely increase. The maximum value, and the
meaning of each value, are implementation-
specific and may change depending on the
current encoding mode (rate constrained,
two-pass, etc.).
-d --buf-delay <n> Buffer delay (in frames). Longer delays
allow smoother rate adaptation and provide
better overall quality, but require more
client side buffering and add latency. The
default value is the keyframe interval for
one-pass encoding (or somewhat larger if
--soft-target is used) and infinite for
two-pass encoding.
-b --begin-time <h:m:s.d> Begin encoding at offset into input
-e --end-time <h:m:s.d> End encoding at offset into input
encoder_example accepts only uncompressed RIFF WAV format audio and
YUV4MPEG2 uncompressed video.