Using Cairo overlay with Gstreamer question

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Using Cairo overlay with Gstreamer question

6,324件の閲覧回数
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?

ラベル(4)
0 件の賞賛
返信
2 返答(返信)

3,869件の閲覧回数
sumeetdube
Contributor III

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

0 件の賞賛
返信

3,869件の閲覧回数
Bio_TICFSL
NXP TechSupport
NXP TechSupport
0 件の賞賛
返信