HI all:
Just now we want to use the videomixer plugin to stitching the video
out board is a custom board and the processor sdk is 3.0.
below is my test command but it will be error.
gst-launch-1.0 -v --gst-debug=3 videomixer name=mix ! vpe ! 'video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, framerate=(fraction)60/1' ! kmssink \
videotestsrc pattern=13 ! 'video/x-raw, format=(string)YUY2, width=(int)200, height=(int)100, framerate=(fraction)60/1' ! mix. \
videotestsrc pattern=18 ! 'video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)60/1' ! mix.
please see the debug info
Setting pipeline to PAUSED ...
0:00:00.087328739 1222 0x11d4f0 FIXME default ../../gstreamer-1.2.3/gst/gstutils.c:3648:gst_pad_create_stream_id_printf_valist:<videotestsrc1:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc1.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)60/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
0:00:00.088832429 1222 0x11d490 FIXME default ../../gstreamer-1.2.3/gst/gstutils.c:3648:gst_pad_create_stream_id_printf_valist:<videotestsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)200, height=(int)100, framerate=(fraction)60/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter2.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)200, height=(int)100, framerate=(fraction)60/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstVideoMixer2:mix.GstVideoMixer2Pad:sink_1: caps = video/x-raw, format=(string)YUY2, width=(int)200, height=(int)100, framerate=(fraction)60/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter2.GstPad:sink: caps = video/x-raw, format=(string)YUY2, width=(int)200, height=(int)100, framerate=(fraction)60/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)60/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstVideoMixer2:mix.GstVideoMixer2Pad:sink_0: caps = video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)60/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
/GstPipeline:pipeline0/GstCapsFilter:capsfilter0.GstPad:sink: caps = video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, framerate=(fraction)60/1, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive
0:00:00.091678933 1222 0x11d4f0 WARN default ../../../../gst-plugins-base-1.2.3/gst-libs/gst/video/gstvideopool.c:171:video_buffer_pool_set_config:<videobufferpool0> no caps in config
0:00:00.097244085 1222 0x11d490 WARN default ../../../../gst-plugins-base-1.2.3/gst-libs/gst/video/gstvideopool.c:171:video_buffer_pool_set_config:<videobufferpool1> no caps in config
0:00:00.104769045 1222 0x11d4f0 FIXME basesink ../../../../gstreamer-1.2.3/libs/gst/base/gstbasesink.c:3022:gst_base_sink_default_event:<kmssink0> stream-start event without group-id. Consider implementing group-id handling in the upstream elements
/GstPipeline:pipeline0/GstVideoMixer2:mix.GstPad:src: caps = video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)60/1
/GstPipeline:pipeline0/GstVpe:vpe0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1
/GstPipeline:pipeline0/GstKMSSink:kmssink0.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1
/GstPipeline:pipeline0/GstVpe:vpe0.GstPad:sink: caps = video/x-raw, format=(string)YUY2, width=(int)640, height=(int)480, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, colorimetry=(string)bt601, framerate=(fraction)60/1
/GstPipeline:pipeline0/GstVpe:vpe0.GstPad:src: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1
/GstPipeline:pipeline0/GstCapsFilter:capsfilter1.GstPad:sink: caps = video/x-raw, format=(string)NV12, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)60/1
0:00:00.436284036 1222 0x11d4f0 WARN vpe gstvpe.c:847:gst_vpe_chain:<vpe0> This plugin does not support buffers not allocated by self 0xb550b168
0:00:00.446613207 1222 0x11d4f0 WARN vpe gstvpe.c:847:gst_vpe_chain:<vpe0> This plugin does not support buffers not allocated by self 0xb550b2a8
0:00:00.455998098 1222 0x11d4f0 WARN vpe gstvpe.c:847:gst_vpe_chain:<vpe0> This plugin does not support buffers not allocated by self 0xb550b348
0:00:00.465348666 1222 0x11d4f0 WARN vpe gstvpe.c:847:gst_vpe_chain:<vpe0> This plugin does not support buffers not allocated by self 0xb550b3e8
Thanks you