Re: [Interest] QML and video

2014-01-17 Thread Jeff Lancaster
Embedded Linux using GStreamer as multimedia backend, correct.

It's a TI DM8148 processor, very similar to their OMAP processors with the SGX 
GPU.

In Qt 4.8, it was pretty straight forward using video through QML, it lent 
itself to using the EGL through QPainterVideoSurface. 

I am thinking that I need to add EGL properties to the QSGVideoItemSurface, or 
better yet, create my own MyVideoSurface.

Any thoughts?

Best regards,

Jeff Lancaster • Sr Software Engineer •
jlancas...@vivint.com  • P: 801.229.6010 • C: 801.xxx.

simply smarter • vivint.com
2500 West Executive Pkwy. Lehi, UT 84043


From: Lopes Yoann [yoann.lo...@digia.com]
Sent: Friday, January 17, 2014 4:14 AM
To: Jeff Lancaster
Cc: interest@qt-project.org
Subject: Re: [Interest] QML and video

On which platform are you? Embedded Linux using GStreamer as multimedia backend?


Yoann Lopes
Senior Software Engineer - Digia, Qt
Visit us on: http://qt.digia.com

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


Re: [Interest] QML and video

2014-01-17 Thread Ola Røer Thorsen
Not directly answering your question Jeff, but anyway, I recommend looking
into using bc-cat on the SGX if possible.

http://processors.wiki.ti.com/index.php/OpenGLES_Texture_Streaming_-_bc-cat_User_Guide

You will have to write your own video render item for Qt Quick, because you
need a special texture lookup in the fragment shader (it's not a regular
texture). Also you need a custom video surface class (inheriting
QAbstractVideoSurface), that will upload the texture for you using bc-cat.

Apart from the faster texture uploads, bc-cat also automatically converts
YUV to RGB for you so there is no need for YUV-RGB conversions in the
shader (also faster).

Cheers,
Ola







2014/1/17 Lopes Yoann 

>  On which platform are you? Embedded Linux using GStreamer as multimedia
> backend?
>
>
> Yoann Lopes
> Senior Software Engineer - Digia, Qt
> Visit us on: http://qt.digia.com
>
>
> ___
> 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


Re: [Interest] QML and video

2014-01-17 Thread Lopes Yoann
On which platform are you? Embedded Linux using GStreamer as multimedia backend?


Yoann Lopes
Senior Software Engineer - Digia, Qt
Visit us on: http://qt.digia.com

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