|Beside, in your paste, there is no ffmpegcolorspace at all.|
I tried your pipeline with some movies (audio/video).
gst-launch -v rtspsrc location=rtsp://localhost/sample_100kbit.mp4 ! decodebin ! ffmpegcolorspace ! textoverlay text="Hello Wolrld" ! autovideosink
When I have a ffmpegcolorspace before textoverlay, it is always ok.
when not, pipeline always fails to link.
Best is ffmpegcolorspace does nothing : caps on src and sink are the same.
This also works if ffmpegcolorspace is replaced by any element with "always pads" like videoscale or videorate.
I think this is a gst-launch negotiation problem : decodebin has a "sometimes" src pad and textoverlay has 2 sink pads.
It also works without ffmpegcolorspace if you change textoverlay to clockoverlay (1 sink pad) or timeoverlay
--- En date de : Jeu
31.7.08, Michael Smith <firstname.lastname@example.org> a écrit :
De: Michael Smith <email@example.com>
Objet: Re: [gst-devel] Reading and displaying a rtsp stream
À: "Discussion of the development of GStreamer" <firstname.lastname@example.org>
Date: Jeudi 31 Juillet 2008, 19h25
On Thu, Jul 31, 2008 at 12:21 AM, Ekrem SEREN <email@example.com>
> I'm trying to read a rtsp stream over network and view/record it.
> works fine with rtsp like below;
> $ gst-launch playbin uri=rtsp://localhost:5554/Camera1
> It displays the stream. But I couldn't get it to work with my own
> $ gst-launch -v rtspsrc location=rtsp://localhost:5554/Camera1 ! decodebin
> fmpegcolorspace ! textoverlay
text="fsvbzlvcjzjhkvhlkczvjkd " !
Does it work with another ffmpegcolorspace after the textoverlay? Your
video sink might not support I420 (the only format that textoverlay
You also in general might need a videoscale (though probably not in this case).
This SF.Net email is sponsored by the Moblin Your Move Developer's
Build the coolest Linux based applications with Moblin SDK & win great
Grand prize is a trip for two to an Open Source event anywhere in the world
gstreamer-devel mailing list