Couldn't add a clockoverlay and textoverlay at the same time

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Couldn't add a clockoverlay and textoverlay at the same time

rossana
Hello, I want to add text and a clock at the same time, I don't know how to puzzle the elements in the pipeline.
If I do it for each one, ie. for a clock or (exclusive) a text, it works, but when I want to add both I have some compatibilities issues.

This is my pipeline for video and clockoverlay (as I said, it works):

fliescr-->avidemux-->ffdec-mpeg4-->queue-->clockoverlay-->autovideosink

This is my pipeline for video and textoverlay (as I said, it works either):

fliescr-->avidemux-->ffdec-mpeg4-->queue-->textoverlay-->autovideosink

I need to add both, I appreciate any suggestion, thanks

Rossana



_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Couldn't add a clockoverlay and textoverlay at the same time

Nicolas Dufresne
Le mercredi 23 novembre 2011 à 22:00 -0200, Rossana Guerra a écrit :
> I need to add both, I appreciate any suggestion, thanks

Just did a quick test and the combination work as expected:

gst-launch videotestsrc ! clockoverlay ! textoverlay text=Bonjour ! xvimagesink

What issues are you having ?

Nicolas

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Couldn't add a clockoverlay and textoverlay at the same time

Tim-Philipp Müller-2
In reply to this post by rossana
On Wed, 2011-11-23 at 22:00 -0200, Rossana Guerra wrote:

> Hello, I want to add text and a clock at the same time, I don't know
> how to puzzle the elements in the pipeline.
> If I do it for each one, ie. for a clock or (exclusive) a text, it
> works, but when I want to add both I have some compatibilities issues.

What kind of "compatibility issues"? Crashes? GStreamer errors?

Cheers
 -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Couldn't add a clockoverlay and textoverlay at the same time

rossana
Nicolas, this command line works, but it doesn't fit with my pipeline.

Tim, yes, it was errors like I can't link elements from different ancestors.

Working around  on it I got it works, below is my pipeline. I couldn't get enough the link between textoverlay  and ffmpegcolorspace, I guess because re encoding, according to some reading, tell me if I am wrong.

filescr --> avidemux -->ffdec-mpeg4 -->queue --> textoverlay -->ffmpegcolorspace --> clockoverlay--> autovideosink

Thanks, Rossana

2011/11/23 Tim-Philipp Müller <[hidden email]>
On Wed, 2011-11-23 at 22:00 -0200, Rossana Guerra wrote:

> Hello, I want to add text and a clock at the same time, I don't know
> how to puzzle the elements in the pipeline.
> If I do it for each one, ie. for a clock or (exclusive) a text, it
> works, but when I want to add both I have some compatibilities issues.

What kind of "compatibility issues"? Crashes? GStreamer errors?

Cheers
 -Tim

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel