[Interest] Screen Capture as format YUV

Sean Harmer sh at theharmers.co.uk
Wed Nov 7 17:46:49 CET 2018


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" <hsnemrecetin at gmail.com>
> *To:* interest at 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 at qt-project.org 
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20181107/18ab9891/attachment.html>


More information about the Interest mailing list