[vlc-devel] ISSUE: Streaming Audio and video to different streams

Kumar kumarkm at tataelxsi.co.in
Mon Dec 29 23:17:37 CET 2008


Hi ALL,

I am trying to stream the elementary streams of audio & video  to the
different ports from the gstreamer pipeline.

VIDEO:
gst-launch-0.10 -vvv gstrtpbin name=rtpbin filesrc
location=/home/CodecMpeg4.dat ! video/mpeg, width=1280, height=720,
framerate=15/1 ! rtpmp4vpay ! rtpbin.send_rtp_sink_0 rtpbin.send_rtp_src_0 !
udpsink port=5000 host=10.60.3.96 name=vrtpsink rtpbin.send_rtcp_src_0 !
udpsink port=5001 host=10.60.3.96 sync=false async=false name=vrtcpsink
udpsrc port=5005 name=vrtpsrc ! rtpbin.recv_rtcp_sink_0


AUDIO:
 gst-launch-0.10  gstrtpbin name=rtpbin filesrc
location=/home/ES_G726_32kbps.G726 ! audio/x-adpcm, rate=8000, channels=1,
bitrate=32000, layout=g726 ! rtpg726pay  ! rtpbin.send_rtp_sink_2
rtpbin.send_rtp_src_2 ! udpsink port=5002 host=10.60.3.96 name=vrtpsink
rtpbin.send_rtcp_src_2 ! udpsink port=5002 host=10.60.3.96 sync=false
name=vrtcpsink udpsrc port=5002 name=vrtpsrc ! rtpbin.recv_rtcp_sink_2

Now, only audio keeps coming while one or two frames of video is being
displayed.

Can anyone suggest me what port numbers or VLC player settings need to be
done in order to receive the data in two different ports.... Will VLC
supports accepting data in two ports..?

Thanks in advance...

Regards,
Kumar KM


The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments contained in it.



More information about the vlc-devel mailing list