Home > Mobile >  Qt5 implementation, according to how the GUI interface and video can be achieved the effect of the o
Qt5 implementation, according to how the GUI interface and video can be achieved the effect of the o

Time:10-07

Such as:
Qt5 implementation of GUI interface is to use the open gl, system for ubuntu16.04, graphical interface system using xorg, framebuffer board is only one that I use/dev/fb0
Question:
Video and qt5 layered interface display?
Xorg has a similar interface?

Effect is qt5 osd will be a video, can see video through the interface

CodePudding user response:

Actually I want to use qt implementation is similar to the effect of osd, qt transparent interface, can see video of qt below;
That is to say, video display and qt interface each other, this is involved to make the two layered display:
Qt on the top floor, video in the next layer, such as if there are two framebuffer:/dev/fb0/dev/fb1
Qt on fb1, video on fb0

But I'm on the board at present only a/dev/fb0,
So wanted to see if you have any other ideas

CodePudding user response:

His hat with... ~ ~ ~ ~ ~ ~

CodePudding user response:

We also met the same problem, also looking for a solution

CodePudding user response:

I haven't found a feasible solution... Hey CSDN is not popular

CodePudding user response:

OVERLAY?

CodePudding user response:

Each video is a widget, place a label on the upper-left corner of the widget that displays text label can!

CodePudding user response:

Our video is not in qt, but direct call x11 interface to create window shows; This can't change...
So only after considering the qt interface and video layered, by the hardware to combine the...

CodePudding user response:

The
reference
OVERLAY?


Can say specific point? How to do...

CodePudding user response:

Haven't solution

CodePudding user response:

If use the handle of the form, the only new don't set a control of the parent class move in the past, or video source to add good OSD,
If image rendering is their CARDS, painter can directly,

CodePudding user response:

11 references feiyangqingyun response:
if using the handle, in the form of the new only one controls do not set the parent class move in the past, or video source to add good OSD,
If image rendering is their CARDS, painter can directly,



Bosses, consult the problem of video playback, use QMediaplayer and QVideoWidget play MP4 video files and sound files can not play, said format error, help and see if it is for this MP4 attached does not support audio coding, I download and install the LAVFilters, still won't do,

CodePudding user response:

11 references feiyangqingyun response:
if using the handle, in the form of the new only one controls do not set the parent class move in the past, or video source to add good OSD,
If image rendering is their CARDS, painter can directly,


If the audio and video encoding is such can play normally:
  •  Tags:  
  • Qt
  • Related