frigate: +audio

This commit is contained in:
Motiejus Jakštys 2025-03-13 09:04:29 +00:00
parent 66c3a143d8
commit d4f09d18d4

View File

@ -122,16 +122,13 @@ in
"ffmpeg:rtsp://localhost:8554/vno4-dome-panorama-orig#hardware=vaapi#video=h264#width=1280" "ffmpeg:rtsp://localhost:8554/vno4-dome-panorama-orig#hardware=vaapi#video=h264#width=1280"
]; ];
"vno4-dome-ptz-orig" = [ "vno4-dome-ptz-orig" = [
#"ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=0#video=copy#audio=copy" "ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=0#video=copy#audio=copy"
"ffmpeg:rtsp://frigate:\${FRIGATE_RTSP_PASSWORD}@192.168.188.10/cam/realmonitor?channel=2&subtype=0#video=copy"
]; ];
"vno4-dome-ptz-high" = [ "vno4-dome-ptz-high" = [
#"ffmpeg:rtsp://localhost:8554/vno4-dome-ptz-orig#hardware=vaapi#video=h264#audio=copy" "ffmpeg:rtsp://localhost:8554/vno4-dome-ptz-orig#hardware=vaapi#video=h264#audio=copy"
"ffmpeg:rtsp://localhost:8554/vno4-dome-ptz-orig#hardware=vaapi#video=h264"
]; ];
"vno4-dome-ptz-low" = [ "vno4-dome-ptz-low" = [
#"ffmpeg:rtsp://localhost:8554/vno4-dome-ptz-orig#hardware=vaapi#video=h264#width=1280#audio=copy" "ffmpeg:rtsp://localhost:8554/vno4-dome-ptz-orig#hardware=vaapi#video=h264#width=1280#audio=copy"
"ffmpeg:rtsp://localhost:8554/vno4-dome-ptz-orig#hardware=vaapi#video=h264#width=1280"
]; ];
}; };
}; };
@ -201,14 +198,13 @@ in
ffmpeg = { ffmpeg = {
output_args = { output_args = {
record = "preset-record-generic-audio-copy"; record = "preset-record-generic-audio-copy";
#record = "preset-record-generic";
}; };
inputs = [ inputs = [
{ {
path = "rtsp://localhost:8554/vno4-dome-ptz-high"; path = "rtsp://localhost:8554/vno4-dome-ptz-high";
roles = [ roles = [
"record" "record"
#"audio" "audio"
]; ];
} }
{ {