Input_args: -avoid_negative_ts make_zero -fflags +genpts+discardcorrupt -rtsp_transport tcp -stimeout 5000000 -use_wallclock_as_timestamps 1 -r 20/1 -vsync vfrĭetect: "-vf fps=5,scale_vaapi=w=1280:h=720 -c:v h264_vaapi -an -pix_fmt yuv420p -f rawvideo"īasically adding -r 20/1 and -vsync vfr, in addition to the detect output args. I've already setup a transcoding service infront of Frigate but this feels awfully reduntant and clunky. As a sidenote, the reason for wanting to use a single stream is to make setup easier, and to avoid being blocked by crappy substreams that are not good enough for object detection. This would significantly reduce the load when using a single high resolution stream. If we could have a variables like the existing ones for ffmpeg, I could replace the scaling with something like -vf 'fps=5,scale_vaapi=w=1280:h=720' -c:v h264_vaapi. I want to have one high resolution stream as my only input and have it scaled for the detect stream (and optionally rtmp stream) using hardware accelerationĬurrently the detect stream will get -r -s x prepended to it's output arguments, this makes it impossible to do the resizing using hardware acceleration as these options are incompatible with the options for hardware accellerated scaling. Describe what you are trying to accomplish and why in non technical terms
0 Comments
Leave a Reply. |