Wednesday, December 30, 2015

Binaries for Hardware Accelerated Qt 5.6.0-beta1 Multimedia Backend on Raspbian Jessie (POT 5.1.0)

This is a experimental build of POT 5.1.0 running on Qt 5.6.0-beta1 built for Raspbian Jessie for armv7 (Raspberry Pi 2). Do not use in production. The package includes:

  • Qt 5.6.0-beta1 optimised for armv7.
  • QtConnectivity including BLE support.
  • QtWebKit including both WebKit 1 and WebKit 2. Video decoding is implemented in WebKit with gstreamer (won't even do 720p properly).
  • QtWebEngine with unaccelerated video decoding using ffmpeg.
  • QtFtp.
  • valgrind-3.12.0.SVN: using it on PiOmxTextures requires to disable libarmmem.so in /etc/ld.so.preload. Also the default valgrind in Raspbian was not working for me.
  • POT 5.1.0 for accelerated playback in Qt.
No accelerated video playback is implemented in QtWebKit nor QtWebEngine in this build. CSS animations instead are properly accelerated when OpenGL rendering is used.

Download PiOmxTextures 5.1.0 for Raspbian Jessie Pi2 here (extraction code is: 508d).

14 comments:

  1. Very nice job Luca, and with Qt ftp !!! Amazing guy !
    In the next release of your binaries, is it possible to have sensehat module --> http://code.qt.io/cgit/qt-labs/qtsensehat.git/tree/ please ?

    Otherwise, have a nice new year !

    ReplyDelete
  2. Get 7zip;
    url: http://akil.solutions/share/index.php/s/G9QbZuC5x3KeAow
    pass: 508d
    md5: cf2f56e4f3f18b34e204d42a800d1005
    contact: mail@isgursoyyavuz.com

    ReplyDelete
    Replies
    1. Thanks for the 7zip file. I am behind proxy and yunpan.cn site is blocked by our proxy. I am new to POT. How to get this binary working? Any document/help available? Please help.

      Delete
    2. This comment has been removed by the author.

      Delete
    3. This comment has been removed by the author.

      Delete
    4. This comment has been removed by the author.

      Delete
    5. Is this valgrind tool required for cross compilation? Is it must or optional?

      Delete
    6. Valgrind is an analysis tool. Qt-rasp2-5.6.0-beta1 contains both crossbuild tools for x86_64 and the Qt libraries for armv7.

      Delete
  3. didn't you have any problem related to GLES3 on Qt 5.6.0?

    ReplyDelete
  4. Hi Luca

    Im newby in Qt, can you tell me - can i use QMediaPlayer with QVideoWidget in my qt widgets application using POT backend?

    ReplyDelete
    Replies
    1. Hello, I'm sorry but QVideoWidget is old not accelerated technology. I don't think POT will work there. If you strictly need desktop technology like QWidget's you may be able to use a QGraphicsView with OpenGL viewport using a QGraphicsVideoItem. But I really can't guarantee this works, never tried, this is more desktop technology. On embedded I typically use accelerated QtQuick.

      Delete
  5. I tried to use QGraphicsVideoItem but get no luck.
    I can hear the sound of the video but for each frame i get in logs
    "WARNING: Failed to start surface."
    and video does not render on the screen.

    Maybe i miss something? Do you ever experienced such thing during development? I enabled SharedOpenGLContext attribute.

    I want to use C++ because i need to work with filesystem and run some linux processed during work.

    ReplyDelete
    Replies
    1. That probably means you are not using OpenGL as a viewport.
      I never experienced this because I don't use widgets.
      Current Qt technology on embedded is QtQuick with QML. C++ is invoked from QML.

      Delete