Using Cairo overlay with Gstreamer question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using Cairo overlay with Gstreamer question

5,355 Views
shimonfiltzer
Contributor II

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?

0 Kudos
Reply
2 Replies

2,900 Views
sumeetdube
Contributor III

Try adding sync=false after autovideosink .. i solved this problem i got for another pipleine

0 Kudos
Reply

2,900 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport
0 Kudos
Reply