Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
4fdec65e
Commit
4fdec65e
authored
Oct 30, 2013
by
Stefano Sabatini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc/encoders: extend/clarify libtheora encoder documentation
parent
a2bfee36
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
39 additions
and
14 deletions
+39
-14
encoders.texi
doc/encoders.texi
+39
-14
No files found.
doc/encoders.texi
View file @
4fdec65e
...
@@ -902,12 +902,15 @@ follows.
...
@@ -902,12 +902,15 @@ follows.
@section libtheora
@section libtheora
Theora format supported through libtheora
.
libtheora Theora encoder wrapper
.
Requires the presence of the libtheora headers and library during
Requires the presence of the libtheora headers and library during
configuration. You need to explicitly configure the build with
configuration. You need to explicitly configure the build with
@code{--enable-libtheora}.
@code{--enable-libtheora}.
For more informations about the libtheora project see
@url{http://www.theora.org/}.
@subsection Options
@subsection Options
The following global options are mapped to internal libtheora options
The following global options are mapped to internal libtheora options
...
@@ -915,11 +918,11 @@ which affect the quality and the bitrate of the encoded stream.
...
@@ -915,11 +918,11 @@ which affect the quality and the bitrate of the encoded stream.
@table @option
@table @option
@item b
@item b
Set the video bitrate
, only works if the @code{qscale} flag i
n
Set the video bitrate
in bit/s for CBR (Constant Bit Rate) mode. I
n
@option{flags} is not enabl
ed.
case VBR (Variable Bit Rate) mode is enabled this option is ignor
ed.
@item flags
@item flags
Used to enable constant quality mode encoding through the
Used to enable constant quality mode
(VBR)
encoding through the
@option{qscale} flag, and to enable the @code{pass1} and @code{pass2}
@option{qscale} flag, and to enable the @code{pass1} and @code{pass2}
modes.
modes.
...
@@ -927,18 +930,40 @@ modes.
...
@@ -927,18 +930,40 @@ modes.
Set the GOP size.
Set the GOP size.
@item global_quality
@item global_quality
Set the global quality in lambda units, only works if the
Set the global quality as an integer in lambda units.
@code{qscale} flag in @option{flags} is enabled. The value is clipped
in the [0 - 10*@code{FF_QP2LAMBDA}] range, and then multiplied for 6.3
Only relevant when VBR mode is enabled with @code{flags +qscale}. The
to get a value in the native libtheora range [0-63]. A higher value
value is converted to QP units by dividing it by @code{FF_QP2LAMBDA},
corresponds to a higher quality.
clipped in the [0 - 10] range, and then multiplied by 6.3 to get a
value in the native libtheora range [0-63]. A higher value corresponds
For example, to set maximum constant quality encoding with
to a higher quality.
@command{ffmpeg}:
@item q
Enable VBR mode when set to a non-negative value, and set constant
quality value as a double floating point value in QP units.
The value is clipped in the [0-10] range, and then multiplied by 6.3
to get a value in the native libtheora range [0-63].
This option is valid only using the @command{ffmpeg} command-line
tool. For library interface users, use @option{global_quality}.
@end table
@subsection Examples
@itemize
@item
Set maximum constant quality (VBR) encoding with @command{ffmpeg}:
@example
@example
ffmpeg -i INPUT -
flags:v qscale -global_quality:v "10*QP2LAMBDA" -codec:v libtheora
OUTPUT.ogg
ffmpeg -i INPUT -
codec:v libtheora -q:v 10
OUTPUT.ogg
@end example
@end example
@end table
@item
Use @command{ffmpeg} to convert a CBR 1000 kbps Theora video stream:
@example
ffmpeg -i INPUT -codec:v libtheora -b:v 1000k OUTPUT.ogg
@end example
@end itemize
@section libvpx
@section libvpx
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment