gst-launch-1.0, how to remove title bar

Dear,

I hope to remove window title bar at gst-launch-1.0 command.

gst-launch-1.0 filesrc location=test.mp4 ! qtdemux name=demux ! queue ! h265parse ! omxh265dec ! nvoverlaysink -e

This command show title disable playback window, but full screen.

Adjustable and multiple window I need.

Thanks,

Hi,
You may try nveglglessink.

Better Solution:

I was using nveglglessink and could not figure out how to remove the title bar, so I stumbled on to nvoverlaysink, it puts up the output without title bar. It bypasses wayland and/or X,

Hopes this helps others
Terry

2 Likes

@DaneLLL what in nveglglessink makes you think you can control the title bar?

I am looking for this solution because nvoverlaysink does not show up on my mirrored display, I am worried that I will not be able to see the video on a remote access

Terry

Terry

I don’t think you can do that from gst-launch, but you may create a window with no borders and no title and provide through GstVideoOverlay, and set create-window=false for xvimagesink or nveglglessink.
This is more a general gstreamer question, so you may ask to gstreamer devel forum.

For remote display, nvoverlaysink wouldn’t work, it overlays to local display.

For X-forwarding with nveglglessink, you may need have to set a drm link:

sudo ln -sf /usr/lib/aarch64-linux-gnu/libdrm.so.2.4.0 /usr/lib/aarch64-linux-gnu/libdrm.so.2

@Honey_Patouceul am using nveglglessink and it still does not follow the remote log in, I did your link and still not luck.

Any other ideas
Terry