RTP streaming from an TS MPEG2/AC3 file source?

jhall1468 jhall1468 at gmail.com
Sat Feb 16 10:11:59 PST 2013


I'm attempting to stream an mpeg-ts file source with mp2 video and ac3 audio.
My goal, demux the ts container and stream the mpeg2 video and ac3 audio on
separate udp ports. Here's my current pipeline:

gst-launch -v gstrtpbin name=rtpbin filesrc location=video.mpg ! mpegtsdemux
name=demux \
  demux. ! queue ! rtpmp2tpay ! rtpbin.send_rtp_sink_0 \
    rtpbin.send_rtp_src_0 ! udpsink port=5000 ts-offset=0 \
    rtpbin.send_rtcp_src_0 ! udpsink port=5001 sync=false async=false udpsrc
port=5003 ! \
    rtpbin.recv_rtcp_sink_0 \
  demux. ! queue ! rtpac3pay ! rtpbin.send_rtp_sink_1 \
    rtpbin.send_rtp_src_1 ! udpsink port=5004 ! \
    rtpbin.send_rtcp_src_1 ! udpsink port=5005 sync=false async=false udpsrc
port=5006 ! \
    rtpbin.recv_rtcp_sink_1

I get an error about a link without a source element (which appears to be
stemming from my second demux. not getting the source from the mpegtsdemux).
However, even if I pull out the audio and do the video only, it will launch,
however VLC can't play it. gst-inspect is complaining about
rtpbin.recv_rtcp_sink not existing (_1 if I run both audio and video, _0 if
I only run video).

I'm guessing there's some major issue with my pipeline, but I've spent a
couple of days on this without success. I'm relatively new to gstreamer so
that could be the issue.

Any suggestions?



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTP-streaming-from-an-TS-MPEG2-AC3-file-source-tp4658567.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list