<div dir="ltr"><div class="gmail_default" style="font-family:monospace,monospace;font-size:small"><span style="font-family:monospace"><span style="color:rgb(0,0,0)">Dear All,
</span><br>
<br>Whenever I use the raw I420 video frame through shmsink/shmsrc, then it is working fine.
<br>But, I need to use RTP packets and I tried the following pipeline.
<br>
<br>gst-launch-1.0 videotestsrc pattern=0 ! capsfilter caps='video/x-raw,format=I420,width=640,height=360,framerate=30/1' ! videoscale ! videorate ! <br>videoconvert ! timeoverlay ! \
<br>x264enc key-int-max=30 ! capsfilter caps='video/x-h264,stream-format=byte-stream' ! rtph264pay pt=96 ! \
<br>shmsink socket-path=/tmp/gstshm sync=true wait-for-connection=false
<br>
<br>gst-launch-1.0 shmsrc socket-path=/tmp/gstshm ! \
<br>capsfilter caps='application/x-rtp,media=(string)video,clock-rate=(int)90000' ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideos<br>ink
<br>
<br>The shmsrc pipeline is giving an error.  If I replace shmsink/shmsrc to udpsink/udpsrc it is working very well.
<br>
<br>The shmsrc pipeline is giving the following error.
<br>ERROR: from element /GstPipeline:pipeline0/GstShmSrc:shmsrc0: Internal data stream error.
<br>Additional debug info:
<br>../libs/gst/base/gstbasesrc.c(3132): gst_base_src_loop (): /GstPipeline:pipeline0/GstShmSrc:shmsrc0:
<br>streaming stopped, reason error (-5)
<br>
<br>Any help would be appreciated.
<br>
<br>Thanks and Regards
<br>
<br>Anand<br>
<br></span></div></div>