All of lore.kernel.org
 help / color / mirror / Atom feed
* v4l2loopback and kernel-3.7
@ 2013-01-24 15:59 forum::für::umläute
  2013-01-24 16:36 ` forum::für::umläute
  2013-01-24 16:47 ` Hans Verkuil
  0 siblings, 2 replies; 3+ messages in thread
From: forum::für::umläute @ 2013-01-24 15:59 UTC (permalink / raw)
  To: linux-media

hi all,

i'm currently maintainer of the "v4l2loopback" device [1], a virtual
video device that allows applications to share video-streams via the
v4l2 API (each device being V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OUTPUT).

now (unfortunately for someone maintaining a driver) i have not been
following development of the linux-kernel very closely (mainly using
debian unstable kernels myself), but some of my users do.
it seems that with newer kernel-versions the functionality for
video-output modules have been somehow removed from the kernel (3.7.1
has been confirmed to make troubles, whereas 3.6.10 still works).

i'd like to inquire, what happened in/to the mainstream kernel, and
what's the supposed way to proceed for a virtual video device like mine.
(i naively ask the question here, as i'm a bit afraid of kernel-dev
mailing list :-))

what's more, if the v4l2-taskforce would be interested to take over a
kernel-module that - to my knowledge - is currently the only feasible
way on linux to exchange live video streams between applications, we
might talk about that :-)

fgasdmr
IOhannes




[1] https://github.com/umlaeute/v4l2loopback/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: v4l2loopback and kernel-3.7
  2013-01-24 15:59 v4l2loopback and kernel-3.7 forum::für::umläute
@ 2013-01-24 16:36 ` forum::für::umläute
  2013-01-24 16:47 ` Hans Verkuil
  1 sibling, 0 replies; 3+ messages in thread
From: forum::für::umläute @ 2013-01-24 16:36 UTC (permalink / raw)
  To: linux-media

On 2013-01-24 16:59, forum::für::umläute wrote:
> hi all,

just in case: please CC me, as i'm not subscribed to this list (yet).

gfadmsr
IOhannes

> 
> i'm currently maintainer of the "v4l2loopback" device [1], a virtual
> video device that allows applications to share video-streams via the
> v4l2 API (each device being V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OUTPUT).
> 
> now (unfortunately for someone maintaining a driver) i have not been
> following development of the linux-kernel very closely (mainly using
> debian unstable kernels myself), but some of my users do.
> it seems that with newer kernel-versions the functionality for
> video-output modules have been somehow removed from the kernel (3.7.1
> has been confirmed to make troubles, whereas 3.6.10 still works).
> 
> i'd like to inquire, what happened in/to the mainstream kernel, and
> what's the supposed way to proceed for a virtual video device like mine.
> (i naively ask the question here, as i'm a bit afraid of kernel-dev
> mailing list :-))
> 
> what's more, if the v4l2-taskforce would be interested to take over a
> kernel-module that - to my knowledge - is currently the only feasible
> way on linux to exchange live video streams between applications, we
> might talk about that :-)
> 
> fgasdmr
> IOhannes
> 
> 
> 
> 
> [1] https://github.com/umlaeute/v4l2loopback/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: v4l2loopback and kernel-3.7
  2013-01-24 15:59 v4l2loopback and kernel-3.7 forum::für::umläute
  2013-01-24 16:36 ` forum::für::umläute
@ 2013-01-24 16:47 ` Hans Verkuil
  1 sibling, 0 replies; 3+ messages in thread
From: Hans Verkuil @ 2013-01-24 16:47 UTC (permalink / raw)
  To: forum::für::umläute; +Cc: linux-media

On Thu January 24 2013 16:59:36 forum::für::umläute wrote:
> hi all,
> 
> i'm currently maintainer of the "v4l2loopback" device [1], a virtual
> video device that allows applications to share video-streams via the
> v4l2 API (each device being V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OUTPUT).
> 
> now (unfortunately for someone maintaining a driver) i have not been
> following development of the linux-kernel very closely (mainly using
> debian unstable kernels myself), but some of my users do.
> it seems that with newer kernel-versions the functionality for
> video-output modules have been somehow removed from the kernel (3.7.1
> has been confirmed to make troubles, whereas 3.6.10 still works).
> 
> i'd like to inquire, what happened in/to the mainstream kernel, and
> what's the supposed way to proceed for a virtual video device like mine.
> (i naively ask the question here, as i'm a bit afraid of kernel-dev
> mailing list :-))

In 3.7 the vfl_dir field was added to struct video_device. For output
devices this has to be set to VFL_DIR_TX. For devices that do both
capture and output it has to be set to VFL_DIR_M2M (memory-to-memory).
Otherwise the v4l2 core will assume that it is a capture device and
disable any output support.

> 
> what's more, if the v4l2-taskforce would be interested to take over a
> kernel-module that - to my knowledge - is currently the only feasible
> way on linux to exchange live video streams between applications, we
> might talk about that :-)

Personally I am all for that, but I know Mauro has (had?) reservations
about it. Looking at the code it would also be a fair amount of work
to get it ready for inclusion in the kernel.

Frankly, I wonder if much of the functionality isn't already part of the
mem2mem_testdev driver.

Regards,

	Hans

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-01-24 16:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-24 15:59 v4l2loopback and kernel-3.7 forum::für::umläute
2013-01-24 16:36 ` forum::für::umläute
2013-01-24 16:47 ` Hans Verkuil

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.