[Interest] Qt 6.8.0 - FFMPEG on Windows - Is it possible?
Jøger Hansegård
joger.hansegard at qt.io
Mon Oct 14 18:42:54 CEST 2024
There is also some information in the official Qt documentation; see: https://doc.qt.io/qt-6/qtmultimedia-building-from-source.html
Best regards,
Jøger Hansegård,
The Qt Company
-----Original Message-----
From: Interest <interest-bounces at qt-project.org> On Behalf Of Jøger Hansegård via Interest
Sent: Monday, October 14, 2024 6:21 PM
To: Nuno Santos <nuno.santos at imaginando.pt>; interestqt-project. org <interest at qt-project.org>
Subject: Re: [Interest] Qt 6.8.0 - FFMPEG on Windows - Is it possible?
Hi Nuno,
Yes, this is possible, and we are working on improving the documentation on how to do it. In the meantime, this is one way to do it:
1. Download FFmpeg built with shared libraries from one of the links below.
2. After unzipping the FFmpeg binaries to a suitable location, configure Qt:
configure.bat <your normal settings> -- -DFFMPEG_DIR=<path to directory containing FFmpeg include/lib/bin folders> -DQT_DEPLOY_FFMPEG=ON
Note the double '--' that separates configure arguments from CMake arguments. Once this is done, you can build Qt as usual.
Be aware that he FFmpeg version in the link below is a GPL build. If this is not suitable for you, I added a link to my unofficial wiki page that describes different ways to build FFmpeg for Windows. This gives you control over building FFmpeg without any GPL or non-free components. Among the described options, using VCpkg is the simplest.
Download links:
FFmpeg for Windows (GPL): https://ffmpeg.org/download.html#build-windows (use the ones from BtbN, direct link: https://github.com/BtbN/FFmpeg-Builds/releases). It contains shared libraries and FFmpeg header files.
Building FFmpeg: https://wiki.qt.io/User:Joger/Building_Qt_Multimedia_with_FFmpeg
Thanks,
Jøger
The Qt Company
-----Original Message-----
From: Interest <interest-bounces at qt-project.org> On Behalf Of Nuno Santos via Interest
Sent: Monday, October 14, 2024 5:04 PM
To: interestqt-project. org <interest at qt-project.org>
Subject: [Interest] Qt 6.8.0 - FFMPEG on Windows - Is it possible?
Hi,
I do I enable FFMPEG backend on Windows?
Is it even possible?
> configure.bat -help
does not have any mention to it.
Thanks!
Regards,
Nuno
_______________________________________________
Interest mailing list
Interest at qt-project.org
https://lists.qt-project.org/listinfo/interest
_______________________________________________
Interest mailing list
Interest at qt-project.org
https://lists.qt-project.org/listinfo/interest
More information about the Interest
mailing list