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
f747e153
Commit
f747e153
authored
Feb 20, 2017
by
Timo Rothenpieler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
avcodec/nvenc: allow forcing keyframes by default
parent
7e538c94
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
nvenc_h264.c
libavcodec/nvenc_h264.c
+1
-1
nvenc_hevc.c
libavcodec/nvenc_hevc.c
+1
-1
No files found.
libavcodec/nvenc_h264.c
View file @
f747e153
...
...
@@ -92,7 +92,7 @@ static const AVOption options[] = {
{
"no-scenecut"
,
"When lookahead is enabled, set this to 1 to disable adaptive I-frame insertion at scene cuts"
,
OFFSET
(
no_scenecut
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
0
},
0
,
1
,
VE
},
{
"forced-idr"
,
"If forcing keyframes, force them as IDR frames."
,
OFFSET
(
forced_idr
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
-
1
},
-
1
,
1
,
VE
},
OFFSET
(
forced_idr
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
0
},
-
1
,
1
,
VE
},
{
"b_adapt"
,
"When lookahead is enabled, set this to 0 to disable adaptive B-frame decision"
,
OFFSET
(
b_adapt
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
1
},
0
,
1
,
VE
},
{
"spatial-aq"
,
"set to 1 to enable Spatial AQ"
,
OFFSET
(
aq
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
0
},
0
,
1
,
VE
},
...
...
libavcodec/nvenc_hevc.c
View file @
f747e153
...
...
@@ -91,7 +91,7 @@ static const AVOption options[] = {
{
"no-scenecut"
,
"When lookahead is enabled, set this to 1 to disable adaptive I-frame insertion at scene cuts"
,
OFFSET
(
no_scenecut
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
0
},
0
,
1
,
VE
},
{
"forced-idr"
,
"If forcing keyframes, force them as IDR frames."
,
OFFSET
(
forced_idr
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
-
1
},
-
1
,
1
,
VE
},
OFFSET
(
forced_idr
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
0
},
-
1
,
1
,
VE
},
{
"spatial_aq"
,
"set to 1 to enable Spatial AQ"
,
OFFSET
(
aq
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
0
},
0
,
1
,
VE
},
{
"temporal_aq"
,
"set to 1 to enable Temporal AQ"
,
OFFSET
(
temporal_aq
),
AV_OPT_TYPE_BOOL
,
{
.
i64
=
0
},
0
,
1
,
VE
},
{
"zerolatency"
,
"Set 1 to indicate zero latency operation (no reordering delay)"
,
...
...
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