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