Yeah. The trivial approach, where you just create a native window handle for a widget and point libvlc to it, isn't going to work with QML. It's going to be non-trivial.

On 04/02/2019 12:20, Bernhard B wrote:
Hi Nikos,

thanks for your reply. I guess I'll then give libvlc a shot...just have to figure out whether it's possible to use it also with QML instead of QWidgets.

Thanks for your help,
Bernhard


Am So., 3. Feb. 2019, 23:17 hat Nikos Chantziaras <rea...@gmail.com <mailto:rea...@gmail.com>> geschrieben:

    No. You can't load custom codecs.

    I use libvlc directly in one of my projects. No wrappers or anything.
    Just the plain C API. It works like a charm.


    On 03/02/2019 22:47, Bernhard B wrote:
     > Hi all,
     >
     > is it possible to bundle multimedia codecs with a Qt application?
    I want
     > to use QtMultimedia to play all sort of different video formats.
     > Unfortunately, QtMultimedia doesn't recognize all of the video
    formats
     > out of the box, which requires me to install a codec pack (e.q
    K-Lite
     > Codec pack) first.
     >
     > As I am not a big fan of external depenendencies, I would prefer to
     > bundle the necessary codecs with my application. Is that somehow
    possible?
     >
     > I also looked at other projects like QtAV or vlc-qt (to replace
     > QtMultimedia), but at some point I always ran into playback/API bugs
     > (which I couldn't fix myself) . So I am back at QtMultimedia,
    which uses
     > a well tested interface that just works. The only thing I am not
    happy
     > about are the codecs that need to be installed first. Is there a
     > possibility to bundle them with the application?


_______________________________________________
Interest mailing list
Interest@qt-project.org
https://lists.qt-project.org/listinfo/interest

Reply via email to