I'm amazed there isn't more action on this thread, I've been chasing down the answer to this question for months.
I stream from a Pi Camera (CSI) to a Janus server, and I found the best pipeline is
gst-launch-1.0 v4l2src ! video/x-h264, width=$width, height=$height, framerate=$framerate/1 ! h264parse ! rtph264pay config-interval=1 pt=96 ! udpsink sync=...
Is there a reason why you want to stream via your Python script, as opposed to streaming to VLC directly?
[socket] -> Python -> [pipe] -> VLC
[socket] -> VLC
You just add another interface (a pipe between Python and VLC) which adds some delay and jitter and doesn't seem to do any useful processing. Especially since you seem to read ...
It will be enough, but the performance will depend on the codec used:
HEVC, H.265 and H.264 are supported in hardware, so those will offer the best performance with a compatible video player such as VLC.
Older formats such as MPEG-2 are decoded in software, which is fine in most cases. Videos with high bitrates (such as Blu-ray) will result in significant ...
It is very good question, on rpi 1-2-3 i use special license keys to unlock hardware ecoding MPEG-2 and VC-1. But on rpi4 hardware decoding of MPEG-2 and VC-1 not supported.
In Debian I wasn't able to get this to work with another directory other than the home directory of the motion process, specified in /etc/passwd , indifferent of permissions
I had to mount --bind /home/storage/videos /var/lib/motion in order to mount another drive in the home dir of the motion process.
To me, without digging in the code, this looks like a ...
There are dozens of posts (on this and other sites) explaining why rc.local is unsuitable for starting tasks on a modern systemd distribution.
Rather than reposting you should search them yourself.
There are many factors to consider, and unfortunately there seems to be no single guide which covers them all.
You could start with You could start with rc-...