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
5687a2f4
Commit
5687a2f4
authored
Sep 20, 2006
by
Panagiotis Issaris
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove the "qmin" OptionDef.
Originally committed as revision 6297 to
svn://svn.ffmpeg.org/ffmpeg/trunk
parent
315b0f97
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
14 deletions
+1
-14
ffmpeg.c
ffmpeg.c
+0
-13
utils.c
libavcodec/utils.c
+1
-1
No files found.
ffmpeg.c
View file @
5687a2f4
...
...
@@ -106,7 +106,6 @@ static int max_frames[4] = {INT_MAX, INT_MAX, INT_MAX, INT_MAX};
static
int
frame_rate
=
25
;
static
int
frame_rate_base
=
1
;
static
float
video_qscale
=
0
;
static
int
video_qmin
=
2
;
static
int
video_qmax
=
31
;
static
int
video_lmin
=
2
*
FF_QP2LAMBDA
;
static
int
video_lmax
=
31
*
FF_QP2LAMBDA
;
...
...
@@ -2365,16 +2364,6 @@ static void opt_lmin(const char *arg)
video_lmin
=
atof
(
arg
)
*
FF_QP2LAMBDA
;
}
static
void
opt_qmin
(
const
char
*
arg
)
{
video_qmin
=
atoi
(
arg
);
if
(
video_qmin
<
1
||
video_qmin
>
51
)
{
fprintf
(
stderr
,
"qmin must be >= 1 and <= 51
\n
"
);
exit
(
1
);
}
}
static
void
opt_qmax
(
const
char
*
arg
)
{
video_qmax
=
atoi
(
arg
);
...
...
@@ -2955,7 +2944,6 @@ static void new_video_stream(AVFormatContext *oc)
if
(
inter_matrix
)
video_enc
->
inter_matrix
=
inter_matrix
;
video_enc
->
qmin
=
video_qmin
;
video_enc
->
qmax
=
video_qmax
;
video_enc
->
lmin
=
video_lmin
;
video_enc
->
lmax
=
video_lmax
;
...
...
@@ -3892,7 +3880,6 @@ const OptionDef options[] = {
{
"vn"
,
OPT_BOOL
|
OPT_VIDEO
,
{(
void
*
)
&
video_disable
},
"disable video"
},
{
"vdt"
,
OPT_INT
|
HAS_ARG
|
OPT_EXPERT
|
OPT_VIDEO
,
{(
void
*
)
&
video_discard
},
"discard threshold"
,
"n"
},
{
"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"
},
{
"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"
},
...
...
libavcodec/utils.c
View file @
5687a2f4
...
...
@@ -504,7 +504,7 @@ static const AVOption options[]={
{
"delay"
,
NULL
,
OFFSET
(
delay
),
FF_OPT_TYPE_INT
,
DEFAULT
,
INT_MIN
,
INT_MAX
},
{
"qcomp"
,
"video quantiser scale compression (VBR)"
,
OFFSET
(
qcompress
),
FF_OPT_TYPE_FLOAT
,
0
.
5
,
FLT_MIN
,
FLT_MAX
,
V
|
E
},
{
"qblur"
,
"video quantiser scale blur (VBR)"
,
OFFSET
(
qblur
),
FF_OPT_TYPE_FLOAT
,
0
.
5
,
FLT_MIN
,
FLT_MAX
,
V
|
E
},
{
"qmin"
,
"min video quantiser scale (VBR)"
,
OFFSET
(
qmin
),
FF_OPT_TYPE_INT
,
2
,
0
,
INT_MAX
,
V
|
E
},
{
"qmin"
,
"min video quantiser scale (VBR)"
,
OFFSET
(
qmin
),
FF_OPT_TYPE_INT
,
2
,
1
,
51
,
V
|
E
},
{
"qmax"
,
"max video quantiser scale (VBR)"
,
OFFSET
(
qmax
),
FF_OPT_TYPE_INT
,
31
,
0
,
INT_MAX
,
V
|
E
},
{
"qdiff"
,
"max difference between the quantiser scale (VBR)"
,
OFFSET
(
max_qdiff
),
FF_OPT_TYPE_INT
,
3
,
INT_MIN
,
INT_MAX
,
V
|
E
},
{
"bf"
,
"use 'frames' B frames"
,
OFFSET
(
max_b_frames
),
FF_OPT_TYPE_INT
,
DEFAULT
,
0
,
FF_MAX_B_FRAMES
,
V
|
E
},
...
...
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