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
4ea4b274
Commit
4ea4b274
authored
Apr 25, 2004
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lmin/lmax
Originally committed as revision 3070 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
3c0da30c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
ffmpeg.c
ffmpeg.c
+16
-0
No files found.
ffmpeg.c
View file @
4ea4b274
...
@@ -88,6 +88,8 @@ static int video_bit_rate_tolerance = 4000*1000;
...
@@ -88,6 +88,8 @@ static int video_bit_rate_tolerance = 4000*1000;
static
float
video_qscale
=
0
;
static
float
video_qscale
=
0
;
static
int
video_qmin
=
2
;
static
int
video_qmin
=
2
;
static
int
video_qmax
=
31
;
static
int
video_qmax
=
31
;
static
int
video_lmin
=
2
*
FF_QP2LAMBDA
;
static
int
video_lmax
=
31
*
FF_QP2LAMBDA
;
static
int
video_mb_qmin
=
2
;
static
int
video_mb_qmin
=
2
;
static
int
video_mb_qmax
=
31
;
static
int
video_mb_qmax
=
31
;
static
int
video_qdiff
=
3
;
static
int
video_qdiff
=
3
;
...
@@ -2197,6 +2199,16 @@ static void opt_qscale(const char *arg)
...
@@ -2197,6 +2199,16 @@ static void opt_qscale(const char *arg)
}
}
}
}
static
void
opt_lmax
(
const
char
*
arg
)
{
video_lmax
=
atof
(
arg
)
*
FF_QP2LAMBDA
;
}
static
void
opt_lmin
(
const
char
*
arg
)
{
video_lmin
=
atof
(
arg
)
*
FF_QP2LAMBDA
;
}
static
void
opt_qmin
(
const
char
*
arg
)
static
void
opt_qmin
(
const
char
*
arg
)
{
{
video_qmin
=
atoi
(
arg
);
video_qmin
=
atoi
(
arg
);
...
@@ -2829,6 +2841,8 @@ static void opt_output_file(const char *filename)
...
@@ -2829,6 +2841,8 @@ static void opt_output_file(const char *filename)
}
}
video_enc
->
qmin
=
video_qmin
;
video_enc
->
qmin
=
video_qmin
;
video_enc
->
qmax
=
video_qmax
;
video_enc
->
qmax
=
video_qmax
;
video_enc
->
lmin
=
video_lmin
;
video_enc
->
lmax
=
video_lmax
;
video_enc
->
mb_qmin
=
video_mb_qmin
;
video_enc
->
mb_qmin
=
video_mb_qmin
;
video_enc
->
mb_qmax
=
video_mb_qmax
;
video_enc
->
mb_qmax
=
video_mb_qmax
;
video_enc
->
max_qdiff
=
video_qdiff
;
video_enc
->
max_qdiff
=
video_qdiff
;
...
@@ -3475,6 +3489,8 @@ const OptionDef options[] = {
...
@@ -3475,6 +3489,8 @@ const OptionDef options[] = {
{
"qscale"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_qscale
},
"use fixed video quantiser scale (VBR)"
,
"q"
},
{
"qscale"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_qscale
},
"use fixed video quantiser scale (VBR)"
,
"q"
},
{
"qmin"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_qmin
},
"min video quantiser scale (VBR)"
,
"q"
},
{
"qmin"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_qmin
},
"min video quantiser scale (VBR)"
,
"q"
},
{
"qmax"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_qmax
},
"max video quantiser scale (VBR)"
,
"q"
},
{
"qmax"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_qmax
},
"max video quantiser scale (VBR)"
,
"q"
},
{
"lmin"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_lmin
},
"min video lagrange factor (VBR)"
,
"lambda"
},
{
"lmax"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_lmax
},
"max video lagrange factor (VBR)"
,
"lambda"
},
{
"mbqmin"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_mb_qmin
},
"min macroblock quantiser scale (VBR)"
,
"q"
},
{
"mbqmin"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_mb_qmin
},
"min macroblock quantiser scale (VBR)"
,
"q"
},
{
"mbqmax"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_mb_qmax
},
"max macroblock quantiser scale (VBR)"
,
"q"
},
{
"mbqmax"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_mb_qmax
},
"max macroblock quantiser scale (VBR)"
,
"q"
},
{
"qdiff"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_qdiff
},
"max difference between the quantiser scale (VBR)"
,
"q"
},
{
"qdiff"
,
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
opt_qdiff
},
"max difference between the quantiser scale (VBR)"
,
"q"
},
...
...
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