gstreamer shmsrc and shmsink with h264 data

Vinod Kesti vinodkesti at yahoo.com
Thu Oct 27 04:49:22 UTC 2016


Hello Anjo,

Below pipelines is working for me. 

gst-launch-1.0 videotestsrc ! video/x-raw,width=640,height=480 !  x264enc
key-int-max=30 ! shmsink socket-path=/tmp/foo sync=true  
wait-for-connection=false

gst-launch-1.0 shmsrc socket-path=/tmp/foo ! capssetter caps=video/x-h264 !
h264parse ! avdec_h264  !  videoconvert ! videoscale ! autovideosink

Following are the errors in your pipeline.
encoder pipeline: x264enc doesn't supports YUY2. 

Decode pipeline: avdec_h264 doesn't know the incoming stream type, force it
to h264 by adding caps setter. add h264parse to get framed data to decoder.

~ Vinod





--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/gstreamer-shmsrc-and-shmsink-with-h264-data-tp4680260p4680261.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list