Re: [Development] [QtMultimedia] How to make to use a HW codecs by QML media player on Linux?

2016-05-26 Thread Denis Shienkov
I have created a BUG: https://bugreports.qt.io/browse/QTBUG-53646 2016-05-26 12:01 GMT+03:00 Denis Shienkov : > UPD: Seems the problem is ***NOT IN QtMM***.. > > For example, when I have compiled an usual cpp-based QMediaPlayer example, > and to set there: > > {quote} >

Re: [Development] [QtMultimedia] How to make to use a HW codecs by QML media player on Linux?

2016-05-26 Thread Denis Shienkov
UPD: Seems the problem is ***NOT IN QtMM***.. For example, when I have compiled an usual cpp-based QMediaPlayer example, and to set there: {quote} root@apalis-t30:~/Downloads# export QT_GSTREAMER_WIDGET_VIDEOSINK=nv_omx_hdmi_videosink root@apalis-t30:~/Downloads# export

Re: [Development] [QtMultimedia] How to make to use a HW codecs by QML media player on Linux?

2016-05-25 Thread Denis Shienkov
Now, I have added this output: {code} qDebug() << "*** TEST Best sink name" << elementName << ", m_videoSink:" << m_videoSink; {code} to the ctor of QGStreamerVideoOverlay in file /src/gsttools/qgstreamervideooverlay.cpp, and now I see this output: {quote} root@apalis-t30:~/Downloads#

Re: [Development] [QtMultimedia] How to make to use a HW codecs by QML media player on Linux?

2016-05-25 Thread Denis Shienkov
The solution from: https://devtalk.nvidia.com/default/topic/894891/jetson-tk1/gstreamer-1-0-and-qt5-video-playback/ with adding the: {code} qDebug() << "Setting videosink to " << videoSinkString; qputenv("QT_GSTREAMER_WINDOW_VIDEOSINK", videoSinkString.toUtf8()); {code} to the

Re: [Development] [QtMultimedia] How to make to use a HW codecs by QML media player on Linux?

2016-05-25 Thread Denis Shienkov
Now, I have recompiled the QtMM plugin (with default gstreamer 0.10), but with adding of debug macro DEBUG_PLAYBIN. Then I got following log: https://paste.kde.org/p6ztesnsq Where I do not see any mentions about the selected gst sinks.. I see only this: {quote} Set video output:

Re: [Development] [QtMultimedia] How to make to use a HW codecs by QML media player on Linux?

2016-05-25 Thread Denis Shienkov
> BTW: As I remember, I saw some environment variable which allows to setup custom video sink... I need to see sources of QtMM... if I'm not mistaked.. maybe it will help... I have found this env variables: * QT_GSTREAMER_WIDGET_VIDEOSINK * QT_GSTREAMER_WINDOW_VIDEOSINK and try to use it:

Re: [Development] [QtMultimedia] How to make to use a HW codecs by QML media player on Linux?

2016-05-24 Thread Denis Shienkov
> Gstreamer 1.0+ goes some way to addressing these issues The Apalis T30 board has GPU from the NVidia. So, when I use 'gst-inspect' I see some of 'nv' sinks. So, as I understand, the easy ways to do it are: 1) I should try to use GStreamer 1.0 (instead of 0.10) "as is" with QtMM

Re: [Development] [QtMultimedia] How to make to use a HW codecs by QML media player on Linux?

2016-05-24 Thread Andrew den Exter
The short answer is some amount of platform adaptation will be required to enable hardware acceleration on your board. Looking at the page you linked to; that adaptation might be achieved by creating an implementation of QGstBufferPoolPlugin (gstreamer 0.10 only) which exposes EGL surfaces

[Development] [QtMultimedia] How to make to use a HW codecs by QML media player on Linux?

2016-05-24 Thread Denis Shienkov
Hi all. I have the Toradex (Apalis T30) embedded board: https://www.toradex.com/computer-on-modules/apalis-arm-family/nvidia-tegra-3 which has: http://developer.toradex.com/files/toradex-dev/uploads/media/Colibri/Linux/Images/Apalis_T30_LinuxImageV2.6Beta1_20160331.tar.bz2 Linux Image, with the