Re: Fwd: Panasonic DC-G100 detected as DC-GH5 but not working

Koen De Witte <[email protected]> Tue, 24 Oct 2023 20:50:33 +0200
Newsgroups gmane.comp.multimedia.gphoto.devel
Message-ID <CANVzcHjK4aHU=QPkVGYNG=C-NY0k6EVc54Cetp_vGKmovxC8kQ@mail.gmail.com>
Hi Marcus,
Forget my previous comment.
The procedure in the manual works like a charm!
For putting it into the video4linux system for use as a webcam, use
something like:

   - Get and install the v4l2loopback kernel driver for your distribution.
   e.g. in openSUSE it is in v4l2loopback-kmp-default, in Ubuntu it is in
   v4l2loopback-dkms
   - sudo modprobe v4l2loopback exclusive_caps=1 card_label="GPhoto2 Webcam"
   - Find out which /dev/videoX it is using, likely /dev/video1 with ls -la
   /dev/video*
   - Run the preview loop of gphoto2 into an ffmpeg filter that feeds input
   back to video4linux2:
   gphoto2 --stdout --capture-movie | ffmpeg -i - -vcodec rawvideo -pix_fmt
   yuv420p -threads 0 -f v4l2 /dev/video0
   - Start gnome "Cheese" and test the feed

best regards,
Koen.

On Tue, Oct 24, 2023 at 3:24 PM Marcus Meissner <[email protected]>
wrote:

> On Sun, Oct 22, 2023 at 05:16:56PM +0200, Koen De Witte wrote:
> > Hi,
> > Webcam mode indeed
> > I managed to create a pcap file from a zoom test meeting session.
> > Link to the file:
> > https://filetransfer.io/data-package/T02LPPGA#link
>
> Thanks...
>
> I looked over it and I think I implemented it already.
>
> Is
>
>         gphoto2 --capture-preview
>
> working?
>
> If not, can you run
>         gphoto2 --debug --debug-logfile=debug.log --capture-preview
>
> and mail me debug.log?
>
> Ciao, Marcus
>

_______________________________________________
Gphoto-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-devel