D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/libopenshot-0.1.9-2.mga7.src.rpm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ytwNzG + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf libopenshot-0.1.9 + /usr/bin/mkdir -p libopenshot-0.1.9 + cd libopenshot-0.1.9 + /usr/bin/gzip -dc /home/pterjan/rpmbuild/SOURCES/libopenshot-0.1.9.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/libopenshot-0.1.8-fix-build-with-ruby-2.4.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + /usr/bin/cat /home/pterjan/rpmbuild/SOURCES/libopenshot-0.1.8-fix-build-with-imagemagick7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ajLgJv + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd libopenshot-0.1.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4' + export FFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + mkdir -p build + cd build + /usr/bin/cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib64 -DCMAKE_INSTALL_LIBEXECDIR:PATH=/usr/libexec -DCMAKE_INSTALL_SYSCONFDIR:PATH=/etc -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_CXX_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DCMAKE_C_FLAGS_RELWITHDEBINFO:STRING=-DNDEBUG -DLIB_SUFFIX=64 -DCMAKE_SKIP_RPATH:BOOL=ON -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON '-DCMAKE_MODULE_LINKER_FLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' -DBUILD_SHARED_LIBS:BOOL=ON -DBUILD_STATIC_LIBS:BOOL=OFF -------------------------------------------------------------- Welcome to the OpenShot Build System! CMake will now check for all required build dependencies and notify you of any missing files or other issues. If you have any questions or issues, please visit . -------------------------------------------------------------- Determining Version Number (from Version.h file) --> MAJOR Version: 0 --> MINOR Version: 1 --> BUILD Version: 9 --> SO/API/ABI Version: 14 --> VERSION: 0.1.9 CMake Warning (dev) at CMakeLists.txt:66 (PROJECT): Policy CMP0048 is not set: project() command manages VERSION variables. Run "cmake --help-policy CMP0048" for policy details. Use the cmake_policy command to set the policy and suppress this warning. The following variable(s) would be set to empty: PROJECT_VERSION This warning is for project developers. Use -Wno-dev to suppress it. -- The C compiler identification is GNU 7.3.0 -- The CXX compiler identification is GNU 7.3.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -------------------------------------------------------------- Generating build files for openshot (0.1.9) -- Found ImageMagick: /usr/lib64/libMagick++.so -- Found FFMPEG: /usr/lib64/libavformat.so;/usr/lib64/libavcodec.so;/usr/lib64/libavutil.so;/usr/lib64/libavdevice.so;/usr/lib64/libswscale.so;/usr/lib64/libavresample.so -- Found LIBOPENSHOT_AUDIO: /usr/lib64/libopenshot-audio.so 'LIBOPENSHOT_AUDIO_INCLUDE_DIRS:/usr/include/libopenshot-audio' -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Found ZMQ: /usr/lib64/libzmq.so Using embedded JsonCpp -- Found SWIG: /usr/bin/swig (found suitable version "3.0.12", minimum required is "2.0") -- Found PythonLibs: /usr/lib64/libpython3.6m.so (found suitable version "3.6.5", minimum required is "3") -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.6.5", minimum required is "3") CMake Deprecation Warning at /usr/share/cmake/Modules/UseSWIG.cmake:272 (message): SWIG_ADD_MODULE is deprecated. Use SWIG_ADD_LIBRARY instead. Call Stack (most recent call first): src/bindings/python/CMakeLists.txt:46 (SWIG_ADD_MODULE) -- Could NOT find Ruby (missing: RUBY_EXECUTABLE RUBY_INCLUDE_DIR RUBY_LIBRARY) -- Found UNITTEST++: /usr/lib64/libUnitTest++.so -- Found OpenMP_C: -fopenmp -- Found OpenMP_CXX: -fopenmp -- Found OpenMP: TRUE -- Found Doxygen: /usr/bin/doxygen (found version "1.8.14") found components: doxygen missing components: dot -- Found DOXYFILE_IN: /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/Doxyfile.in CMake Warning (dev) at cmake/Modules/UseDoxygen.cmake:137 (get_target_property): Policy CMP0045 is not set: Error on non-existent target in get_target_property. Run "cmake --help-policy CMP0045" for policy details. Use the cmake_policy command to set the policy and suppress this warning. get_target_property() called with non-existent target "doc". Call Stack (most recent call first): CMakeLists.txt:87 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: BUILD_STATIC_LIBS CMAKE_C_FLAGS_RELWITHDEBINFO CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_SYSCONFDIR INCLUDE_INSTALL_DIR SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build + /usr/bin/make -O -j4 /usr/bin/cmake -H/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9 -B/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/CMakeFiles /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/CMakeFiles/progress.marks /usr/bin/make -f CMakeFiles/Makefile2 all /usr/bin/make -f src/CMakeFiles/openshot.dir/build.make src/CMakeFiles/openshot.dir/depend /usr/bin/make -f src/bindings/python/CMakeFiles/gen_openshot_openshotPYTHON_wrap.dir/build.make src/bindings/python/CMakeFiles/gen_openshot_openshotPYTHON_wrap.dir/depend make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9 /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/bindings/python /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/bindings/python /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/bindings/python/CMakeFiles/gen_openshot_openshotPYTHON_wrap.dir/DependInfo.cmake --color= Scanning dependencies of target gen_openshot_openshotPYTHON_wrap make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' /usr/bin/make -f src/bindings/python/CMakeFiles/gen_openshot_openshotPYTHON_wrap.dir/build.make src/bindings/python/CMakeFiles/gen_openshot_openshotPYTHON_wrap.dir/build make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 2%] Generating __/include/Qt/moc_AudioPlaybackThread.cpp cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt && /usr/lib64/qt5/bin/moc @/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt/moc_AudioPlaybackThread.cpp_parameters /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/include/Qt/AudioPlaybackThread.h:0: Note: No relevant classes found. No output generated. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 1%] Generating __/include/Qt/moc_VideoRenderer.cpp cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt && /usr/lib64/qt5/bin/moc @/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt/moc_VideoRenderer.cpp_parameters make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 3%] Generating __/include/Qt/moc_PlayerDemo.cpp cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt && /usr/lib64/qt5/bin/moc @/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt/moc_PlayerDemo.cpp_parameters make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 5%] Generating __/include/Qt/moc_PlayerPrivate.cpp cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt && /usr/lib64/qt5/bin/moc @/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt/moc_PlayerPrivate.cpp_parameters /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/include/Qt/PlayerPrivate.h:0: Note: No relevant classes found. No output generated. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 6%] Generating __/include/Qt/moc_VideoCacheThread.cpp cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt && /usr/lib64/qt5/bin/moc @/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt/moc_VideoCacheThread.cpp_parameters /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/include/Qt/VideoCacheThread.h:0: Note: No relevant classes found. No output generated. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 7%] Generating __/include/Qt/moc_VideoPlaybackThread.cpp cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt && /usr/lib64/qt5/bin/moc @/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt/moc_VideoPlaybackThread.cpp_parameters /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/include/Qt/VideoPlaybackThread.h:0: Note: No relevant classes found. No output generated. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 8%] Generating __/include/Qt/moc_VideoRenderWidget.cpp cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt && /usr/lib64/qt5/bin/moc @/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/__/include/Qt/moc_VideoRenderWidget.cpp_parameters make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9 /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/CMakeFiles/openshot.dir/DependInfo.cmake --color= Scanning dependencies of target openshot make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' /usr/bin/make -f src/CMakeFiles/openshot.dir/build.make src/CMakeFiles/openshot.dir/build make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 11%] Building CXX object src/CMakeFiles/openshot.dir/AudioBufferSource.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/AudioBufferSource.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/AudioBufferSource.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 12%] Building CXX object src/CMakeFiles/openshot.dir/AudioResampler.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/AudioResampler.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/AudioResampler.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 4%] Swig source cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/bindings/python && /usr/bin/cmake -E make_directory /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/bindings/python cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/bindings/python && /usr/bin/cmake -E touch /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/bindings/python/openshotPYTHON_wrap.stamp cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/bindings/python && /usr/bin/swig -python -outdir /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/bindings/python -c++ -I/usr/include/ImageMagick-7 -I/usr/include -I/usr/include/libopenshot-audio -I/usr/lib64/qt5/include -I/usr/lib64/qt5/include/QtWidgets -I/usr/lib64/qt5/include/QtGui -I/usr/lib64/qt5/include/QtCore -I/usr/lib64/qt5/./mkspecs/linux-g++ -I/usr/lib64/qt5/include/QtMultimedia -I/usr/lib64/qt5/include/QtNetwork -I/usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -I/usr/include/python3.6m -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/bindings/python -o /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src/bindings/python/openshotPYTHON_wrap.cxx /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/bindings/python/openshot.i make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 14%] Built target gen_openshot_openshotPYTHON_wrap make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 10%] Building CXX object src/CMakeFiles/openshot.dir/AudioReaderSource.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/AudioReaderSource.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/AudioReaderSource.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 13%] Building CXX object src/CMakeFiles/openshot.dir/CacheBase.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/CacheBase.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/CacheBase.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 14%] Building CXX object src/CMakeFiles/openshot.dir/CacheDisk.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/CacheDisk.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/CacheDisk.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 15%] Building CXX object src/CMakeFiles/openshot.dir/CacheMemory.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/CacheMemory.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/CacheMemory.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 19%] Building CXX object src/CMakeFiles/openshot.dir/Color.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/Color.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/Color.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 21%] Building CXX object src/CMakeFiles/openshot.dir/ClipBase.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/ClipBase.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/ClipBase.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 16%] Building CXX object src/CMakeFiles/openshot.dir/ChunkReader.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/ChunkReader.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/ChunkReader.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 22%] Building CXX object src/CMakeFiles/openshot.dir/Coordinate.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/Coordinate.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/Coordinate.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 17%] Building CXX object src/CMakeFiles/openshot.dir/ChunkWriter.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/ChunkWriter.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/ChunkWriter.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 23%] Building CXX object src/CMakeFiles/openshot.dir/CrashHandler.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/CrashHandler.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/CrashHandler.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 20%] Building CXX object src/CMakeFiles/openshot.dir/Clip.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/Clip.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/Clip.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 24%] Building CXX object src/CMakeFiles/openshot.dir/DummyReader.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/DummyReader.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/DummyReader.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 25%] Building CXX object src/CMakeFiles/openshot.dir/ReaderBase.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/ReaderBase.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/ReaderBase.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 26%] Building CXX object src/CMakeFiles/openshot.dir/RendererBase.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/RendererBase.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/RendererBase.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 28%] Building CXX object src/CMakeFiles/openshot.dir/WriterBase.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/WriterBase.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/WriterBase.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 30%] Building CXX object src/CMakeFiles/openshot.dir/effects/Blur.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/effects/Blur.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/effects/Blur.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 29%] Building CXX object src/CMakeFiles/openshot.dir/EffectBase.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/EffectBase.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/EffectBase.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 31%] Building CXX object src/CMakeFiles/openshot.dir/effects/Brightness.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/effects/Brightness.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/effects/Brightness.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 32%] Building CXX object src/CMakeFiles/openshot.dir/effects/ChromaKey.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/effects/ChromaKey.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/effects/ChromaKey.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 33%] Building CXX object src/CMakeFiles/openshot.dir/effects/Deinterlace.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/effects/Deinterlace.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/effects/Deinterlace.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 34%] Building CXX object src/CMakeFiles/openshot.dir/effects/Mask.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/effects/Mask.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/effects/Mask.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 35%] Building CXX object src/CMakeFiles/openshot.dir/effects/Negate.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/effects/Negate.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/effects/Negate.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 37%] Building CXX object src/CMakeFiles/openshot.dir/effects/Saturation.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/effects/Saturation.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/effects/Saturation.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 41%] Building CXX object src/CMakeFiles/openshot.dir/Fraction.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/Fraction.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/Fraction.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 39%] Building CXX object src/CMakeFiles/openshot.dir/FFmpegReader.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/FFmpegReader.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp: In constructor 'openshot::FFmpegReader::FFmpegReader(std::__cxx11::string)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:43:18: warning: 'void av_register_all()' is deprecated [-Wdeprecated-declarations] av_register_all(); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:2025:6: note: declared here void av_register_all(void); ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:44:23: warning: 'void avcodec_register_all()' is deprecated [-Wdeprecated-declarations] avcodec_register_all(); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:4086:6: note: declared here void avcodec_register_all(void); ^~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp: In constructor 'openshot::FFmpegReader::FFmpegReader(std::__cxx11::string, bool)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:64:18: warning: 'void av_register_all()' is deprecated [-Wdeprecated-declarations] av_register_all(); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:2025:6: note: declared here void av_register_all(void); ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:65:23: warning: 'void avcodec_register_all()' is deprecated [-Wdeprecated-declarations] avcodec_register_all(); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:4086:6: note: declared here void avcodec_register_all(void); ^~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp: In member function 'virtual void openshot::FFmpegReader::Open()': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:126:32: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && videoStream < 0) { ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:126:32: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && videoStream < 0) { ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:126:32: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO && videoStream < 0) { ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:130:32: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO && audioStream < 0) { ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:130:32: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO && audioStream < 0) { ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:130:32: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO && audioStream < 0) { ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:145:50: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] pCodecCtx = pFormatCtx->streams[videoStream]->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:145:50: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] pCodecCtx = pFormatCtx->streams[videoStream]->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:145:50: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] pCodecCtx = pFormatCtx->streams[videoStream]->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:171:50: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] aCodecCtx = pFormatCtx->streams[audioStream]->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:171:50: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] aCodecCtx = pFormatCtx->streams[audioStream]->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:171:50: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] aCodecCtx = pFormatCtx->streams[audioStream]->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp: In member function 'bool openshot::FFmpegReader::GetAVFrame()': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:683:69: warning: 'int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations] avcodec_decode_video2(pCodecCtx, next_frame, &frameFinished, packet); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:4755:5: note: declared here int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture, ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:691:70: warning: 'int avpicture_alloc(AVPicture*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] avpicture_alloc(pFrame, pCodecCtx->pix_fmt, info.width, info.height); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:5407:5: note: declared here int avpicture_alloc(AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height); ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:692:96: warning: 'void av_picture_copy(AVPicture*, const AVPicture*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] av_picture_copy(pFrame, (AVPicture *) next_frame, pCodecCtx->pix_fmt, info.width, info.height); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:5440:6: note: declared here void av_picture_copy(AVPicture *dst, const AVPicture *src, ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp: In member function 'void openshot::FFmpegReader::ProcessVideoPacket(int64_t)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:826:60: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] numBytes = avpicture_get_size(PIX_FMT_RGBA, width, height); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:5434:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:833:78: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] avpicture_fill((AVPicture *) pFrameRGB, buffer, PIX_FMT_RGBA, width, height); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:5419:5: note: declared here int avpicture_fill(AVPicture *picture, const uint8_t *ptr, ^~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:839:40: warning: 'AVPicture::data' is deprecated [-Wdeprecated-declarations] sws_scale(img_convert_ctx, my_frame->data, my_frame->linesize, 0, ^~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:3795:39: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:839:40: warning: 'AVPicture::data' is deprecated [-Wdeprecated-declarations] sws_scale(img_convert_ctx, my_frame->data, my_frame->linesize, 0, ^~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:3795:39: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:839:40: warning: 'AVPicture::data' is deprecated [-Wdeprecated-declarations] sws_scale(img_convert_ctx, my_frame->data, my_frame->linesize, 0, ^~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:3795:39: note: declared here uint8_t *data[AV_NUM_DATA_POINTERS]; ///< pointers to the image data planes ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:839:56: warning: 'AVPicture::linesize' is deprecated [-Wdeprecated-declarations] sws_scale(img_convert_ctx, my_frame->data, my_frame->linesize, 0, ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:3797:38: note: declared here int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:839:56: warning: 'AVPicture::linesize' is deprecated [-Wdeprecated-declarations] sws_scale(img_convert_ctx, my_frame->data, my_frame->linesize, 0, ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:3797:38: note: declared here int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:839:56: warning: 'AVPicture::linesize' is deprecated [-Wdeprecated-declarations] sws_scale(img_convert_ctx, my_frame->data, my_frame->linesize, 0, ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:3797:38: note: declared here int linesize[AV_NUM_DATA_POINTERS]; ///< number of bytes per line ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp: In member function 'void openshot::FFmpegReader::ProcessAudioPacket(int64_t, int64_t, int)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:906:48: error: 'FF_INPUT_BUFFER_PADDING_SIZE' was not declared in this scope int buf_size = AVCODEC_MAX_AUDIO_FRAME_SIZE + FF_INPUT_BUFFER_PADDING_SIZE; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:906:48: note: suggested alternative: 'AV_INPUT_BUFFER_PADDING_SIZE' int buf_size = AVCODEC_MAX_AUDIO_FRAME_SIZE + FF_INPUT_BUFFER_PADDING_SIZE; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ AV_INPUT_BUFFER_PADDING_SIZE /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:907:82: warning: 'int avcodec_decode_audio4(AVCodecContext*, AVFrame*, int*, const AVPacket*)' is deprecated [-Wdeprecated-declarations] int used = avcodec_decode_audio4(aCodecCtx, audio_frame, &frame_finished, packet); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:4706:5: note: declared here int avcodec_decode_audio4(AVCodecContext *avctx, AVFrame *frame, ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:993:33: warning: 'AVAudioResampleContext* avresample_alloc_context()' is deprecated [-Wdeprecated-declarations] avr = avresample_alloc_context(); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavresample/avresample.h:194:25: note: declared here AVAudioResampleContext *avresample_alloc_context(void); ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:1002:29: warning: 'int avresample_open(AVAudioResampleContext*)' is deprecated [-Wdeprecated-declarations] int r = avresample_open(avr); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavresample/avresample.h:214:5: note: declared here int avresample_open(AVAudioResampleContext *avr); ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:1011:27: warning: 'int avresample_convert(AVAudioResampleContext*, uint8_t**, int, int, uint8_t* const*, int, int)' is deprecated [-Wdeprecated-declarations] audio_frame->nb_samples); // number of input samples to convert ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavresample/avresample.h:451:5: note: declared here int avresample_convert(AVAudioResampleContext *avr, uint8_t **output, ^~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:1017:22: warning: 'void avresample_close(AVAudioResampleContext*)' is deprecated [-Wdeprecated-declarations] avresample_close(avr); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavresample/avresample.h:245:6: note: declared here void avresample_close(AVAudioResampleContext *avr); ^~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:1018:22: warning: 'void avresample_free(AVAudioResampleContext**)' is deprecated [-Wdeprecated-declarations] avresample_free(&avr); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavresample/avresample.h:258:6: note: declared here void avresample_free(AVAudioResampleContext **avr); ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp: In member function 'void openshot::FFmpegReader::Seek(int64_t)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:1244:75: warning: 'AVFormatContext::filename' is deprecated [-Wdeprecated-declarations] fprintf(stderr, "%s: error while seeking video stream\n", pFormatCtx->filename); ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:1408:23: note: declared here char filename[1024]; ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:1244:75: warning: 'AVFormatContext::filename' is deprecated [-Wdeprecated-declarations] fprintf(stderr, "%s: error while seeking video stream\n", pFormatCtx->filename); ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:1408:23: note: declared here char filename[1024]; ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:1244:75: warning: 'AVFormatContext::filename' is deprecated [-Wdeprecated-declarations] fprintf(stderr, "%s: error while seeking video stream\n", pFormatCtx->filename); ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:1408:23: note: declared here char filename[1024]; ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:1258:75: warning: 'AVFormatContext::filename' is deprecated [-Wdeprecated-declarations] fprintf(stderr, "%s: error while seeking audio stream\n", pFormatCtx->filename); ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:1408:23: note: declared here char filename[1024]; ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:1258:75: warning: 'AVFormatContext::filename' is deprecated [-Wdeprecated-declarations] fprintf(stderr, "%s: error while seeking audio stream\n", pFormatCtx->filename); ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:1408:23: note: declared here char filename[1024]; ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:1258:75: warning: 'AVFormatContext::filename' is deprecated [-Wdeprecated-declarations] fprintf(stderr, "%s: error while seeking audio stream\n", pFormatCtx->filename); ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavformat/avformat.h:1408:23: note: declared here char filename[1024]; ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp: In member function 'void openshot::FFmpegReader::CheckFPS()': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:1745:69: warning: 'int avpicture_alloc(AVPicture*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] avpicture_alloc(pFrame, pCodecCtx->pix_fmt, info.width, info.height); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:5407:5: note: declared here int avpicture_alloc(AVPicture *picture, enum AVPixelFormat pix_fmt, int width, int height); ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp: In member function 'void openshot::FFmpegReader::RemoveAVFrame(AVPicture*)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:1862:36: warning: 'void avpicture_free(AVPicture*)' is deprecated [-Wdeprecated-declarations] avpicture_free(remove_frame); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegReader.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegReader.cpp:31: /usr/include/libavcodec/avcodec.h:5413:6: note: declared here void avpicture_free(AVPicture *picture); ^~~~~~~~~~~~~~ make[2]: *** [src/CMakeFiles/openshot.dir/build.make:432: src/CMakeFiles/openshot.dir/FFmpegReader.cpp.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 38%] Building CXX object src/CMakeFiles/openshot.dir/EffectInfo.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/EffectInfo.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/EffectInfo.cpp make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 40%] Building CXX object src/CMakeFiles/openshot.dir/FFmpegWriter.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/FFmpegWriter.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In constructor 'openshot::FFmpegWriter::FFmpegWriter(std::__cxx11::string)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:49:18: warning: 'void av_register_all()' is deprecated [-Wdeprecated-declarations] av_register_all(); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:2025:6: note: declared here void av_register_all(void); ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::SetOption(openshot::StreamType, std::__cxx11::string, std::__cxx11::string)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:217:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = video_st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:217:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = video_st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:217:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = video_st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:219:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = audio_st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:219:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = audio_st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:219:17: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = audio_st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::WriteHeader()': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:334:18: warning: 'AVFormatContext::filename' is deprecated [-Wdeprecated-declarations] snprintf(oc->filename, sizeof(oc->filename), "%s", path.c_str()); ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:1408:23: note: declared here char filename[1024]; ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:334:18: warning: 'AVFormatContext::filename' is deprecated [-Wdeprecated-declarations] snprintf(oc->filename, sizeof(oc->filename), "%s", path.c_str()); ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:1408:23: note: declared here char filename[1024]; ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:334:18: warning: 'AVFormatContext::filename' is deprecated [-Wdeprecated-declarations] snprintf(oc->filename, sizeof(oc->filename), "%s", path.c_str()); ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:1408:23: note: declared here char filename[1024]; ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:334:39: warning: 'AVFormatContext::filename' is deprecated [-Wdeprecated-declarations] snprintf(oc->filename, sizeof(oc->filename), "%s", path.c_str()); ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:1408:23: note: declared here char filename[1024]; ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:334:39: warning: 'AVFormatContext::filename' is deprecated [-Wdeprecated-declarations] snprintf(oc->filename, sizeof(oc->filename), "%s", path.c_str()); ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:1408:23: note: declared here char filename[1024]; ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:334:39: warning: 'AVFormatContext::filename' is deprecated [-Wdeprecated-declarations] snprintf(oc->filename, sizeof(oc->filename), "%s", path.c_str()); ^~~~~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:1408:23: note: declared here char filename[1024]; ^ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::flush_encoders()': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:544:52: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (info.has_audio && audio_codec && audio_st->codec->codec_type == AVMEDIA_TYPE_AUDIO && audio_codec->frame_size <= 1) ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:544:52: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (info.has_audio && audio_codec && audio_st->codec->codec_type == AVMEDIA_TYPE_AUDIO && audio_codec->frame_size <= 1) ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:544:52: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (info.has_audio && audio_codec && audio_st->codec->codec_type == AVMEDIA_TYPE_AUDIO && audio_codec->frame_size <= 1) ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:546:37: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (info.has_video && video_st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (oc->oformat->flags & AVFMT_RAWPICTURE) && video_codec->codec->id == AV_CODEC_ID_RAWVIDEO) ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:546:37: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (info.has_video && video_st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (oc->oformat->flags & AVFMT_RAWPICTURE) && video_codec->codec->id == AV_CODEC_ID_RAWVIDEO) ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:546:37: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] if (info.has_video && video_st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (oc->oformat->flags & AVFMT_RAWPICTURE) && video_codec->codec->id == AV_CODEC_ID_RAWVIDEO) ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:546:102: error: 'AVFMT_RAWPICTURE' was not declared in this scope if (info.has_video && video_st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (oc->oformat->flags & AVFMT_RAWPICTURE) && video_codec->codec->id == AV_CODEC_ID_RAWVIDEO) ^~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:546:102: note: suggested alternative: 'AVFMT_NOFILE' if (info.has_video && video_st->codec->codec_type == AVMEDIA_TYPE_VIDEO && (oc->oformat->flags & AVFMT_RAWPICTURE) && video_codec->codec->id == AV_CODEC_ID_RAWVIDEO) ^~~~~~~~~~~~~~~~ AVFMT_NOFILE /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:573:75: warning: 'int avcodec_encode_video2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations] error_code = avcodec_encode_video2(video_codec, &pkt, NULL, &got_packet); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavcodec/avcodec.h:5386:5: note: declared here int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:647:75: warning: 'int avcodec_encode_audio2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations] error_code = avcodec_encode_audio2(audio_codec, &pkt, NULL, &got_packet); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavcodec/avcodec.h:5347:5: note: declared here int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::close_video(AVFormatContext*, AVStream*)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:688:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_close(st->codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:688:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_close(st->codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:688:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_close(st->codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::close_audio(AVFormatContext*, AVStream*)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:695:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_close(st->codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:695:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_close(st->codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:695:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_close(st->codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:708:23: warning: 'void avresample_close(AVAudioResampleContext*)' is deprecated [-Wdeprecated-declarations] avresample_close(avr); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavresample/avresample.h:245:6: note: declared here void avresample_close(AVAudioResampleContext *avr); ^~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:709:23: warning: 'void avresample_free(AVAudioResampleContext**)' is deprecated [-Wdeprecated-declarations] avresample_free(&avr); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavresample/avresample.h:258:6: note: declared here void avresample_free(AVAudioResampleContext **avr); ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:714:30: warning: 'void avresample_close(AVAudioResampleContext*)' is deprecated [-Wdeprecated-declarations] avresample_close(avr_planar); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavresample/avresample.h:245:6: note: declared here void avresample_close(AVAudioResampleContext *avr); ^~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:715:30: warning: 'void avresample_free(AVAudioResampleContext**)' is deprecated [-Wdeprecated-declarations] avresample_free(&avr_planar); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavresample/avresample.h:258:6: note: declared here void avresample_free(AVAudioResampleContext **avr); ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::Close()': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:739:29: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] av_freep(&oc->streams[i]->codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:739:29: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] av_freep(&oc->streams[i]->codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:739:29: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] av_freep(&oc->streams[i]->codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'AVStream* openshot::FFmpegWriter::add_audio_stream()': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:797:39: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_get_context_defaults3(st->codec, codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:797:39: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_get_context_defaults3(st->codec, codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:797:39: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_get_context_defaults3(st->codec, codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:799:10: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:799:10: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:799:10: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:861:15: error: 'CODEC_FLAG_GLOBAL_HEADER' was not declared in this scope c->flags |= CODEC_FLAG_GLOBAL_HEADER; ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:861:15: note: suggested alternative: 'AV_CODEC_FLAG_GLOBAL_HEADER' c->flags |= CODEC_FLAG_GLOBAL_HEADER; ^~~~~~~~~~~~~~~~~~~~~~~~ AV_CODEC_FLAG_GLOBAL_HEADER /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'AVStream* openshot::FFmpegWriter::add_video_stream()': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:885:39: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_get_context_defaults3(st->codec, codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:885:39: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_get_context_defaults3(st->codec, codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:885:39: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] avcodec_get_context_defaults3(st->codec, codec); ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:887:10: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:887:10: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:887:10: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:934:15: error: 'CODEC_FLAG_GLOBAL_HEADER' was not declared in this scope c->flags |= CODEC_FLAG_GLOBAL_HEADER; ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:934:15: note: suggested alternative: 'AV_CODEC_FLAG_GLOBAL_HEADER' c->flags |= CODEC_FLAG_GLOBAL_HEADER; ^~~~~~~~~~~~~~~~~~~~~~~~ AV_CODEC_FLAG_GLOBAL_HEADER /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:954:26: error: 'AVFMT_RAWPICTURE' was not declared in this scope oc->oformat->flags |= AVFMT_RAWPICTURE; ^~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:954:26: note: suggested alternative: 'AVFMT_NOFILE' oc->oformat->flags |= AVFMT_RAWPICTURE; ^~~~~~~~~~~~~~~~ AVFMT_NOFILE /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:961:299: error: 'AVFMT_RAWPICTURE' was not declared in this scope ZmqLogger::Instance()->AppendDebugMethod("FFmpegWriter::add_video_stream (" + (string)fmt->name + " : " + (string)av_get_pix_fmt_name(c->pix_fmt) + ")", "c->codec_id", c->codec_id, "c->bit_rate", c->bit_rate, "c->pix_fmt", c->pix_fmt, "oc->oformat->flags", oc->oformat->flags, "AVFMT_RAWPICTURE", AVFMT_RAWPICTURE, "", -1); ^~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:961:299: note: suggested alternative: 'AVFMT_NOFILE' ZmqLogger::Instance()->AppendDebugMethod("FFmpegWriter::add_video_stream (" + (string)fmt->name + " : " + (string)av_get_pix_fmt_name(c->pix_fmt) + ")", "c->codec_id", c->codec_id, "c->bit_rate", c->bit_rate, "c->pix_fmt", c->pix_fmt, "oc->oformat->flags", oc->oformat->flags, "AVFMT_RAWPICTURE", AVFMT_RAWPICTURE, "", -1); ^~~~~~~~~~~~~~~~ AVFMT_NOFILE /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::open_audio(AVFormatContext*, AVStream*)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:970:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] audio_codec = st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:970:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] audio_codec = st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:970:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] audio_codec = st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:992:15: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] switch (st->codec->codec_id) { ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:992:15: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] switch (st->codec->codec_id) { ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:992:15: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] switch (st->codec->codec_id) { ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1021:223: error: 'FF_INPUT_BUFFER_PADDING_SIZE' was not declared in this scope ZmqLogger::Instance()->AppendDebugMethod("FFmpegWriter::open_audio", "audio_codec->thread_count", audio_codec->thread_count, "audio_input_frame_size", audio_input_frame_size, "buffer_size", AVCODEC_MAX_AUDIO_FRAME_SIZE + FF_INPUT_BUFFER_PADDING_SIZE, "", -1, "", -1, "", -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1021:223: note: suggested alternative: 'AV_INPUT_BUFFER_PADDING_SIZE' ZmqLogger::Instance()->AppendDebugMethod("FFmpegWriter::open_audio", "audio_codec->thread_count", audio_codec->thread_count, "audio_input_frame_size", audio_input_frame_size, "buffer_size", AVCODEC_MAX_AUDIO_FRAME_SIZE + FF_INPUT_BUFFER_PADDING_SIZE, "", -1, "", -1, "", -1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ AV_INPUT_BUFFER_PADDING_SIZE /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::open_video(AVFormatContext*, AVStream*)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1029:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] video_codec = st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1029:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] video_codec = st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1029:20: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] video_codec = st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::write_audio_packets(bool)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1173:36: warning: 'AVAudioResampleContext* avresample_alloc_context()' is deprecated [-Wdeprecated-declarations] avr = avresample_alloc_context(); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavresample/avresample.h:194:25: note: declared here AVAudioResampleContext *avresample_alloc_context(void); ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1182:24: warning: 'int avresample_open(AVAudioResampleContext*)' is deprecated [-Wdeprecated-declarations] avresample_open(avr); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavresample/avresample.h:214:5: note: declared here int avresample_open(AVAudioResampleContext *avr); ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1193:29: warning: 'int avresample_convert(AVAudioResampleContext*, uint8_t**, int, int, uint8_t* const*, int, int)' is deprecated [-Wdeprecated-declarations] audio_frame->nb_samples); // number of input samples to convert ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavresample/avresample.h:451:5: note: declared here int avresample_convert(AVAudioResampleContext *avr, uint8_t **output, ^~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1248:44: warning: 'AVAudioResampleContext* avresample_alloc_context()' is deprecated [-Wdeprecated-declarations] avr_planar = avresample_alloc_context(); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavresample/avresample.h:194:25: note: declared here AVAudioResampleContext *avresample_alloc_context(void); ^~~~~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1257:32: warning: 'int avresample_open(AVAudioResampleContext*)' is deprecated [-Wdeprecated-declarations] avresample_open(avr_planar); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavresample/avresample.h:214:5: note: declared here int avresample_open(AVAudioResampleContext *avr); ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1286:30: warning: 'int avresample_convert(AVAudioResampleContext*, uint8_t**, int, int, uint8_t* const*, int, int)' is deprecated [-Wdeprecated-declarations] audio_frame->nb_samples); // number of input samples to convert ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:42:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavresample/avresample.h:451:5: note: declared here int avresample_convert(AVAudioResampleContext *avr, uint8_t **output, ^~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1329:90: warning: 'int avcodec_encode_audio2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations] int error_code = avcodec_encode_audio2(audio_codec, &pkt, frame_final, &got_packet_ptr); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavcodec/avcodec.h:5347:5: note: declared here int avcodec_encode_audio2(AVCodecContext *avctx, AVPacket *avpkt, ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'AVFrame* openshot::FFmpegWriter::allocate_avframe(AVPixelFormat, int, int, int*, uint8_t*)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1400:58: warning: 'int avpicture_get_size(AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] *buffer_size = avpicture_get_size(pix_fmt, width, height); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavcodec/avcodec.h:5434:5: note: declared here int avpicture_get_size(enum AVPixelFormat pix_fmt, int width, int height); ^~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1408:79: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] avpicture_fill((AVPicture *)new_av_frame, new_buffer, pix_fmt, width, height); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavcodec/avcodec.h:5419:5: note: declared here int avpicture_fill(AVPicture *picture, const uint8_t *ptr, ^~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::process_video_packet(std::shared_ptr)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1455:117: warning: 'int avpicture_fill(AVPicture*, const uint8_t*, AVPixelFormat, int, int)' is deprecated [-Wdeprecated-declarations] avpicture_fill((AVPicture *) frame_source, (uint8_t*)pixels, PIX_FMT_RGBA, source_image_width, source_image_height); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavcodec/avcodec.h:5419:5: note: declared here int avpicture_fill(AVPicture *picture, const uint8_t *ptr, ^~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'bool openshot::FFmpegWriter::write_video_packet(std::shared_ptr, AVFrame*)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1476:173: error: 'AVFMT_RAWPICTURE' was not declared in this scope ZmqLogger::Instance()->AppendDebugMethod("FFmpegWriter::write_video_packet", "frame->number", frame->number, "oc->oformat->flags & AVFMT_RAWPICTURE", oc->oformat->flags & AVFMT_RAWPICTURE, "", -1, "", -1, "", -1, "", -1); ^~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1476:173: note: suggested alternative: 'AVFMT_NOFILE' ZmqLogger::Instance()->AppendDebugMethod("FFmpegWriter::write_video_packet", "frame->number", frame->number, "oc->oformat->flags & AVFMT_RAWPICTURE", oc->oformat->flags & AVFMT_RAWPICTURE, "", -1, "", -1, "", -1, "", -1); ^~~~~~~~~~~~~~~~ AVFMT_NOFILE /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1525:86: warning: 'int avcodec_encode_video2(AVCodecContext*, AVPacket*, const AVFrame*, int*)' is deprecated [-Wdeprecated-declarations] error_code = avcodec_encode_video2(video_codec, &pkt, frame_final, &got_packet_ptr); ^ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:39:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavcodec/avcodec.h:5386:5: note: declared here int avcodec_encode_video2(AVCodecContext *avctx, AVPacket *avpkt, ^~~~~~~~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::InitScalers(int, int)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1598:16: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = video_st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1598:16: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = video_st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:1598:16: warning: 'AVStream::codec' is deprecated [-Wdeprecated-declarations] c = video_st->codec; ^~~~~ In file included from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegUtilities.h:40:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ChannelLayouts.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:60, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheBase.h:32, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/CacheMemory.h:34, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/ReaderBase.h:36, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/FFmpegWriter.h:39, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:31: /usr/include/libavformat/avformat.h:877:21: note: declared here AVCodecContext *codec; ^~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp: In member function 'void openshot::FFmpegWriter::WriteHeader()': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/FFmpegWriter.cpp:338:23: warning: ignoring return value of 'int avformat_write_header(AVFormatContext*, AVDictionary**)', declared with attribute warn_unused_result [-Wunused-result] avformat_write_header(oc, NULL); ~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~ make[2]: *** [src/CMakeFiles/openshot.dir/build.make:445: src/CMakeFiles/openshot.dir/FFmpegWriter.cpp.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' [ 42%] Building CXX object src/CMakeFiles/openshot.dir/Frame.cpp.o cd /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build/src && /usr/bin/c++ -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -DOPENSHOT_IMAGEMAGICK_COMPATIBILITY=0 -DQT_CORE_LIB -DQT_GUI_LIB -DQT_MULTIMEDIAWIDGETS_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_WIDGETS_LIB -DUSE_IMAGEMAGICK=1 -Dopenshot_EXPORTS -I/usr/include/ImageMagick-7 -I/usr/include/libopenshot-audio -isystem /usr/lib64/qt5/include -isystem /usr/lib64/qt5/include/QtWidgets -isystem /usr/lib64/qt5/include/QtGui -isystem /usr/lib64/qt5/include/QtCore -isystem /usr/lib64/qt5/./mkspecs/linux-g++ -isystem /usr/lib64/qt5/include/QtMultimedia -isystem /usr/lib64/qt5/include/QtNetwork -isystem /usr/lib64/qt5/include/QtMultimediaWidgets -I/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../thirdparty/jsoncpp/include -std=c++11 -g -ggdb -fopenmp -DNDEBUG -fPIC -fPIC -std=gnu++11 -o CMakeFiles/openshot.dir/Frame.cpp.o -c /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/Frame.cpp /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/Frame.cpp: In member function 'void openshot::Frame::AddImage(int, int, int, QImage::Format, const unsigned char*)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/Frame.cpp:719:51: warning: ignoring return value of 'QImage QImage::convertToFormat(QImage::Format, Qt::ImageConversionFlags) const &', declared with attribute nodiscard [-Wunused-result] image->convertToFormat(QImage::Format_RGBA8888); ^ In file included from /usr/lib64/qt5/include/QtGui/QImage:1:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:44, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/Frame.cpp:28: /usr/lib64/qt5/include/QtGui/qimage.h:182:46: note: declared here Q_REQUIRED_RESULT Q_ALWAYS_INLINE QImage convertToFormat(Format f, Qt::ImageConversionFlags flags = Qt::AutoColor) const & ^~~~~~~~~~~~~~~ /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/Frame.cpp: In member function 'void openshot::Frame::AddImage(std::shared_ptr)': /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/Frame.cpp:743:51: warning: ignoring return value of 'QImage QImage::convertToFormat(QImage::Format, Qt::ImageConversionFlags) const &', declared with attribute nodiscard [-Wunused-result] image->convertToFormat(QImage::Format_RGBA8888); ^ In file included from /usr/lib64/qt5/include/QtGui/QImage:1:0, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/../include/Frame.h:44, from /home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/src/Frame.cpp:28: /usr/lib64/qt5/include/QtGui/qimage.h:182:46: note: declared here Q_REQUIRED_RESULT Q_ALWAYS_INLINE QImage convertToFormat(Format f, Qt::ImageConversionFlags flags = Qt::AutoColor) const & ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/libopenshot-0.1.9/build' make[1]: *** [CMakeFiles/Makefile2:233: src/CMakeFiles/openshot.dir/all] Error 2 make: *** [Makefile:155: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ajLgJv (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.ajLgJv (%build) I: [iurt_root_command] ERROR: chroot