<div dir="ltr"><div><div><div>Finally got the solution for playing a mp4 file with both audio and video over the network.<br><br></div>Following are the working commands:<br><br></div>At server:<br>gst-launch-0.10 -v filesrc location=test.mp4 ! qtdemux name=dmux dmux.audio_00 ! aacparse ! rtpmp4apay ! udpsink host=ip port=5000 dmux.video_00 ! queue ! h264parse ! rtph264pay config-interval=1 ! udpsink port=5002 host=ip<br>
<br></div>At Client:<br> gst-launch-0.10 -v udpsrc uri=udp://ip:5000 caps='<audiocaps>' ! queue ! rtpmp4adepay ! aacparse ! faad ! alsasink udpsrc uri=udp://ip:5002 caps ='<video caps>' ! queue ! rtph264depay ! h264parse ! ffdec_h264 ! xvimagesink<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jun 5, 2013 at 12:21 PM, jyoti kulkarni <span dir="ltr"><<a href="mailto:jyotimk029@gmail.com" target="_blank">jyotimk029@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hello All,<br><br></div>I am trying to stream a mp4 file over the network using following commands:<br>
<br></div>At Server:<br><br>


        
        
        
        


<pre style="margin-bottom:0.5cm"><code>gst-launch-0.10 -v filesrc location=~/home/jyoti/Videos/conf.mp4 ! qtdemux name=demux demux.audio_00 ! queue ! rtpmp4apay ! udpsink port=5000 demux.video_00 ! queue ! rtpmp4vpay ! udpsink port=5002 host=10.99.26.73<br>

<br></code></pre><pre style="margin-bottom:0.5cm"><code>At Client:<br></code>
gst-launch-0.10 -v udpsrc uri=udp://<a href="http://10.99.26.73:5000" target="_blank">10.99.26.73:5000</a> ! qtdemux name=demux demux.audio_00 ! queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 ! faad ! alsasink udpsrc uri=udp://<a href="http://10.99.26.73:5002" target="_blank">10.99.26.73:5002</a> demux.video_00 ! queue! ffdec_h264 ! autovideosink

<br></pre><pre style="margin-bottom:0.5cm">And the file conf.mp4's codec type is MPEG4-PART-10 (H264 AVC) [the file contains both audio and video)<br><br><br></pre><pre style="margin-bottom:0.5cm">I dont see any errors on both side, simply it says pipeline is set to playing and i dont see any outpu display at client side.<br>

</pre><pre style="margin-bottom:0.5cm">Please correct the commands if they are wrong..<br><br></pre><pre style="margin-bottom:0.5cm">I have also seen <a href="http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README#n251" target="_blank">http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README#n251</a><br>

</pre><pre style="margin-bottom:0.5cm">But i dint get video caps on applying those commands, so iam trying above commands.<br></pre><pre style="margin-bottom:0.5cm">Please help me as iam new to gstreamer..<br>
<br></pre><pre style="margin-bottom:0.5cm">Thanks in Advance<span class="HOEnZb"><font color="#888888"><br></font></span></pre><span class="HOEnZb"><font color="#888888"><pre style="margin-bottom:0.5cm">Jyoti<br></pre>

</font></span></div>
</blockquote></div><br></div>