[Interest] How to crop VideoOutput arbitrarily without setting clip true?

Hui Vincent vincenthk007 at gmail.com
Sun Jan 5 10:04:49 CET 2014


Is It possible in Qt 5.2 qml? The closest thing I can find is
PreserveAspectCrop but I need to crop the video anywhere I like.

I found a relevant question image
cropping<http://qt-project.org/forums/viewthread/8418>
*[qt-project.org
<http://qt-project.org>]*. However I don’t prefer setting clip true,
because from qt document
“Clipping is a visual effect, NOT an optimization. It increases (rather
than reduces) complexity for the renderer……”

How to crop VideoOutput arbitrarily without setting clip true?

e.g.

verticalCropping: [0.25,0.75]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20140105/311c2da4/attachment.html>


More information about the Interest mailing list