input-selector to switch between h264 streams?

Dušan Poizl poizl at maindata.sk
Wed Aug 13 14:42:21 PDT 2014


I tried make simple pipeline. videotestsrc ! x264enc ! input-selector !
matroskamux ! filesink.

But it end up with error not negotiated.

INFO               GST_EVENT gstevent.c:628:gst_event_new_caps: creating
caps event video/x-h264, stream-format=(string)byte-stream,
alignment=(string)au, level=(string)2, profile=(string)high,
width=(int)320, height=(int)240, pixel-aspect-ratio=(fraction)1/1,
framerate=(fraction)30/1
/GstPipeline:pipeline0/GstX264Enc:x264enc0.GstPad:src: caps =
video/x-h264, stream-format=(string)byte-stream, alignment=(string)au,
level=(string)2, profile=(string)high, width=(int)320, height=(int)240,
pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1
WARN                GST_PADS
gstpad.c:3669:gst_pad_peer_query:<x264enc0:src> could not send sticky events
WARN                 basesrc
gstbasesrc.c:2865:gst_base_src_loop:<videotestsrc0> error: Internal data
flow error.
WARN                 basesrc
gstbasesrc.c:2865:gst_base_src_loop:<videotestsrc0> error: streaming
task paused, reason not-negotiated (-4)
INFO        GST_ERROR_SYSTEM
gstelement.c:1835:gst_element_message_full:<videotestsrc0> posting
message: Internal data flow error.

can be input selector used to switch between multiple h264 streams?


More information about the gstreamer-devel mailing list