VLC and RTSP for live streaming

Krutskikh Ivan stein.hak at gmail.com
Sun Nov 29 02:30:58 PST 2015


I think vlc uses mpeg-ts muxing for rtsp protocol.

2015-11-29 13:25 GMT+03:00 Tim Müller <tim at centricular.com>:

> On Sat, 2015-11-28 at 23:39 -0800, Giacomo D wrote:
>
> Hi,
>
> > On the receiving side I'm using a Gstreamer pipeline like this:
> >
> >    self.pipelinelaunch=Gst.parse_launch(" rtspsrc
> > location=rtsp://127.0.0.1:8554/stream  \
> >           ! queue ! rtph264depay ! h264parse ! queue ! decodebin !
> > queue !
> > videoconvert ! queue ! autovideosink \
> >    rtspsrc location=rtsp://127.0.0.1:8554/stream    ! queue !
> > rtpmp4gdepay !
> > aacparse  ! \
> >           avdec_aac ! queue ! decodebin ! queue ! audioconvert !
> > audioresample ! queue ! autoaudiosink ")
> >
> > If I try cutting the second part of the pipeline (that for the audio)
> > I'm
> > able to receive the video. If I add the audio part I get a video
> > freeze.
> >
> > For .AVI/.mp4 files, that pipeline works fine (Disabling "Activate
> > Transcoding" in VLC).
>
> Does it work if you just use
>
>   gst-play-1.0 rtsp://127.0.0.1:8554/stream
>
> or
>
>   gst-launch-1.0 playbin uri=gst-play-1.0 rtsp://127.0.0.1:8554/stream
>
> ?
>
> Cheers
>  -Tim
>
> --
> Tim Müller, Centricular Ltd - http://www.centricular.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/20151129/3b91ade5/attachment.html>


More information about the gstreamer-devel mailing list