This commit is contained in:
legop3
2025-11-28 01:26:45 -05:00
parent 1552bcca70
commit ab8d327d18
5 changed files with 9 additions and 9 deletions
+4 -4
View File
@@ -29,10 +29,10 @@ VIDEO_HEIGHT="${VIDEO_HEIGHT:-1080}"
VIDEO_FPS="${VIDEO_FPS:-30}"
VIDEO_BITRATE="${VIDEO_BITRATE:-3000000}"
AUDIO_ENABLE="${AUDIO_ENABLE:-0}"
AUDIO_DEVICE="${AUDIO_DEVICE:-plughw:0,0}"
AUDIO_CODEC="pcm_s16le"
# Keep the audio path simple for the Pi Zero; default to PCM, and honor any rate/channels provided.
AUDIO_RATE="${AUDIO_RATE:-48000}"
AUDIO_DEVICE="${AUDIO_DEVICE:-hw:0,0}"
AUDIO_CODEC="${AUDIO_CODEC:-pcm_mulaw}"
# Keep the audio path simple for the Pi Zero; default to G.711 mu-law (very light) and honor overrides.
AUDIO_RATE="${AUDIO_RATE:-8000}"
AUDIO_CHANNELS="${AUDIO_CHANNELS:-1}"
AUDIO_DEVICE="${AUDIO_DEVICE:-plughw:0,0}"
# Flip the camera 180deg (supported by rpicam-vid/libcamera-vid)