rpi: increase default camera bitrate to 5 Mbps (#3896)

This commit is contained in:
Alessandro Ros 2024-10-21 01:25:32 +02:00 committed by GitHub
parent 6cd7487857
commit 1dd975504f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@ func TestConfFromFile(t *testing.T) {
RPICameraTextOverlay: "%Y-%m-%d %H:%M:%S - MediaMTX",
RPICameraCodec: "auto",
RPICameraIDRPeriod: 60,
RPICameraBitrate: 1000000,
RPICameraBitrate: 5000000,
RPICameraProfile: "main",
RPICameraLevel: "4.1",
RunOnDemandStartTimeout: 5 * StringDuration(time.Second),

View File

@ -218,7 +218,7 @@ func (pconf *Path) setDefaults() {
pconf.RPICameraTextOverlay = "%Y-%m-%d %H:%M:%S - MediaMTX"
pconf.RPICameraCodec = "auto"
pconf.RPICameraIDRPeriod = 60
pconf.RPICameraBitrate = 1000000
pconf.RPICameraBitrate = 5000000
pconf.RPICameraProfile = "main"
pconf.RPICameraLevel = "4.1"

View File

@ -588,7 +588,7 @@ pathDefaults:
# Period between IDR frames
rpiCameraIDRPeriod: 60
# Bitrate
rpiCameraBitrate: 1000000
rpiCameraBitrate: 5000000
# H264 profile
rpiCameraProfile: main
# H264 level