RTP streaming from an TS MPEG2/AC3 file source?

Chuck Crisler ccrisler at mutualink.net
Mon Feb 18 06:24:35 PST 2013


First it is very helpful if you mention the version of gstreamer and the OS
that you are using.

Second, you have rtpbin.send_rtp_sink_0 twice in the first part of the
pipeline. Is that intentional? It can't be good.

Third, from my experience, *EVERY* time that you get an error about a link
without a source it is because of branching some how and using improper
syntax.

I also wonder if your pipeline would work better if you specified caps?

Good luck. Please post more.

On Sat, Feb 16, 2013 at 1:11 PM, jhall1468 <jhall1468 at gmail.com> wrote:

> 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.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130218/92ad1bff/attachment.html>


More information about the gstreamer-devel mailing list