Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Xiph.Org
ffmpeg2theora
Commits
9b5203a8
Commit
9b5203a8
authored
Sep 24, 2009
by
Jan Gerber
Browse files
theora version is now 1.1.0, quality and bitrate can be defined
parent
03ef726e
Changes
2
Hide whitespace changes
Inline
Side-by-side
SConstruct
View file @
9b5203a8
...
...
@@ -112,7 +112,7 @@ if not conf.CheckPKGConfig(pkgconfig_version):
print
'pkg-config >= %s not found.'
%
pkgconfig_version
Exit
(
1
)
XIPH_LIBS
=
"ogg >= 1.1 vorbis vorbisenc theoraenc >= 1.1
beta3
"
XIPH_LIBS
=
"ogg >= 1.1 vorbis vorbisenc theoraenc >= 1.1
.0
"
if
not
conf
.
CheckPKG
(
XIPH_LIBS
):
print
'some xiph libs are missing, ffmpeg2theora depends on %s'
%
XIPH_LIBS
...
...
src/ffmpeg2theora.c
View file @
9b5203a8
...
...
@@ -2490,8 +2490,6 @@ int main(int argc, char **argv) {
if
(
convert
->
video_quality
==
-
1
)
convert
->
video_quality
=
0
;
}
else
{
if
(
convert
->
video_bitrate
>
0
)
convert
->
video_quality
=
0
;
if
(
convert
->
video_quality
==
-
1
)
convert
->
video_quality
=
rint
(
5
*
6
.
3
);
// default quality 5
}
...
...
Write
Preview
Supports
Markdown
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