VLC and RTSP for live streaming
Tim Müller
tim at centricular.com
Sun Nov 29 02:25:40 PST 2015
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
More information about the gstreamer-devel
mailing list