After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 588675 - rtspsrc cannot play audio and video together
rtspsrc cannot play audio and video together
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.10
Other All
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-15 15:45 UTC by Jordi Jaen Pallares
Modified: 2009-07-18 10:05 UTC
See Also:
GNOME target: ---
GNOME version: 2.23/2.24



Description Jordi Jaen Pallares 2009-07-15 15:45:38 UTC
Please describe the problem:
Trying to use a pipeline to receive audio and video from a RTSP live stream. I need to further process the elementary audio and video streams, so I cannot use a playbin2 (which works without a problem)

while this pipeline brings me the audio signal:

gst-launch-0.10 --gst-debug-level=2 rtspsrc location=rtsp://c13010-ls.m.core.cdn.streamfarm.net/dw-europa9913010/13010dwtveu350.sdp ! gstrtpjitterbuffer ! gstrtpssrcdemux name=d d. ! queue ! rtpmp4gdepay ! faad ! autoaudiosink

and this one the video signal:

gst-launch-0.10 --gst-debug-level=2 rtspsrc location=rtsp://c13010-ls.m.core.cdn.streamfarm.net/dw-europa9913010/13010dwtveu350.sdp ! gstrtpjitterbuffer ! gstrtpssrcdemux name=d d. ! queue ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! autovideosink

but one only pipeline playing both audio and video is failing !!!

gst-launch-0.10 --gst-debug-level=2 rtspsrc location=rtsp://c13010-ls.m.core.cdn.streamfarm.net/dw-europa9913010/13010dwtveu350.sdp ! gstrtpjitterbuffer ! gstrtpssrcdemux name=d d. ! queue ! rtpmp4gdepay ! faad ! autoaudiosink d. ! queue ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! autovideosink

Steps to reproduce:
1. copy paste the audio pipeline above depicted - works
2. copy paste the video pipeline above depicted - works
3. copy paste the audio + video pipeline - not working


Actual results:
I get audio, and video, but not both together

Expected results:
I expect to get audio and video together

Does this happen every time?
yes

Other information:
Comment 1 Wim Taymans 2009-07-18 10:05:00 UTC
The pipeline is wrong, rtspsrc already includes a jitterbuffer and an ssrc demuxer. Try this instead:

gst-launch-0.10 --gst-debug-level=2 rtspsrc
location=rtsp://c13010-ls.m.core.cdn.streamfarm.net/dw-europa9913010/13010dwtveu350.sdp name=d ! queue ! rtpmp4gdepay ! faad ! autoaudiosink d. ! queue ! rtph264depay ! ffdec_h264 ! ffmpegcolorspace ! autovideosink 

Reopen if that doesn't work.