Open courageon opened 3 years ago
Im interested to know if this was ever resolved. Having similar issue with my application. One trick to improve performance is to switch the raw stream to RGBA. This has a performance benefit over RGB due to the way the encoder operates.
If it is the case that outputting the raw stream in addition throttles performance; then it would be really useful to find out if there is an easy-ish way to tap raw frames off before the encoding stage (ie one encoder with two outputs).
Any thoughts appreciated!
I've got a project where I'm trying to record high-res h264 encoded video while at the same time do some image processing on a second, downsized rgb stream. I'm capturing the hi-res at the highest full-frame resolution supported by V2 camera, 1640x1232 at 30 fps with a baseline profile, which seems to capture at the 30 fps mark (according to timing metrics in my code). However, I'm opening up a second stream with rgb format on splitter_port 2 with a resize of 640x480 and I'm finding at best, with zero extra processing going on, I get ~15 fps out of that stream. Any ideas as to what's going on or what I'm doing wrong?
Seeing this on both a RPi3 and RPi4 with the V2 camera module, both NoIR and IR versions.