[FFmpeg-user] Virtual camera

Simon Brown simon.k.brown at gmail.com
Sat Jul 11 00:16:31 EEST 2020


On Fri, 10 Jul 2020 at 21:19, Moritz Barsnick <barsnick at gmx.net> wrote:

> On Thu, Jul 09, 2020 at 13:38:27 +0100, Simon Brown wrote:
> > I was wondering if there is any way to use FFmpeg to create a virtual
> > camera for a PC/Mac from an H264 stream source.  I know FFmpeg can use
> > directshow as an input device.
>
> On Linux, the v4l2loopback device can be used to do this, I have had
> success with this. I have also read of akvcam, but not tested it.
>
> The latter is a project by webcamoid, which is also implemented for Mac
> and Windows. Perhaps it's worth looking what technology they use on
> those two platforms, as those were the ones you named. Under Windows
> it's probably a DirectShow filter.
>
> If you use webcamoid directly, it's no longer ffmpeg though:
> https://github.com/webcamoid/webcamoid/wiki/Virtual-camera-support
>
> Cheers,
> Moritz
>
> Thanks for all the suggestions, tried webcamoid earlier today and the lag
was enormous (15 seconds?) so not sure that's a solution.
I'll test out some of the other suggestions and go from there.  If I find a
workable solution I'll post back here.

Cheers,
Simon


More information about the ffmpeg-user mailing list