Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit 32f8a64

Browse files
authored
Update gstreamer x264enc parameters (#912)
1 parent 916d8ca commit 32f8a64

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

source/agent/plugins/samples/cpu_pipeline/mypipeline.cc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,13 +127,12 @@ rvaStatus MyPipeline::LinkElements() {
127127

128128
g_object_set(G_OBJECT(source),"is-live", true, NULL);
129129

130-
g_object_set(G_OBJECT(encoder),"pass", 5,
131-
"quantizer", 25,
130+
g_object_set(G_OBJECT(encoder),
132131
"speed-preset", 6,
133132
"bitrate", 812,
134133
"aud", false,
135134
"tune", 0x00000004,
136-
"key-int-max", 30, NULL);
135+
"key-int-max", 100, NULL);
137136

138137
g_object_set(G_OBJECT(outsink), "max-buffers", 1,
139138
"sync", false,

0 commit comments

Comments
 (0)