Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
f3575669
Commit
f3575669
authored
Jun 07, 2005
by
Christophe Massiot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/codec/ffmpeg: More sensible values for --sout-ffmpeg-strict-rc
(default values borrowed from ffmpeg).
parent
e6d75333
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
modules/codec/ffmpeg/encoder.c
modules/codec/ffmpeg/encoder.c
+3
-0
modules/codec/ffmpeg/ffmpeg.c
modules/codec/ffmpeg/ffmpeg.c
+2
-2
No files found.
modules/codec/ffmpeg/encoder.c
View file @
f3575669
...
...
@@ -386,6 +386,9 @@ int E_(OpenEncoder)( vlc_object_t *p_this )
{
p_context
->
rc_max_rate
=
p_enc
->
fmt_out
.
i_bitrate
;
p_context
->
rc_buffer_size
=
p_sys
->
i_rc_buffer_size
;
/* This is from ffmpeg's ffmpeg.c : */
p_context
->
rc_initial_buffer_occupancy
=
p_sys
->
i_rc_buffer_size
*
3
/
4
;
p_context
->
rc_buffer_aggressivity
=
p_sys
->
f_rc_buffer_aggressivity
;
}
...
...
modules/codec/ffmpeg/ffmpeg.c
View file @
f3575669
...
...
@@ -143,9 +143,9 @@ vlc_module_begin();
ENC_PRE_ME_LONGTEXT
,
VLC_TRUE
);
add_bool
(
ENC_CFG_PREFIX
"strict-rc"
,
0
,
NULL
,
ENC_RC_STRICT_TEXT
,
ENC_RC_STRICT_LONGTEXT
,
VLC_TRUE
);
add_integer
(
ENC_CFG_PREFIX
"rc-buffer-size"
,
224
*
1024
*
8
*
3
/
2
,
NULL
,
add_integer
(
ENC_CFG_PREFIX
"rc-buffer-size"
,
224
*
1024
*
8
,
NULL
,
ENC_RC_BUF_TEXT
,
ENC_RC_BUF_LONGTEXT
,
VLC_TRUE
);
add_float
(
ENC_CFG_PREFIX
"rc-buffer-aggressivity"
,
0
.
1
,
NULL
,
add_float
(
ENC_CFG_PREFIX
"rc-buffer-aggressivity"
,
1
.
0
,
NULL
,
ENC_RC_BUF_AGGR_TEXT
,
ENC_RC_BUF_AGGR_LONGTEXT
,
VLC_TRUE
);
add_float
(
ENC_CFG_PREFIX
"i-quant-factor"
,
0
,
NULL
,
ENC_IQUANT_FACTOR_TEXT
,
ENC_IQUANT_FACTOR_LONGTEXT
,
VLC_TRUE
);
...
...
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