Return-path: Received: from mx3.redhat.com (mx3.redhat.com [172.16.48.32]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m6HGXFmR008140 for ; Thu, 17 Jul 2008 12:33:15 -0400 Received: from smtp-vbr7.xs4all.nl (smtp-vbr7.xs4all.nl [194.109.24.27]) by mx3.redhat.com (8.13.8/8.13.8) with ESMTP id m6HGX3lj018559 for ; Thu, 17 Jul 2008 12:33:03 -0400 From: Hans Verkuil To: video4linux-list@redhat.com, rtos_q@yahoo.com Date: Thu, 17 Jul 2008 18:33:00 +0200 References: <566157.38298.qm@web59602.mail.ac4.yahoo.com> In-Reply-To: <566157.38298.qm@web59602.mail.ac4.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Disposition: inline Message-Id: <200807171833.00972.hverkuil@xs4all.nl> Content-Transfer-Encoding: 8bit Cc: Subject: Re: Question on V4L2 VBI operation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: video4linux-list-bounces@redhat.com Errors-To: video4linux-list-bounces@redhat.com List-ID: On Thursday 17 July 2008 18:25:07 Krish K wrote: > Thanks for the response.  I am trying to implement a video driver and > looking for information on how V4L2 expects the driver to provide > VBI: separately or embedded in the frame data. I have looked at the > V4L2 doucmentation; which is very good, but doesn't seem to > explicitly address this aspect. Hi Krish, Applications expect the VBI to come through the /dev/vbiX device and never as part of a video frame. While it is technically possible to deliver a video frame that includes the VBI data that preceeds it, in practice this is never used and I'm not even sure whether there is a driver that can do it. Regards, Hans >   > Thanks > Krish > > --- On Thu, 7/17/08, Markus Rechberger wrote: > > From: Markus Rechberger > Subject: Re: Question on V4L2 VBI operation > To: rtos_q@yahoo.com > Cc: video4linux-list@redhat.com > Date: Thursday, July 17, 2008, 3:26 PM > > Hi, > > On Thu, Jul 17, 2008 at 1:10 AM, Krish K wrote: > > Hello > > > > > > > > I am new to V4L2 and have a question on how V4L2 expects > > > > VBI data to be provided. > > > > > > > > It is not clear to me if the VBI data (CC, WSS, etc) can be > > > > embedded in the frame? If the video capture device does > > > > not provide the VBI data separately, should the driver > > > > extract it from the frame? Is this what drivers usually do? > > > > If the device provides VBI data separately (either in some > > > > registers or FIFO), then the driver should obtain this from > > > > the device for each frame? > > as usual this depends on the device. It is possible that eg. the raw > vbi data is seen ontop of the analog TV frames, with USB devices this > leads to some interesting thoughts. > For example if mmap is used with the vbi device and all usb buffers > are dequeued, the transfer mechanism still has to take care that the > incoming vbi data gets stripped off of the frame otherwise it might > show up in the video which is not too nice. > > Also depending on the device if the video gets scaled, it can easily > be that the VBI data remains at the full vbi data capture size. > I think a few drivers don't handle VBI correctly because it's not > used that widely, best is to stick with zvbi and documentation around > it, I tested alevt a while ago and it doesn't work with all devices > whereas libzvbi/zapping has a better chance. > > Markus > > > > -- > video4linux-list mailing list > Unsubscribe > mailto:video4linux-list-request@redhat.com?subjecthttps://www.redhat. >com/mailman/listinfo/video4linux-list -- video4linux-list mailing list Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe https://www.redhat.com/mailman/listinfo/video4linux-list