Where are you installing the "PyCam2" package from?
I have a Pi4 (2GB) with a V2 camera module attached set to stream a video on startup. I use this service fileBoot the pi then on a windows PC use VLC to open the Network Stream On a separate pi I run a python script using: I use the full path to the python in the venv - python magically knows to use that venv
I have a Pi4 (2GB) with a V2 camera module attached set to stream a video on startup. I use this service file
Code:
[Unit]Description=Run Pi Camera as WebcamAfter=network.target[Service]Type=simpleUser=piRestart=on-failureExecStart=rpicam-vid -n -t 0 --inline --listen -o tcp://0.0.0.0:4567[Install]WantedBy=default.targe
Code:
tcp/h264://192.168.1.174:4567
Code:
ExecStart=/home/pi/my_project/env/bin/python /home/pi/my_project/blink.py
Statistics: Posted by neilgl — Fri Jan 10, 2025 11:59 am