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 631104 - GStreamer: open source multimedia framework
GStreamer: open source multimedia framework
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-10-01 15:00 UTC by Gurvinder
Modified: 2010-10-02 12:23 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Debug log of the session (17.06 KB, text/x-log)
2010-10-01 15:00 UTC, Gurvinder
Details
Pipeline Log (14.84 KB, text/plain)
2010-10-02 09:06 UTC, Gurvinder
Details

Description Gurvinder 2010-10-01 15:00:04 UTC
Created attachment 171496 [details]
Debug log of the session

On the code base with last patch as 

commit 3bfc79f7de8707eb107deda13b61c5d774cdb589
Author: Edward Hervey <bilboed@bilboed.com>
Date:   Tue Sep 21 18:33:36 2010 +0200

    Automatic update of common submodule
    
    From aa0d1d0 to 5e3c9bf


I have an issue with playing the rtsp stream encoded in h264 video and aac as audio codec. I have all the required libs are installed (faad, faac etc) I am attaching the conversation betweek gst-launch and rtsp server. Please let me know if you need any further information.

The command used is as below

gst-launch rtspsrc debug=TRUE location=rtsp://XXX.XXX.XXX.XXX/stream1 name=src .src_video ! queue ! ffmpegcolorspace ! xvimagesink -v src.src_audio ! queue ! audioconvert! autoaudiosink

Thanks for any suggestion/help !!

Gurvinder
Comment 1 Wim Taymans 2010-10-01 17:08:54 UTC
> 
> gst-launch rtspsrc debug=TRUE location=rtsp://XXX.XXX.XXX.XXX/stream1 name=src
> .src_video ! queue ! ffmpegcolorspace ! xvimagesink -v src.src_audio ! queue !
> audioconvert! autoaudiosink

rtspsrc does not have pads named src_video and src_audio. 

Try:

  gst-inspect rtspsrc

To see the srcpad names. Also read the gst-launch manpage. Also you don't have any depayloader or decoder in that pipeline.

Try reading some manuals or when you don't know how to build a pipeline, use playbin2:

 gst-launch playbin2 uri=rtsp://XXX.XXX.XXX.XXX/stream1

Reopen if that doesn't work for you.
Comment 2 Gurvinder 2010-10-02 09:06:17 UTC
Created attachment 171559 [details]
Pipeline Log
Comment 3 Gurvinder 2010-10-02 09:08:10 UTC
Thanks Wim for the quick response. I tried to play the stream with the playbin2 and it plays fine with the given command. But when I try to play it with my pipeline,

gst-launch-0.10 rtspsrc location=rtsp://158.38.62.108/stream1 name=src ! decodebin name=d ! queue ! ffmpegcolorspace ! video/x-raw-yuv ! xvimagesink -v d. ! queue ! audioconvert ! audio/x-raw-int ! autoaudiosink


it just says playing and no audio or video is coming to my system. I am attaching the log from both playbin2 and my pipeline. As I am not sure the issue is in my pipeline or in the rtspsrc. It does detect all the correct codec settings for both audio and video.

The stream should be accessible over internet, for you testing.

Thanks again and looking forward to further suggestions.

Regards,
Gurvinder
Comment 4 Tim-Philipp Müller 2010-10-02 09:16:19 UTC
The issue is with your pipeline. rtspsrc will not create pads that output raw video/audio and can link to ffmpegcolorspace/audioconvert. Try replacing rtspsrc with uridecodebin uri= and it might work.
Comment 5 Gurvinder 2010-10-02 12:23:49 UTC
Thanks Tim a lot. It works like a charm now..

if any one happen to have same issue again. Here is the working pipeline

gst-launch-0.10 uridecodebin uri=rtsp://158.38.62.108/stream1 name=d ! queue ! ffmpegcolorspace ! video/x-raw-yuv ! xvimagesink d. ! queue ! audioconvert ! audio/x-raw-int ! autoaudiosink

- G