[gst-devel] Decodebin doesn't work whereas playbin works, why?
Jens Persson
xerxes2 at gmail.com
Tue Sep 9 13:43:45 CEST 2008
Ok, but it might give you some more clues. Perhaps like this:
gst-launch rtspsrc location="rtsp://localhost/test.mp4" protocols=1
name=d ! decodebin ! queue ! ffmpegcolorspace ! xvimagesink d. !
decodebin ! queue ! audioconvert ! alsasink
I've never used rtsp before. :D
Greets Jens
Eric Zhang wrote:
> Hi, Jens:
>
> Thanks for your reply but it doesn't work. Rtspsrc isn't like
> http-src element, the video & audio stream are separated in it while
> not been separated in any demux element. So that means there are 2
> streams coming from rtspsrc and each of them should be connected to a
> decodebin.
>
> I tried the command you mentioned, the result is - nothing
> happened. The output is:
>
> ==============================
> eric at eric-desktop:~$ gst-launch rtspsrc
> location="rtsp://localhost/test.mp4" protocols=1 ! decodebin name=d !
> queue ! ffmpegcolorspace ! xvimagesink d. ! queue ! audioconvert !
> alsasink
> Setting pipeline to PAUSED ...
> Pipeline is live and does not need PREROLL ...
> Setting pipeline to PLAYING ...
> New clock: GstSystemClock
> ==============================
>
> Eric Zhang
More information about the gstreamer-devel
mailing list