On Tue, Feb 8, 2011 at 2:45 PM, qt next <[email protected]> wrote:
> 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 [...]

Why not just run an external thumbnailer program? I don't see how this
depends on QtMobility... it's a matter of invoking, an external
program to do it... e.g. http://code.google.com/p/ffmpegthumbnailer/
http://code.google.com/p/ffmpegsource/  ( I was planning on adding
some thumbnailing facilities to http://code.google.com/p/spekle/ --
sorry it's in Vala -- which is included with MeeGo :-) ).

Otherwise the path you suggest is actually even more circuitous --
invoking a separate plugin (e.g. gstreamer) which would then invoke a
decoder, streaming from that, render from that, and capturing the
output.... But it's not a streaming operation, it's simply a data
operation -- so why invoke all that infrastructure instead of using a
specific tool for the purpose?

Having thumbnailing done "under the hood" in QtMobility and QML
certainly sounds like a worthy feature request -- in that the
thumbnailing or other image or audio processing off a compressed
stream is something that many applications need.

Please let me know what you come up with as I will want thumbnailing
in 
http://code.google.com/p/ytd-meego/wiki/CitizenJournalismWithYoutubeDirectForMeego
 -- I was planning to invoke an external process,  launched out of
python/pyside.

By the way, one thing that would really help doing this kind of thing
would be to have QML add a "declarative subprocess" facility --
anybody want to give this feature request some love??
http://bugreports.qt.nokia.com/browse/QTBUG-15178

Niels
http://nielsmayer.com
_______________________________________________
Qt-mobility-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback

Reply via email to