public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
* v4l2 and skype
@ 2009-02-11 18:42 vasaka
  2009-02-12 18:42 ` Jean-Francois Moine
  0 siblings, 1 reply; 4+ messages in thread
From: vasaka @ 2009-02-11 18:42 UTC (permalink / raw)
  To: video4linux-list

hello, I am writing v4l2 loopback driver and now it is at working
stage. for now it can feed mplayer and luvcview, but silently fails
with skype it just shows green screen while buffer rotation is going
on. can you help me with debug? I think I missing small and obvious
detail. Is there something special about skype way of working with
v4l2?

loopback is here:
http://code.google.com/p/v4l2loopback/source/checkout
I am feeding it with this app
http://code.google.com/p/v4lsink/source/checkout
this is the simple gstreamer app which takes data from /dev/video0 and
puts it to /dev/video1 which should be my loopback device.
--
Vasily Levin

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

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

* Re: v4l2 and skype
  2009-02-11 18:42 v4l2 and skype vasaka
@ 2009-02-12 18:42 ` Jean-Francois Moine
  2009-02-12 20:06   ` vasaka
  0 siblings, 1 reply; 4+ messages in thread
From: Jean-Francois Moine @ 2009-02-12 18:42 UTC (permalink / raw)
  To: video4linux-list; +Cc: Linux Media

On Wed, 11 Feb 2009 20:42:07 +0200
vasaka@gmail.com wrote:

> hello, I am writing v4l2 loopback driver and now it is at working
> stage. for now it can feed mplayer and luvcview, but silently fails
> with skype it just shows green screen while buffer rotation is going
> on. can you help me with debug? I think I missing small and obvious
> detail. Is there something special about skype way of working with
> v4l2?

Hello Vasily,

I think skype is not v4l2. Also, I don't know about the frames you send
to it, but I know it does not understand JPEG.

> loopback is here:
> http://code.google.com/p/v4l2loopback/source/checkout
> I am feeding it with this app
> http://code.google.com/p/v4lsink/source/checkout
> this is the simple gstreamer app which takes data from /dev/video0 and
> puts it to /dev/video1 which should be my loopback device.

I did not look at your code, but it may be interesting for usermode
drivers...

BTW, don't use the video4linux-list@redhat.com mailing list. The new
list is in the Cc: field.

Regards.

-- 
Ken ar c'hentañ	|	      ** Breizh ha Linux atav! **
Jef		|		http://moinejf.free.fr/

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

* Re: v4l2 and skype
  2009-02-12 18:42 ` Jean-Francois Moine
@ 2009-02-12 20:06   ` vasaka
  2009-02-18 18:04     ` vasaka
  0 siblings, 1 reply; 4+ messages in thread
From: vasaka @ 2009-02-12 20:06 UTC (permalink / raw)
  To: Jean-Francois Moine; +Cc: Linux Media

On Thu, Feb 12, 2009 at 8:42 PM, Jean-Francois Moine <moinejf@free.fr> wrote:
> On Wed, 11 Feb 2009 20:42:07 +0200
> vasaka@gmail.com wrote:
>
>> hello, I am writing v4l2 loopback driver and now it is at working
>> stage. for now it can feed mplayer and luvcview, but silently fails
>> with skype it just shows green screen while buffer rotation is going
>> on. can you help me with debug? I think I missing small and obvious
>> detail. Is there something special about skype way of working with
>> v4l2?
>
> Hello Vasily,
>
> I think skype is not v4l2. Also, I don't know about the frames you send
> to it, but I know it does not understand JPEG.

I started writing this driver just because Skype does not understand
existing v4l loopback drivers and understands uvcvideo, which is pure
v4l2 driver. I am sending to Skype raw yuv frames, also tryed just
random generated Images and skype is just shows green rectangle.
>
>> loopback is here:
>> http://code.google.com/p/v4l2loopback/source/checkout
>> I am feeding it with this app
>> http://code.google.com/p/v4lsink/source/checkout
>> this is the simple gstreamer app which takes data from /dev/video0 and
>> puts it to /dev/video1 which should be my loopback device.
>
> I did not look at your code, but it may be interesting for usermode
> drivers...
>
> BTW, don't use the video4linux-list@redhat.com mailing list. The new
> list is in the Cc: field.
>
> Regards.
>
> --
> Ken ar c'hentañ |             ** Breizh ha Linux atav! **
> Jef             |               http://moinejf.free.fr/
>
> --
> video4linux-list mailing list
> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/video4linux-list
>

Vasily Levin

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

* Re: v4l2 and skype
  2009-02-12 20:06   ` vasaka
@ 2009-02-18 18:04     ` vasaka
  0 siblings, 0 replies; 4+ messages in thread
From: vasaka @ 2009-02-18 18:04 UTC (permalink / raw)
  To: Jean-Francois Moine; +Cc: Linux Media

On Thu, Feb 12, 2009 at 10:06 PM,  <vasaka@gmail.com> wrote:
> On Thu, Feb 12, 2009 at 8:42 PM, Jean-Francois Moine <moinejf@free.fr> wrote:
>> On Wed, 11 Feb 2009 20:42:07 +0200
>> vasaka@gmail.com wrote:
>>
>>> hello, I am writing v4l2 loopback driver and now it is at working
>>> stage. for now it can feed mplayer and luvcview, but silently fails
>>> with skype it just shows green screen while buffer rotation is going
>>> on. can you help me with debug? I think I missing small and obvious
>>> detail. Is there something special about skype way of working with
>>> v4l2?
>>
>> Hello Vasily,
>>
>> I think skype is not v4l2. Also, I don't know about the frames you send
>> to it, but I know it does not understand JPEG.
>
> I started writing this driver just because Skype does not understand
> existing v4l loopback drivers and understands uvcvideo, which is pure
> v4l2 driver. I am sending to Skype raw yuv frames, also tryed just
> random generated Images and skype is just shows green rectangle.
>>
>>> loopback is here:
>>> http://code.google.com/p/v4l2loopback/source/checkout
>>> I am feeding it with this app
>>> http://code.google.com/p/v4lsink/source/checkout
>>> this is the simple gstreamer app which takes data from /dev/video0 and
>>> puts it to /dev/video1 which should be my loopback device.
>>
>> I did not look at your code, but it may be interesting for usermode
>> drivers...
>>
>> BTW, don't use the video4linux-list@redhat.com mailing list. The new
>> list is in the Cc: field.
>>
>> Regards.
>>
>> --
>> Ken ar c'hentañ |             ** Breizh ha Linux atav! **
>> Jef             |               http://moinejf.free.fr/
>>
>> --
>> video4linux-list mailing list
>> Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/video4linux-list
>>
>
> Vasily Levin
>
I maneged to make it work :-) skype seems to do some checks on sanity
of image it gets, so testing it with just noise does not work.

do you need loopback driver in kernel? I am willing to make it good
enough to pass in.

--
Vasily Levin

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

end of thread, other threads:[~2009-02-18 18:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-11 18:42 v4l2 and skype vasaka
2009-02-12 18:42 ` Jean-Francois Moine
2009-02-12 20:06   ` vasaka
2009-02-18 18:04     ` vasaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox