[libcamera-devel] libcamera on pinephone

Laurent Pinchart laurent.pinchart at ideasonboard.com
Mon Jun 20 13:17:45 CEST 2022


On Mon, Jun 20, 2022 at 11:07:18AM +0200, Pavel Machek wrote:
> > > Yes, cam does that.
> > 
> > `cam -l` to list cameras
> > `cam -c 1 -C 10` to capture 10 frames from the first camera
> 
> Heh, that one does not work:
> 
> mobian at mobian:~/g/libcamera$ build/src/cam/cam -c 1 -C 10
> Invalid non-option argument '10'
> 
> It attempts to work with long option:
> 
> $ build/src/cam/cam -c 1 --capture=10
> 
> Sounds like problem in argument parsing?

Sorry, I meant -C10. The count is optional so for short arguments it has
to be specified without any space.

-- 
Regards,

Laurent Pinchart


More information about the libcamera-devel mailing list