Pipeline for three inputs

iron_guitarist1987 jtrinidadperez at gmail.com
Mon Jul 9 13:04:56 PDT 2012


I created a plugin that takes in three videos. The pads are static always
pads. My question is what would be the correct pipeline to run this. For two
inputs I have:

    gst-launch -v videotestsrc ! multivideos name=s ! ffmpegcolorspace !
ximagesink videotestsrc ! s.

Would this be good for three inputs?

    gst-launch -v videotestsrc ! multivideos name=s ! ffmpegcolorspace !
ximagesink videotestsrc videotestsrc! s.

With this pipeline, I'm getting the error below. Is this the wrong pipeline,
or could something be wrong with the code.

$ gst-launch -v videotestsrc ! multivideos name=s ! ffmpegcolorspace !
ximagesink videotestsrc videotestsrc! s.
Setting pipeline to PAUSED ...
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc2.GstPad:src: caps =
video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321,
red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216,
width=(int)320, height=(int)240, framerate=(fraction)30/1,
pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps =
video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321,
red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216,
width=(int)320, height=(int)240, framerate=(fraction)30/1,
pixel-aspect-ratio=(fraction)1/1
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc1.GstPad:src: caps =
video/x-raw-yuv, format=(fourcc)YUY2, color-matrix=(string)sdtv,
chroma-site=(string)mpeg2, width=(int)320, height=(int)240,
framerate=(fraction)30/1
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc1.GstPad:src: caps =
video/x-raw-yuv, format=(fourcc)YUY2, color-matrix=(string)sdtv,
chroma-site=(string)mpeg2, width=(int)320, height=(int)240,
framerate=(fraction)30/1
Pipeline is PREROLLING ...
/GstPipeline:pipeline0/GstMULTIVIDEO:s.GstPad:video_sink2: caps =
video/x-raw-rgb, bpp=(int)32, depth=(int)24, endianness=(int)4321,
red_mask=(int)65280, green_mask=(int)16711680, blue_mask=(int)-16777216,
width=(int)320, height=(int)240, framerate=(fraction)30/1,
pixel-aspect-ratio=(fraction)1/1
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc1:
Internal data flow error.
Additional debug info:
gstbasesrc.c(2582): gst_base_src_loop ():
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc1:
streaming task paused, reason not-linked (-1)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
/GstPipeline:pipeline0/GstMULTIVIDEO:s.GstPad:video_sink3: caps = NULL
/GstPipeline:pipeline0/GstMULTIVIDEO:s.GstPad:video_sink2: caps = NULL
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc2.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc1.GstPad:src: caps = NULL
Freeing pipeline ...


Thank you

-----
The greatest trick the devil ever pulled was convincing the World that Java was better than C++.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Pipeline-for-three-inputs-tp4655547.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list