Hi Steven,

On Wed, 2002-06-05 at 05:51, Steven Ellis wrote:
> Trying to test a driver for the tw98 chipset which
> produces YUV422 output. At the moment if I use xawtv I
> get a b&w picture. I need a capture/preview tool that
> supports its native YUV422 format.

Not too many. Most tools use yuv420-planar.

You can capture to raw yuv422 frame files using xawtv. Some time ago,
someone asked me to write a raw-yuv422-to-yuv4mpeg2 convertor
(mjpegtools uses yuv4mpeg2), downloadable at
http://ronald.bitfreak.net/download/yuv422toy4m2.c if you're interested.
It doesn't do 100% correct yuv conversion (not gonna go into the cruel
details here ;-) ), but it works. It works as simple as "yuv422toy4m2
file.yuv | yuvplay/mpeg2enc/yuv2divx" (mjpegtools programs).

> My only option is to hack the driver to produce a
> supported format for now and remove it for kernel
> submission.

That's evil! Just don't do it. ;-).

Ronald

-- 
-   .-.
-   /V\    | Ronald Bultje <[EMAIL PROTECTED]>
-  // \\   | Running: Linux 2.4.18-XFS and OpenBSD 3.0
- /(   )\  | http://ronald.bitfreak.net/
-  ^^-^^



_______________________________________________
Video4linux-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/video4linux-list

Reply via email to