input-selector to switch between h264 streams?

Dušan Poizl poizl at maindata.sk
Thu Aug 14 05:35:23 PDT 2014


Moving input-selector after x264enc work. But what I want accoplish that
there will be multiple encoded streams and to be able switch between
them on the fly. Oh and with mpegtsmux it is working.

Dňa 14.08.2014 o 13:43 Stephane Croci napísal(a):
> Try to add videoconvert in order to 'adapt' capabilities
> videotestsrc ! videoconvert ! queue ! x264enc ! input-selector ! matroskamux
> ! filesink. 
>
> and maybe you should move x264enc after input-selector (in case you have
> several video sources)
> videotestsrc ! videoconvert ! queue ! input-selector  ! x264enc !
> matroskamux ! filesink. 
>
> Note: I encountered issues with this kind of pipeline when switching to next
> video source
> - either negotiation issue (appearing sometime)
> basesrc gstbasesrc.c:2933:gst_base_src_loop:<v_src_1> error: Internal data
> flow error.
> basesrc gstbasesrc.c:2933:gst_base_src_loop:<v_src_1> error: streaming task
> paused, reason not-negotiated (-4)
>
> - or no data output from new source  
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/input-selector-to-switch-between-h264-streams-tp4668297p4668301.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list