<div dir="ltr">You need 2 decodebins, one for audio and one for video, like this:<div><br></div><div><span style="font-size:12.8000001907349px">gst-launch rtspsrc location="rtsp://</span><a href="http://192.168.4.40:8001/" rel="noreferrer" target="_blank" style="font-size:12.8000001907349px">192.168.4.40:8001/</a><span style="font-size:12.8000001907349px">" latency=300 name=src</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">src. ! decodebin  ! queue ! nv_omx_videosink  src. ! decodebin ! queue !</span><br style="font-size:12.8000001907349px"><span style="font-size:12.8000001907349px">nv_omx_audiosink</span><br></div><div><span style="font-size:12.8000001907349px"><br></span></div><div><span style="font-size:12.8000001907349px">Wim</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 18 June 2015 at 16:00, modelvincent <span dir="ltr"><<a href="mailto:vincent.decaux@oxytronic.fr" target="_blank">vincent.decaux@oxytronic.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
<br>
I'm trying to display a RTSP coming from a VLC source with RTSPSRC but I<br>
have a strange problem.<br>
<br>
If I launch the following command:<br>
gst-launch rtspsrc location="rtsp://<a href="http://192.168.4.40:8001/" rel="noreferrer" target="_blank">192.168.4.40:8001/</a>" latency=400 !<br>
gstrtpjitterbuffer ! decodebin ! nv_omx_videosink<br>
<br>
it's working perfectly, i have the video with a correct latency(1sec) but no<br>
sound (normal).<br>
<br>
If I launch the following command:<br>
gst-launch rtspsrc location="rtsp://<a href="http://192.168.4.40:8001/" rel="noreferrer" target="_blank">192.168.4.40:8001/</a>" latency=400 !<br>
gstrtpjitterbuffer ! decodebin ! nv_omx_audiosink<br>
<br>
it's working perfectly for the audio side with a correct latency (1sec), but<br>
no image (normal).<br>
<br>
but If I launch the following command:<br>
gst-launch rtspsrc location="rtsp://<a href="http://192.168.4.40:8001/" rel="noreferrer" target="_blank">192.168.4.40:8001/</a>" latency=300 !<br>
decodebin name=decode decode. ! queue ! nv_omx_videosink decode. ! queue !<br>
nv_omx_audiosink<br>
<br>
the pipeline start but nothing appear, I hear that the audio card is<br>
configured because I can hear a "ploc" in my headset but nothing more.<br>
<br>
<br>
I've tried to use the following command:<br>
gst-launch playbin2 uri="rtsp://<a href="http://192.168.4.40:8001/" rel="noreferrer" target="_blank">192.168.4.40:8001/</a>"<br>
video-sink=nv_omx_videosink<br>
and it is working with the sound and the display but with a timing between<br>
audio and video, and the latency is of more than 4 seconds.<br>
<br>
<br>
However, If I launch 2 instances of gstreamer, one with the video only (1st<br>
command line) and one with audio only (2nd command line) it is working but<br>
absolutely not easy to use.<br>
<br>
<br>
Can you help me?<br>
<br>
Thanks in advance,<br>
<br>
Best regards,<br>
<br>
vincent DECAUX<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/problem-with-rtsp-with-audio-and-video-tp4672324.html" rel="noreferrer" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/problem-with-rtsp-with-audio-and-video-tp4672324.html</a><br>
Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div><br></div>