[Interest] Bundle multimedia codecs with application
schluchti at gmail.com
Mon Feb 4 18:15:56 CET 2019
@Nikos: thought so :/ The main reason why I wanted to use QML is, that it
can eventually be re-used when the application gets ported to mobile. But I
guess I'll probably have to give up the flexibility and switch to QWidgets
btw: do you have experience with libvlc when it comes to frame extraction?
According to my research, it should be possible to extract frames from
certain positions in the video with libvlc. So, if possible I would like to
kill two birds with one stone and also use libvlc for frame extraction (e.q
extract a frame every x secons). Do you know if libvlc is suited for that?
I know that ffmpeg is probably superior and faster, but if possible I would
like to reduce external dependencies as much as possible.
@Jean-Michaël: I also stumbled accross that one, but wasn't sure whether
it's still actively maintained. At a first glance at the github issues
tracker and the repository it looks like that it's not maintained anymore.
I haven't looked at the project in detail but maybe I can use their QML
implementation as reference.
Am Mo., 4. Feb. 2019, 12:17 hat Jean-Michaël Celerier <
jeanmichael.celerier at gmail.com> geschrieben:
> This project does just that : https://github.com/vlc-qt/vlc-qt/
> On Mon, Feb 4, 2019 at 11:41 AM Nikos Chantziaras <realnc at gmail.com>
>> 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 <realnc at gmail.com
>> > <mailto:realnc at gmail.com>> geschrieben:
>> > No. You can't load custom codecs.
>> > I use libvlc directly in one of my projects. No wrappers or
>> > 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
>> > > 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
>> > > (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 at qt-project.org
> Interest mailing list
> Interest at qt-project.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Interest