qmlviewer can take a snapshot. I thought this works with OpenGL too, but it 
might depend on your platform.

If you can't do it with OpenGL, then there is no reason why you can't force a 
software painter, then capture that. 





________________________________
From: qt next <[email protected]>
To: [email protected]
Sent: Tue, February 8, 2011 5:45:47 PM
Subject: [Qt-mobility-feedback] thumbnail of a video

Hi,

I have a qml application that use video. I need to render a poster frame of the 
video at variable position. It seems there is no easy way to do that with 
Qt-Mobility : the only I've find is to reimplement a QAbstractVideoSurface (so 
reinvent the wheel  because it' all done in qpaintervideosurface that is 
private... with Opengl and shader to be able to convert  from yuv), then render 
the video in a fbo and then grab the result to a image  ... a Long process just 
for a poster frame :

Anybody has find a shorter way ?

Best regards


 
____________________________________________________________________________________
Be a PS3 game guru.
Get your game face on with the latest PS3 news and previews at Yahoo! Games.
http://videogames.yahoo.com/platform?platform=120121
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback

Reply via email to