-----------------------------------------------------------------
Welcome to the OpenShot Build System!
CMake will now check libopenshot's build dependencies and inform
you of any missing files or other issues.
For more information, please visit .
-----------------------------------------------------------------
Generating build files for OpenShot with CMake 4.4.2
Building libopenshot (version 1.0.0)
SO/API/ABI Version: 31
CMake Warning (deprecated) at bindings/python/CMakeLists.txt:24 (cmake_policy):
The OLD behavior for policy CMP0148 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
This warning is for project developers. Use -Wno-author or -Wno-deprecated
to suppress it.
CMake Warning (unused-cli):
Manually-specified variables were not used by the project:
CMAKE_LD_FLAGS
MAGICKCORE_HDRI_ENABLE
MAGICKCORE_QUANTUM_DEPTH
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp: In member function ‘AVStream* openshot::FFmpegWriter::add_audio_stream()’:
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1145:20: warning: ‘AVCodec::supported_samplerates’ is deprecated [-Wdeprecated-declarations]
1145 | if (codec->supported_samplerates) {
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:41,
from /var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegUtilities.h:40,
from /var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:23:
/usr/include/libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1145:20: warning: ‘AVCodec::supported_samplerates’ is deprecated [-Wdeprecated-declarations]
1145 | if (codec->supported_samplerates) {
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1145:20: warning: ‘AVCodec::supported_samplerates’ is deprecated [-Wdeprecated-declarations]
1145 | if (codec->supported_samplerates) {
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1147:36: warning: ‘AVCodec::supported_samplerates’ is deprecated [-Wdeprecated-declarations]
1147 | for (i = 0; codec->supported_samplerates[i] != 0; i++)
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1147:36: warning: ‘AVCodec::supported_samplerates’ is deprecated [-Wdeprecated-declarations]
1147 | for (i = 0; codec->supported_samplerates[i] != 0; i++)
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1147:36: warning: ‘AVCodec::supported_samplerates’ is deprecated [-Wdeprecated-declarations]
1147 | for (i = 0; codec->supported_samplerates[i] != 0; i++)
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1148:56: warning: ‘AVCodec::supported_samplerates’ is deprecated [-Wdeprecated-declarations]
1148 | if (info.sample_rate == codec->supported_samplerates[i]) {
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1148:56: warning: ‘AVCodec::supported_samplerates’ is deprecated [-Wdeprecated-declarations]
1148 | if (info.sample_rate == codec->supported_samplerates[i]) {
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1148:56: warning: ‘AVCodec::supported_samplerates’ is deprecated [-Wdeprecated-declarations]
1148 | if (info.sample_rate == codec->supported_samplerates[i]) {
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1153:28: warning: ‘AVCodec::supported_samplerates’ is deprecated [-Wdeprecated-declarations]
1153 | if (codec->supported_samplerates[i] == 0)
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1153:28: warning: ‘AVCodec::supported_samplerates’ is deprecated [-Wdeprecated-declarations]
1153 | if (codec->supported_samplerates[i] == 0)
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1153:28: warning: ‘AVCodec::supported_samplerates’ is deprecated [-Wdeprecated-declarations]
1153 | if (codec->supported_samplerates[i] == 0)
| ^~~~~~~~~~~~~~~~~~~~~
/usr/include/libavcodec/codec.h:217:16: note: declared here
217 | const int *supported_samplerates; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1167:20: warning: ‘AVCodec::ch_layouts’ is deprecated [-Wdeprecated-declarations]
1167 | if (codec->ch_layouts) {
| ^~~~~~~~~~
/usr/include/libavcodec/codec.h:241:28: note: declared here
241 | const AVChannelLayout *ch_layouts;
| ^~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1167:20: warning: ‘AVCodec::ch_layouts’ is deprecated [-Wdeprecated-declarations]
1167 | if (codec->ch_layouts) {
| ^~~~~~~~~~
/usr/include/libavcodec/codec.h:241:28: note: declared here
241 | const AVChannelLayout *ch_layouts;
| ^~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1167:20: warning: ‘AVCodec::ch_layouts’ is deprecated [-Wdeprecated-declarations]
1167 | if (codec->ch_layouts) {
| ^~~~~~~~~~
/usr/include/libavcodec/codec.h:241:28: note: declared here
241 | const AVChannelLayout *ch_layouts;
| ^~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1169:61: warning: ‘AVCodec::ch_layouts’ is deprecated [-Wdeprecated-declarations]
1169 | for (i = 0; av_channel_layout_check(&codec->ch_layouts[i]); i++)
| ^~~~~~~~~~
/usr/include/libavcodec/codec.h:241:28: note: declared here
241 | const AVChannelLayout *ch_layouts;
| ^~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1169:61: warning: ‘AVCodec::ch_layouts’ is deprecated [-Wdeprecated-declarations]
1169 | for (i = 0; av_channel_layout_check(&codec->ch_layouts[i]); i++)
| ^~~~~~~~~~
/usr/include/libavcodec/codec.h:241:28: note: declared here
241 | const AVChannelLayout *ch_layouts;
| ^~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1169:61: warning: ‘AVCodec::ch_layouts’ is deprecated [-Wdeprecated-declarations]
1169 | for (i = 0; av_channel_layout_check(&codec->ch_layouts[i]); i++)
| ^~~~~~~~~~
/usr/include/libavcodec/codec.h:241:28: note: declared here
241 | const AVChannelLayout *ch_layouts;
| ^~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1170:75: warning: ‘AVCodec::ch_layouts’ is deprecated [-Wdeprecated-declarations]
1170 | if (av_channel_layout_compare(&ch_layout, &codec->ch_layouts[i])) {
| ^~~~~~~~~~
/usr/include/libavcodec/codec.h:241:28: note: declared here
241 | const AVChannelLayout *ch_layouts;
| ^~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1170:75: warning: ‘AVCodec::ch_layouts’ is deprecated [-Wdeprecated-declarations]
1170 | if (av_channel_layout_compare(&ch_layout, &codec->ch_layouts[i])) {
| ^~~~~~~~~~
/usr/include/libavcodec/codec.h:241:28: note: declared here
241 | const AVChannelLayout *ch_layouts;
| ^~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1170:75: warning: ‘AVCodec::ch_layouts’ is deprecated [-Wdeprecated-declarations]
1170 | if (av_channel_layout_compare(&ch_layout, &codec->ch_layouts[i])) {
| ^~~~~~~~~~
/usr/include/libavcodec/codec.h:241:28: note: declared here
241 | const AVChannelLayout *ch_layouts;
| ^~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1175:54: warning: ‘AVCodec::ch_layouts’ is deprecated [-Wdeprecated-declarations]
1175 | if (!av_channel_layout_check(&codec->ch_layouts[i]))
| ^~~~~~~~~~
/usr/include/libavcodec/codec.h:241:28: note: declared here
241 | const AVChannelLayout *ch_layouts;
| ^~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1175:54: warning: ‘AVCodec::ch_layouts’ is deprecated [-Wdeprecated-declarations]
1175 | if (!av_channel_layout_check(&codec->ch_layouts[i]))
| ^~~~~~~~~~
/usr/include/libavcodec/codec.h:241:28: note: declared here
241 | const AVChannelLayout *ch_layouts;
| ^~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1175:54: warning: ‘AVCodec::ch_layouts’ is deprecated [-Wdeprecated-declarations]
1175 | if (!av_channel_layout_check(&codec->ch_layouts[i]))
| ^~~~~~~~~~
/usr/include/libavcodec/codec.h:241:28: note: declared here
241 | const AVChannelLayout *ch_layouts;
| ^~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1198:20: warning: ‘AVCodec::sample_fmts’ is deprecated [-Wdeprecated-declarations]
1198 | if (codec->sample_fmts) {
| ^~~~~~~~~~~
/usr/include/libavcodec/codec.h:219:32: note: declared here
219 | const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1198:20: warning: ‘AVCodec::sample_fmts’ is deprecated [-Wdeprecated-declarations]
1198 | if (codec->sample_fmts) {
| ^~~~~~~~~~~
/usr/include/libavcodec/codec.h:219:32: note: declared here
219 | const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1198:20: warning: ‘AVCodec::sample_fmts’ is deprecated [-Wdeprecated-declarations]
1198 | if (codec->sample_fmts) {
| ^~~~~~~~~~~
/usr/include/libavcodec/codec.h:219:32: note: declared here
219 | const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1199:40: warning: ‘AVCodec::sample_fmts’ is deprecated [-Wdeprecated-declarations]
1199 | for (int i = 0; codec->sample_fmts[i] != AV_SAMPLE_FMT_NONE; i++) {
| ^~~~~~~~~~~
/usr/include/libavcodec/codec.h:219:32: note: declared here
219 | const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1199:40: warning: ‘AVCodec::sample_fmts’ is deprecated [-Wdeprecated-declarations]
1199 | for (int i = 0; codec->sample_fmts[i] != AV_SAMPLE_FMT_NONE; i++) {
| ^~~~~~~~~~~
/usr/include/libavcodec/codec.h:219:32: note: declared here
219 | const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1199:40: warning: ‘AVCodec::sample_fmts’ is deprecated [-Wdeprecated-declarations]
1199 | for (int i = 0; codec->sample_fmts[i] != AV_SAMPLE_FMT_NONE; i++) {
| ^~~~~~~~~~~
/usr/include/libavcodec/codec.h:219:32: note: declared here
219 | const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1201:48: warning: ‘AVCodec::sample_fmts’ is deprecated [-Wdeprecated-declarations]
1201 | c->sample_fmt = codec->sample_fmts[i];
| ^~~~~~~~~~~
/usr/include/libavcodec/codec.h:219:32: note: declared here
219 | const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1201:48: warning: ‘AVCodec::sample_fmts’ is deprecated [-Wdeprecated-declarations]
1201 | c->sample_fmt = codec->sample_fmts[i];
| ^~~~~~~~~~~
/usr/include/libavcodec/codec.h:219:32: note: declared here
219 | const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1201:48: warning: ‘AVCodec::sample_fmts’ is deprecated [-Wdeprecated-declarations]
1201 | c->sample_fmt = codec->sample_fmts[i];
| ^~~~~~~~~~~
/usr/include/libavcodec/codec.h:219:32: note: declared here
219 | const enum AVSampleFormat *sample_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp: In member function ‘AVStream* openshot::FFmpegWriter::add_video_stream()’:
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1404:61: warning: ‘AVCodec::pix_fmts’ is deprecated [-Wdeprecated-declarations]
1404 | const PixelFormat *supported_pixel_formats = codec->pix_fmts;
| ^~~~~~~~
/usr/include/libavcodec/codec.h:215:31: note: declared here
215 | const enum AVPixelFormat *pix_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1404:61: warning: ‘AVCodec::pix_fmts’ is deprecated [-Wdeprecated-declarations]
1404 | const PixelFormat *supported_pixel_formats = codec->pix_fmts;
| ^~~~~~~~
/usr/include/libavcodec/codec.h:215:31: note: declared here
215 | const enum AVPixelFormat *pix_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/FFmpegWriter.cpp:1404:61: warning: ‘AVCodec::pix_fmts’ is deprecated [-Wdeprecated-declarations]
1404 | const PixelFormat *supported_pixel_formats = codec->pix_fmts;
| ^~~~~~~~
/usr/include/libavcodec/codec.h:215:31: note: declared here
215 | const enum AVPixelFormat *pix_fmts; ///< @deprecated use avcodec_get_supported_config()
| ^~~~~~~~
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/Timeline.cpp: In constructor ‘openshot::Timeline::Timeline(const std::string&, bool)’:
/var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/Timeline.cpp:131:25: warning: ignoring return value of ‘virtual bool QFile::open(QIODeviceBase::OpenMode)’, declared with attribute ‘nodiscard’ [-Wunused-result]
131 | projectFile.open(QFile::ReadOnly);
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
In file included from /usr/include/qt6/QtCore/qdir.h:11,
from /usr/include/qt6/QtCore/QDir:1,
from /var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/CacheDisk.h:18,
from /var/pisi/libopenshot-1.0.0-10/work/libopenshot-1.0.0/src/Timeline.cpp:16:
/usr/include/qt6/QtCore/qfile.h:264:32: note: declared here
264 | QFILE_MAYBE_NODISCARD bool open(OpenMode flags) override;
| ^~~~
Checking for documentation files to install...