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
93e04102
Commit
93e04102
authored
Sep 09, 2016
by
Carl Eugen Hoyos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lavc: Enable a53cc by default for x264 and qsv_h264.
parent
a5af1240
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
libx264.c
libavcodec/libx264.c
+1
-1
qsvenc_h264.c
libavcodec/qsvenc_h264.c
+1
-1
No files found.
libavcodec/libx264.c
View file @
93e04102
...
@@ -907,7 +907,7 @@ static const AVOption options[] = {
...
@@ -907,7 +907,7 @@ static const AVOption options[] = {
{
"level"
,
"Specify level (as defined by Annex A)"
,
OFFSET
(
level
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
0
,
VE
},
{
"level"
,
"Specify level (as defined by Annex A)"
,
OFFSET
(
level
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
0
,
VE
},
{
"passlogfile"
,
"Filename for 2 pass stats"
,
OFFSET
(
stats
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
0
,
VE
},
{
"passlogfile"
,
"Filename for 2 pass stats"
,
OFFSET
(
stats
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
0
,
VE
},
{
"wpredp"
,
"Weighted prediction for P-frames"
,
OFFSET
(
wpredp
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
0
,
VE
},
{
"wpredp"
,
"Weighted prediction for P-frames"
,
OFFSET
(
wpredp
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
0
,
VE
},
{
"a53cc"
,
"Use A53 Closed Captions (if available)"
,
OFFSET
(
a53_cc
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
0
},
0
,
1
,
VE
},
{
"a53cc"
,
"Use A53 Closed Captions (if available)"
,
OFFSET
(
a53_cc
),
AV_OPT_TYPE_BOOL
,
{.
i64
=
1
},
0
,
1
,
VE
},
{
"x264opts"
,
"x264 options"
,
OFFSET
(
x264opts
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
0
,
VE
},
{
"x264opts"
,
"x264 options"
,
OFFSET
(
x264opts
),
AV_OPT_TYPE_STRING
,
{.
str
=
NULL
},
0
,
0
,
VE
},
{
"crf"
,
"Select the quality for constant quality mode"
,
OFFSET
(
crf
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
-
1
},
-
1
,
FLT_MAX
,
VE
},
{
"crf"
,
"Select the quality for constant quality mode"
,
OFFSET
(
crf
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
-
1
},
-
1
,
FLT_MAX
,
VE
},
{
"crf_max"
,
"In CRF mode, prevents VBV from lowering quality beyond this point."
,
OFFSET
(
crf_max
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
-
1
},
-
1
,
FLT_MAX
,
VE
},
{
"crf_max"
,
"In CRF mode, prevents VBV from lowering quality beyond this point."
,
OFFSET
(
crf_max
),
AV_OPT_TYPE_FLOAT
,
{.
dbl
=
-
1
},
-
1
,
FLT_MAX
,
VE
},
...
...
libavcodec/qsvenc_h264.c
View file @
93e04102
...
@@ -138,7 +138,7 @@ static const AVOption options[] = {
...
@@ -138,7 +138,7 @@ static const AVOption options[] = {
{
"main"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
MFX_PROFILE_AVC_MAIN
},
INT_MIN
,
INT_MAX
,
VE
,
"profile"
},
{
"main"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
MFX_PROFILE_AVC_MAIN
},
INT_MIN
,
INT_MAX
,
VE
,
"profile"
},
{
"high"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
MFX_PROFILE_AVC_HIGH
},
INT_MIN
,
INT_MAX
,
VE
,
"profile"
},
{
"high"
,
NULL
,
0
,
AV_OPT_TYPE_CONST
,
{
.
i64
=
MFX_PROFILE_AVC_HIGH
},
INT_MIN
,
INT_MAX
,
VE
,
"profile"
},
{
"a53cc"
,
"Use A53 Closed Captions (if available)"
,
OFFSET
(
qsv
.
a53_cc
),
AV_OPT_TYPE_INT
,
{.
i64
=
0
},
0
,
1
,
VE
},
{
"a53cc"
,
"Use A53 Closed Captions (if available)"
,
OFFSET
(
qsv
.
a53_cc
),
AV_OPT_TYPE_INT
,
{.
i64
=
1
},
0
,
1
,
VE
},
{
NULL
},
{
NULL
},
};
};
...
...
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