[Development] Encoding video via QtMultimedia?

Pau Garcia i Quiles pgquiles at elpauer.org
Mon Nov 17 14:57:05 CET 2014


I would use ffmpeg instead of libav (ffmpeg merges every commit from libav
+ their own)

But QtGStreamer is probably a better solution and has fewer problems with
licenses. ffmpeg and libav are GPLv2 if you enable some compilation flags,
GStreamer is always LGPL.

If even LGPL is a problem, then MediaStreamer2 from LinPhone would be my
preferred choice. It is available under GPLv2 and a commercial license:


On Mon, Nov 17, 2014 at 1:57 PM, Lopes Yoann <Yoann.Lopes at theqtcompany.com>

>  There is no API in Qt Multimedia to do this. As mentioned, QMediaRecorder
> can only be used with a QCamera.
>  In a similar fashion to QAudioDecoder, we could have APIs like
> QAudioEncoder, QVideoDecoder and QVideoEncoder. Though, considering the
> amount of work there is to improve existing APIs, I don’t think new APIs
> like these ones will be added any time soon.
>  I’d recommend to use libav (https://libav.org) to do this.
>> Yoann
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development

Pau Garcia i Quiles
(Due to my workload, I may need 10 days to answer)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20141117/c5357aa3/attachment.html>

More information about the Development mailing list