I would be very interested in such a solution as well, but I don't know anything about "fragment shaders". If you know of any resources, I'm all ears!
 
 
 
Sent: Wednesday, November 07, 2018 at 11:46 AM
From: "Sean Harmer" <s...@theharmers.co.uk>
To: interest@qt-project.org
Subject: Re: [Interest] Screen Capture as format YUV

That would also be horribly slow for large frames. I'd suggest using a fragment shader to perform the conversion then glReadPixels to get it back to the CPU (or even better pass the texture id to gstreamer if it can work with them and avoid the round trip).

Cheers,

Sean

 
On 07/11/2018 16:23, Jason H wrote:
No. Video formats are not supported for paint operations. You'll have to convert.
You can use a Runnable and do it on another core, though that adds asyncronicities...
 
 
Sent: Wednesday, November 07, 2018 at 4:25 AM
From: "Emre Cetin" <hsnemrece...@gmail.com>
To: interest@qt-project.org
Subject: [Interest] Screen Capture as format YUV
Hi everyone,
 
I have a project related to image processing on QT and GStream. I have created a program with QWidget, and I got a screenshot of this program with QPixmap. However, I need to convert these frames into a YUV format and send them to GStream because I am going to merge these frames another video frames with GStream. 
 
Is there any way I can get QWidget frames in YUV format? Without conversion. I am working on QT 5.5. Any advice ? 
 
Thanks,
Emre Cetin
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
 
 
 
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to