problem with rtsp with audio and video

modelvincent vincent.decaux at oxytronic.fr
Thu Jun 18 07:00:35 PDT 2015


Hello, 

I'm trying to display a RTSP coming from a VLC source with RTSPSRC but I
have a strange problem.

If I launch the following command:
gst-launch rtspsrc location="rtsp://192.168.4.40:8001/" latency=400 !
gstrtpjitterbuffer ! decodebin ! nv_omx_videosink

it's working perfectly, i have the video with a correct latency(1sec) but no
sound (normal).

If I launch the following command:
gst-launch rtspsrc location="rtsp://192.168.4.40:8001/" latency=400 !
gstrtpjitterbuffer ! decodebin ! nv_omx_audiosink

it's working perfectly for the audio side with a correct latency (1sec), but
no image (normal).

but If I launch the following command:
gst-launch rtspsrc location="rtsp://192.168.4.40:8001/" latency=300 !
decodebin name=decode decode. ! queue ! nv_omx_videosink decode. ! queue !
nv_omx_audiosink

the pipeline start but nothing appear, I hear that the audio card is
configured because I can hear a "ploc" in my headset but nothing more.


I've tried to use the following command:
gst-launch playbin2 uri="rtsp://192.168.4.40:8001/"
video-sink=nv_omx_videosink
and it is working with the sound and the display but with a timing between
audio and video, and the latency is of more than 4 seconds.


However, If I launch 2 instances of gstreamer, one with the video only (1st
command line) and one with audio only (2nd command line) it is working but
absolutely not easy to use.


Can you help me?

Thanks in advance, 

Best regards, 

vincent DECAUX



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/problem-with-rtsp-with-audio-and-video-tp4672324.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list