Add support of RGB/BGR/UYVY format with waylandsink

kishan kishan.patel at jenextech.com
Sat Sep 22 10:40:03 UTC 2018


Hello,
        I have add support of RGB/BGR and UYVY formats for VPE. Then i can
convert raw data into these formats and i can save file using filesink. But
when try to use waylandsink, it could not working. Please check the pipeline
and debug-log as below:

Pipeline:
======
gst-launch-1.0 --gst-debug="*CAPS*:7" -v rtspsrc
location=rtsp://888888:888888@192.168.1.6:554 ! rtph264depay ! h264parse !
ducatih264dec ! vpe ! 'video/x-raw, format=(string)RGB, width=(int)640,
height=(int)480' ! waylandsink

gst-launch-1.0 --gst-debug="*CAPS*:7" -v rtspsrc
location=rtsp://888888:888888@192.168.1.6:554 ! rtph264depay ! h264parse !
ducatih264dec ! vpe ! 'video/x-raw, format=(string)BGR, width=(int)640,
height=(int)480' ! waylandsink

gst-launch-1.0 --gst-debug="*CAPS*:7" -v rtspsrc
location=rtsp://888888:888888@192.168.1.6:554 ! rtph264depay ! h264parse !
ducatih264dec ! vpe ! 'video/x-raw, format=(string)UYVY, width=(int)640,
height=(int)480' ! waylandsink


Debug-log:
=========
0:00:01.187758839  2192   0x1950f0 DEBUG               GST_CAPS
gstutils.c:3032:gst_pad_peer_query_caps:<capsfilter0:src> peer query
returned EMPTY
0:00:01.187891086  2192   0x1950f0 TRACE               GST_CAPS
gstcaps.c:217:_gst_caps_free: freeing caps 0xb4f076f0
0:00:01.188041063  2192   0x1950f0 TRACE               GST_CAPS
gstcaps.c:258:gst_caps_new_empty: created caps 0xb4f07768
0:00:01.188199661  2192   0x1950f0 TRACE               GST_CAPS
gstcaps.c:217:_gst_caps_free: freeing caps 0xb4f07768
0:00:01.188323937  2192   0x1950f0 TRACE               GST_CAPS
gstcaps.c:217:_gst_caps_free: freeing caps 0xb4f07740
0:00:01.188457160  2192   0x1950f0 DEBUG               GST_CAPS
gstpad.c:2793:gst_pad_get_allowed_caps:<vpe0:src> allowed caps EMPTY

(gst-launch-1.0:2192): GStreamer-CRITICAL **: gst_caps_get_structure:
assertion 'index < GST_CAPS_LEN (caps)' failed

(gst-launch-1.0:2192): GStreamer-CRITICAL **: gst_structure_get_string:
assertion 'structure != NULL' failed

Regards,
Kishan Patel.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list