[FFmpeg-devel] [PATCH] avdevice/v4l2: add limited support for multiplanar API

Ramiro Polla ramiro.polla at gmail.com
Fri Jun 28 14:47:13 EEST 2024


On Thu, Jun 27, 2024 at 6:06 PM Anton Khirnov <anton at khirnov.net> wrote:
> Quoting Ramiro Polla (2024-06-27 16:13:24)
> > Is anyone fundamentally opposed to this approach to implement limited
> > support for multiplanar API? I figure it could still be useful even
> > when full multiplanar API support is implemented, because multiple
> > memory buffers per packet will likely mean memcpy()s, which can be
> > avoided if the plane count is one.
>
> Ideally this should be turned into a lavfi source, then multiple planes
> can be exported individually.

Good idea. Is there any kind of roadmap on how this conversion from
input device to source filter should take place, or is this something
that still lacks consensus?

I assume we want to keep the functionality from the command line (so
that "-i /dev/video0" would still use the lavfi source internally
somehow). Would the code be shared between libraries, or would it be
moved to lavfi and a wrapper written in lavd instead?


More information about the ffmpeg-devel mailing list