Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
BC
public
mediastreamer2
Commits
a11023fb
Commit
a11023fb
authored
Feb 03, 2010
by
Simon Morlat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
force stream to be baseline with lastest x264 deliveries.
parent
98911772
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
plugins/msx264/src/msx264.c
plugins/msx264/src/msx264.c
+8
-2
No files found.
plugins/msx264/src/msx264.c
View file @
a11023fb
...
...
@@ -98,8 +98,14 @@ static void enc_preprocess(MSFilter *f){
params.i_keyint_min = (int)d->fps;
*/
params
.
b_repeat_headers
=
1
;
params
.
b_cabac
=
0
;
//disable cabac to be baseline
params
.
i_bframe
=
0
;
/*no B frames*/
//these parameters must be set so that our stream is baseline
params
.
analyse
.
b_transform_8x8
=
0
;
params
.
b_cabac
=
0
;
params
.
i_cqm_preset
=
X264_CQM_FLAT
;
params
.
i_bframe
=
0
;
params
.
analyse
.
i_weighted_pred
=
X264_WEIGHTP_NONE
;
d
->
enc
=
x264_encoder_open
(
&
params
);
if
(
d
->
enc
==
NULL
)
ms_error
(
"Fail to create x264 encoder."
);
d
->
framenum
=
0
;
...
...
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