From: Jens T. <ka...@un...> - 2001-02-24 20:20:59
|
i started to play around with gstreamer and wanted to test a simple video display i just changed the test/videotest.c (kicked off the tee and only one display) it starts fine (the v4l module is loaded) but then complaints: INFO:gst_buffer_new:57: creating new buffer 0x80bdc90 gst_colorspace: conversion not supported 3 6 gst_colorspace: conversion not implemented gst_colorspace: conversion not supported 3 6 gst_colorspace: conversion not implemented gst_colorspace: conversion not supported 3 4 gst_colorspace: conversion not implemented videosink: cannot convert 3 to 4 i looked into gstcolorspace because i thought there is just a colorspace converter missing and i could write it, but in the header you define typedef enum { GST_COLORSPACE_RGB555, GST_COLORSPACE_BGR555, GST_COLORSPACE_RGB565, GST_COLORSPACE_BGR565, GST_COLORSPACE_RGB24, GST_COLORSPACE_BGR24, GST_COLORSPACE_RGB32, GST_COLORSPACE_BGR32, GST_COLORSPACE_YUV420, GST_COLORSPACE_YUV420P, GST_COLORSPACE_YUV422, GST_COLORSPACE_YUV422P } GstColorSpaceType; what I don't understand is why you have some entries twice according to the log it should be converted from GST_COLORSPACE_RGB565 to one of GST_COLORSPACE_BGR565, GST_COLORSPACE_RGB24, GST_COLORSPACE_BGR24, at least the identity if it is thought like this should work but i just don't understand why you have some entries twice means GST_COLORSPACE_BGR565 5 bit blue 6bit green 5bit red and 16bpp ? additional info: my x screen depth is: depths (1): 24 and the v4lsrc detection reports: v4lsrc: opening v4l: open v4l: device is BT878(Hauppauge new (bt878)) v4l: capabilities: capture tuner overlay clipping frameram scales v4l: channels: 4 v4l: Television: 1 tuner audio tv v4l: Composite1: 0 audio camera v4l: S-Video: 0 audio camera v4l: Composite3: 0 audio camera v4l: audios : 1 v4l: 4 (TV): muted=yes volume=65535 bass=32768 treble=32768 v4l: size : 32x32 => 924x576 v4l: tuner : Television 0-4294967295 PAL NTSC SECAM v4l: fbuffer : base=0x0xe0000000 size=1024x768 depth=32 bpl=4096 v4l: picture : brightness=32768 hue=32768 colour=32768 contrast=32768 v4l: picture : whiteness=0 depth=32 palette=rgb32 v4l: capture probe rgb16... ok bye karme |