Quantcast
Viewing all articles
Browse latest Browse all 4867

Beginners • Re: PI OS Upgrade: Buster to Bookworm

fswebcam

Spent quite some time today messing with fswebcam trying to figure out this error:

Code:

Fri 15 Nov 15:40:05 +07 2024 KoratSky Camera Returned error 255Unknown argument: webp/home/pi/webcam/fswebcam.conf,15: webp 100
And then I remembered this thread that I started just over three years ago:

fswebcam on two different Pi4s - One has WebP support the other doesn't

[tl;dr - Even though both Pies were running the same version of fswebcam only one had webp support. I ended up solving that by building from GitHub.]

Unfortunately, apt still installs the same version that I had in 2021:

Code:

pi@sky:~/webcam $ sudo apt-cache show fswebcamPackage: fswebcamVersion: 20140113-2
But then there's this mystery:

Code:

pi@raspsky:~/webcam $ /usr/bin/fswebcam --versionfswebcam 20140113pi@raspsky:~/webcam $ /usr/bin/fswebcam -? | grep webp     --webp <factor>          Outputs a WEBP image. (-1, 0 - 100)pi@sky:~/webcam $ /usr/bin/fswebcam --versionfswebcam 20140113pi@sky:~/webcam $ /usr/bin/fswebcam -? | grep webppi@sky:~/webcam $
Raspsky is the target Pi 4 still running Buster
Sky is the machine I'm building now for Bookworm

Same version of ffmpeg. One can do webp, the other cannot.

So, to make things simple I'm just gonna use jpeg. File size is roughly similar so it doesn't make much difference.

Just an example of the rabbit holes I fall in while doing this upgrade.

Statistics: Posted by Ratsima — Fri Nov 15, 2024 9:36 am



Viewing all articles
Browse latest Browse all 4867

Trending Articles