mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-12-27 20:40:31 +00:00
change x264enc default bitrate to match nvh264enc
Assume default bitrate should be the same for a given codec (here, H264 is 2048u32) regardless of which encoder is used (x264enc, nvh264enc).
This commit is contained in:
parent
51c2f35909
commit
9e7406cec0
1 changed files with 1 additions and 1 deletions
|
@ -389,7 +389,7 @@ fn setup_encoding(
|
|||
pay.set_property_from_str("picture-id-mode", "15-bit");
|
||||
}
|
||||
"x264enc" => {
|
||||
enc.set_property("bitrate", 25608u32);
|
||||
enc.set_property("bitrate", 2048u32);
|
||||
enc.set_property_from_str("tune", "zerolatency");
|
||||
enc.set_property_from_str("speed-preset", "ultrafast");
|
||||
enc.set_property("threads", 12u32);
|
||||
|
|
Loading…
Reference in a new issue