VLC and RTSP for live streaming
Giacomo D
omagico.olo at gmail.com
Sat Nov 28 23:39:52 PST 2015
Hi everyone,
I'm trying to use VLC to stream my live camera, enabling "Activate
Transcoding" option (MP4=Video h264+ MP3).
This is the output string with VLC (I have no experience with it):
:sout=#transcode{vcodec=h264,acodec=mpga,ab=128,channels=2,samplerate=44100}:rtp{sdp=rtsp://:8554/dd}
:sout-all :sout-keep
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).
Is there someone who can explain to me what I am doing to wrong? Is there
someone who has experience with it?
Thanks.
G.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/VLC-and-RTSP-for-live-streaming-tp4674683.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list