Closed robotastic closed 4 years ago
It looks like removing ! autovideosink
from gstreamer.py solves that issue, but then you lose the preview window when you do have a monitor attached. There is probably a more flexible approach... I am just not sure what it is. Probably detecting if a monitor is attached and then configuring the pipeline appropriately.
I am trying to get a headless version up and running. If I connect over VNC, I am able to start things up and it works great. However, if I set it to run automatically using rc.local, I get the error below. I tested this by SSHing to it. I have done a
chmod
on run.sh. I am using a RPi4 and the prebuilt image from here.Same command run through a VNC connection: