Dear Maxim,
I haven't tested it yet, but I appreciate your competent answer, as usal.

I'll be back to share my experiences as I think this might be useful for
others too.
Best regards K

Am So., 20. Okt. 2024 um 07:50 Uhr schrieb Maxim Solodovnik <
solomax...@gmail.com>:

> Hello K.
>
> sorry for the late response :(
>
> Here are the steps I was able to found for Ubuntu:
>
> #### Create fake video device
> ```
> sudo modprobe v4l2loopback max_buffers=2 devices=1 video_nr=21
> exclusive_caps=1 card_label="Virtual Webcam"
> ```
>
> #### Create stream from **Image**
> ```
> sudo ffmpeg -stream_loop -1 -re -i
> ~/Downloads/om/img/IMG_20210207_135607.jpg -pix_fmt yuv420p -vcodec
> rawvideo -f v4l2 /dev/video21
> ```
>
> #### Create stream from **Video**
> ```
> sudo ffmpeg -stream_loop -1 -re -i ~/Downloads/om/video/Avengers2.mp4
> -pix_fmt yuv420p -vcodec rawvideo -f v4l2 /dev/video21
> ```
>
> #### Clean everything up
>
> 1. Stop ffmpeg process
> 2. `sudo modprobe -r v4l2loopback`
>
>
> Will update documentation with these steps with next release
>
> On Tue, 15 Oct 2024 at 18:10, K. Kamhamea <kamha...@googlemail.com> wrote:
> >
> > Is there a way to stream the pictures taken by a camera instead of a
> presentation to the user. I mean not just a little icon like picture from
> the local camera but full screen and only in one direction.
> >
> > Or are there alternative solutions available that better suite that
> purpose?
> >
> > K.
>
>
>
> --
> Best regards,
> Maxim
>

Reply via email to