I have an IP camera connected to the Raspberry Pi. I am using ffplay to display the camera through rtsp and it works.
But I can't make it start when X starts.
I tried several route:
rc.local
/etc/xdg/lxsession/LXDE/autostart
- And using a service as described in https://www.raspberrypi.com/tutorials/how-to-use-a-raspberry-pi-in-kiosk-mode/
Note that following that previous link, I can start chrome alright but impossible to see anything from ffplay. It runs in the background (I can see it hugging the CPU through top
) and no error message in the logs. But ffplay does not display any window. I tried delaying the start of ffplay with sleep but no luck.
Is there anything special about ffplay that makes it impossible to start? Any way out this bind?