AnsweredAssumed Answered

Using Cairo overlay with Gstreamer question

Question asked by Shimon Filtzer on Jun 11, 2014
Latest reply on Sep 9, 2015 by Sumeet Dube

Hello!

In my application I try to add a text overlay to Gstreamer pipeline, without great success.

I saw example, which work fine:

gst-launch videotestsrc ! cairotextoverlay text="Hello"  ! autovideosink,

 

When I tried to run something as

gst-launch playbin2 uri=file:///media/sda1/sample1.avi ! cairotextoverlay text="Hello" ! autovideosink

 

I got: WARNING: erroneous pipeline: could not link playbin20 to cairotextoverlay0

I have no idea how to build correct pipeline and would be glad of any help.

Thank you.

 

Edit 1:

Correct command, as I understand is:

gst-launch  filesrc location=/media/sda1/sample1.avi ! decodebin2 ! cairotextoverlay text="Hello hello, I tried" ! autovideosink

But I got terminal message "There may be a timestamping problem, or this computer is too slow."

File not played normally, the video jumps.


Some solution?

Outcomes