Are you running that python in a "virtual environment" or not?
(I assume the Pi5 is running Bookworm 64-bit)
There does not seem to be any error handling (try:) when opening the .jpg or .mp4, so maybe a file not found error is happening.
Also presumably we have pip installed the vlc library into the venv?
(I assume the Pi5 is running Bookworm 64-bit)
There does not seem to be any error handling (try:) when opening the .jpg or .mp4, so maybe a file not found error is happening.
Also presumably we have pip installed the vlc library into the venv?
Code:
pip install python-vlcStatistics: Posted by neilgl — Mon Jan 27, 2025 10:37 am