Monochrome video codec

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Monochrome video codec

pfarmer
Hello,
Is there any mono-chromatic (luminace only, gray-scale) video codec available in any of the GStreamer plug-ins?

For the moment i tried the codecs for which there is a rtp-payloader. This includes the following:

video/x-dv ffenc_dvvideo / ffdec_dvvideo
video/mpeg v2 ffenc_mpeg2video / ffdec_mpeg2video; mpeg2enc / mpeg2dec
video/mpeg v4 ffenc_mpeg4 / ffdec_mpeg4
video/x-xvid xvidenc / xviddec
video/x-h263 ffenc_h263 / ffdec_h263
video/x-h263 + ffenc_h263p / ffdec_h263
video/x-h264 x264enc / ffdec_h264
video/x-theora theoraenc / theoradec

those which can be placed into a container format for which there is a rtp-payloader. The container are:

video/x-ms-asf (Container format) asfmux / asfdemux
video/mpegts (Container format) mpegtsmux / mpegtsdemux;

And the codecs therefore are:
video/x-wmv   ffenc_wmv1 / ffdec_wmv1
video/x-wmv   ffenc_wmv2 / ffdec_wmv2
video/x-dirac   diracenc / schrodec

Some of the encoder capabilities say (from gst-inspect $encoder ) that they accept video/x-raw-gray. But i could not find any where this was working. The test launch lines were like the following:

$ gst-launch videotestsrc ! videoparse format=17 ! videoscale ! theoraenc ! fakesink -v

Did I made a mistake?