RTP streaming
jyoti kulkarni
jyotimk029 at gmail.com
Thu Jun 6 05:14:42 PDT 2013
Finally got the solution for playing a mp4 file with both audio and video
over the network.
Following are the working commands:
At server:
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
At Client:
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
On Wed, Jun 5, 2013 at 12:21 PM, jyoti kulkarni <jyotimk029 at gmail.com>wrote:
> Hello All,
>
> I am trying to stream a mp4 file over the network using following commands:
>
> At Server:
>
> 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
>
> At Client:
>
> gst-launch-0.10 -v udpsrc uri=udp://10.99.26.73:5000 ! qtdemux name=demux demux.audio_00 ! queue max-size-buffers=8000 max-size-time=0 max-size-bytes=0 ! faad ! alsasink udpsrc uri=udp://10.99.26.73:5002 demux.video_00 ! queue! ffdec_h264 ! autovideosink
>
>
> And the file conf.mp4's codec type is MPEG4-PART-10 (H264 AVC) [the file contains both audio and video)
>
>
> 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.
>
> Please correct the commands if they are wrong..
>
> I have also seen http://cgit.freedesktop.org/gstreamer/gst-plugins-good/tree/gst/rtp/README#n251
>
> But i dint get video caps on applying those commands, so iam trying above commands.
>
> Please help me as iam new to gstreamer..
>
> Thanks in Advance
>
> Jyoti
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130606/395a7974/attachment-0001.html>
More information about the gstreamer-devel
mailing list