gstreamer shmsrc and shmsink with h264 data
anjo
anjojohn05 at gmail.com
Thu Oct 27 03:52:36 UTC 2016
i am trying to share an h264 encoded data from gstreamer to another two
processes(both are based on gstreamer).After some research only way i found
is to use the shm plugin. this is what i am trying to do
gstreamer--->h264 encoder--->shmsink
shmrc--->process1
shmrc--->process2
i was able to get raw data from videotestsrc and webcam working. But for
h264 encoded data it doesn't. this is my test pipeline
gst-launch-1.0 videotestsrc ! video/x-raw,width=640,height=480,format=YUY2 !
x264enc ! shmsink socket-path=/tmp/foo sync=true wait-for-
connection=false shm-size=10000000
gst-launch-1.0 shmsrc socket-path=/tmp/foo ! avdec_h264 ! video/x-
raw,width=640,height=480,framerate=25/1,format=YUY2 ! autovideosink
but this dosn't work and the shmsrc pipeline always closes.
have anyone tried shm plugins with h264 encoded data, please help. Any
examples would be fine
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer-shmsrc-and-shmsink-with-h264-data-tp4680260.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list