<div dir="ltr"><div><div><div><div>You server pipeline look wicked complicated. On the server you are h264 Decoding the file and then re-encoding. Try taking the decoder, videoconvert and x264enc out of the pipeline. Enable logging to see what the negotiation error is on the receiver. Sorry, I don't know the syntax on Windows. Here are some sample pipelines of mine. These are based on 0.10 1.X will be similar but slightly different.<br>
<br></div>Using MP2T, server:<br>gst-launch v4l2src device=/dev/video0 always-copy=false ! 'video/x-h264,width=640,height=480,framerate=30000/1001,media=(string)video,clock-rate=(int)90000,format=(fourcc)I420' ! \<br>
    mpegtsmux ! udpsink host=$1 port=$2<br><br></div>receiver <br>gst-launch udpsrc port=$1 !  mpegtsdemux ! video/x-h264 ! ffdec_h264 ! xvimagesink<br><br></div>RTP, server<br><br>gst-launch v4l2src device=/dev/video0 always-copy=false ! 'video/x-h264,width=640,height=480,framerate=30000/1001,format=(fourcc)H264' \<br>
   ! rtph264pay pt=96 config-interval=2 ! udpsink host=$1 port=$2<br><br></div>receiver<br><br>gst-launch udpsrc port=$1 ! 'application/x-rtp,media=video,payload=96,clock-rate=90000,encoding-name=H264' \<br>    ! gstrtpjitterbuffer mode=0 ! rtph264depay byte-stream=true ! video/x-h264 ! ffdec_h264 \<br>
    ! ffmpegcolorspace ! xvimagesink sync=false<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Mar 2, 2014 at 1:52 AM, dabh <span dir="ltr"><<a href="mailto:dpsbhamra@yahoo.com" target="_blank">dpsbhamra@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi , 
Now i have used avdec_h264 instead of ffdec_h264 and videoconvert instead of ffmpegcolorspace in case of 1.0 version then i received an error at the receiver side.

Here are the commands i am firing :- 

Sender :- 
gst-launch-0.10.exe filesrc location="F:\\Movies\\English\\Avatar [2010]\\Avatar [2010].mp4" ! qtdemux ! h264parse ! avdec_h264 ! videoconvert ! x264enc ! rtph264pay ! udpsink host=127.0.0.1 port=5000

command executed successfully.

Receiver :- 
gst-launch-1.0.exe -v udpsrc uri=udp://<a href="http://127.0.0.1:5000" target="_blank">127.0.0.1:5000</a> ! rtph264depay ! avdec_h264 ! videoconvert ! autovideosink

receives an error during format negotiation 
Here is an error 
<img src="http://gstreamer-devel.966125.n4.nabble.com/file/n4665639/Receiver_Error.png" border="0">

Thanks,







        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Not-able-to-stream-H-264-video-over-RTP-tp4665612p4665639.html" target="_blank">Re: Not able to stream H.264 video over RTP</a><div class="HOEnZb">
<div class="h5"><br>
Sent from the <a href="http://gstreamer-devel.966125.n4.nabble.com/" target="_blank">GStreamer-devel mailing list archive</a> at Nabble.com.<br></div></div><br>_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
<br></blockquote></div><br></div>