В Срд, 15/11/2006 в 10:18 +0100, Hans Verkuil пишет: > > Hello all, > > > > I've encountered a pbroblem while trying to play GoTView DVD2 Deluxe > > tuner output through the xine v4lts plugin. > > The read call from /dev/video32 works fine but the YUV format it > > supplies does not coinsides with NV12 (moreover, ivtv device responces > > V4L2_PIX_FMT_UYVY on VIDIOC_G_FMT ioctl, but it is not true). > > Oops, that's a bug. It now returns V4L2_PIX_FMT_HM12 (that's for > ivtv-0.8). Just committed the changes.
Thanks. I'll try the trunk version. > > > The algorithm, implemented in ivtv_YUV_fixup function should give the > > frame in NV12 format in read buffer, but using yuv_fixup driver param > > hangs up the system. The exact place of hang in this function is hard to > > detect. Does yuv_fixup really work? > > No, it doesn't work. If I'm not mistaken I've removed that option in the > development version of ivtv in the trunk. > > I am still not sure whether it is a good idea to do the conversion in the > driver. The v4l2 guidelines say I shouldn't. The HM12 format is now also > an official v4l2 pix format and is documented. > Good news! I think so, the conversion to common YUV formats shouldn't be in driver. User-space conversion of a frame as whole is more straightforward and clear. It's a subject of the xine input plugin patch. -- Best regards, Nikita Vinokurov > Regards, > > Hans > > > > > If anybody have the same problem I can participate in solution. > > > > -- > > Best Regards, > > Nikita Vinokurov > > Project Manager > > ASPLinux > > http://www.asplinux.ru > > > > > > _______________________________________________ > > ivtv-devel mailing list > > [email protected] > > http://ivtvdriver.org/mailman/listinfo/ivtv-devel > > > > _______________________________________________ ivtv-devel mailing list [email protected] http://ivtvdriver.org/mailman/listinfo/ivtv-devel
