Do not use display gstreamer aarch 64 linux

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Do not use display gstreamer aarch 64 linux

I am using gstreamer on google coral dev board and performing video analytics
on it.
The platform details are

Linux bored-horse 4.9.51-imx #1 SMP PREEMPT Tue May 14 20:34:37 UTC 2019
aarch64 GNU/Linux

I have a pipeline of the form :

GST_DEBUG=*gl*:5 gst-launch-1.0 videotestsrc  !
video/x-raw,width=640,height=480,framerate=15/1 ! queue max-size-buffers=1
leaky=downstream  ! glupload ! queue max-size-buffers=1 leaky=downstream !
glfilterbin filter=glcolorscale  !
video/x-raw,format=RGBA,width=320,height=180 ! videoconvert !
video/x-raw,format=RGB,width=320,height=180 ! appsink name=appsink
sync=false emit-signals=true max-buffers=1 drop=true

It works fine when run from a terminal. However when i execute the pipeline
as a background  service , it fails because background service do not have
access to display. Anyways I don't want to display the window , i just want
to connect the data to the appsink , so that i can perform video analytics
on it.  

So if you has any idea about how to force it to not use display  and just
forward the data to display . Please help.
The details are given in the file. Run_gstreamer_as_back_ground_.docx

Sent from:
gstreamer-devel mailing list
[hidden email]