Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Linking to https://www.kubuntuforums.net/showthread.php?32568-Video-Previews&p=367642&viewfull=1#post367642
- Installing:
- git
- build-essential
- cmake
- extra-cmake-modules
- kio-dev
- pkg-config
- libavformat-dev
- libavcodec-dev
- libswscale-dev
- wile@coyote:~/Public$ git clone git://anongit.kde.org/ffmpegthumbs
- Cloning into 'ffmpegthumbs'...
- remote: Counting objects: 530, done.
- remote: Compressing objects: 100% (229/229), done.
- remote: Total 530 (delta 300), reused 530 (delta 300)
- Receiving objects: 100% (530/530), 83.04 KiB | 0 bytes/s, done.
- Resolving deltas: 100% (300/300), done.
- Checking connectivity... done.
- wile@coyote:~/Public$ cd ffmpegthumbs
- wile@coyote:~/Public/ffmpegthumbs$ git checkout origin/frameworks
- Note: checking out 'origin/frameworks'.
- You are in 'detached HEAD' state. You can look around, make experimental
- changes and commit them, and you can discard any commits you make in this
- state without impacting any branches by performing another checkout.
- If you want to create a new branch to retain commits you create, you may
- do so (now or later) by using -b with the checkout command again. Example:
- git checkout -b <new-branch-name>
- HEAD is now at c06602f... Port to Frameworks
- wile@coyote:~/Public$ cd ffmpegthumbs
- wile@coyote:~/Public/ffmpegthumbs$ mkdir -p builddir
- wile@coyote:~/Public/ffmpegthumbs$ cd builddir && cmake .. -DCMAKE_INSTALL_PREFIX=$(kf5-config --prefix) -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
- -- The C compiler identification is GNU 5.2.1
- -- The CXX compiler identification is GNU 5.2.1
- -- 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
- -- Looking for __GLIBC__
- -- Looking for __GLIBC__ - found
- -- Performing Test _OFFT_IS_64BIT
- -- Performing Test _OFFT_IS_64BIT - Success
- -- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.13.0")
- -- Found KF5: success (found version "5.13.0") found components: KIO
- -- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
- -- checking for module 'libavcodec'
- -- found libavcodec, version 56.41.100
- -- checking for module 'libavformat'
- -- found libavformat, version 56.36.100
- -- checking for module 'libavdevice'
- -- package 'libavdevice' not found
- -- checking for module 'libavutil'
- -- found libavutil, version 54.27.100
- -- checking for module 'libswscale'
- -- found libswscale, version 3.1.101
- -- checking for module 'libpostproc'
- -- package 'libpostproc' not found
- -- Found FFmpeg: /usr/lib/x86_64-linux-gnu/libavcodec.so;/usr/lib/x86_64-linux-gnu/libavformat.so;/usr/lib/x86_64-linux-gnu/libswscale.so
- -- Configuring done
- -- Generating done
- -- Build files have been written to: /home/wile/Public/ffmpegthumbs/builddir
- wile@coyote:~/Public/ffmpegthumbs/builddir$ sudo make install
- [sudo] password for wile:
- Scanning dependencies of target ffmpegthumbs_automoc
- [ 6%] Automatic moc for target ffmpegthumbs
- Generating moc_ffmpegthumbnailer.cpp
- [ 6%] Built target ffmpegthumbs_automoc
- Scanning dependencies of target ffmpegthumbs
- [ 13%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer.cpp.o
- [ 20%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/filmstripfilter.cpp.o
- [ 26%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/moviedecoder.cpp.o
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::initialize(const QString&)’:
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:70:16: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated [-Wdeprecated-declarations]
- m_pFrame = avcodec_alloc_frame();
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3635:10: note: declared here
- AVFrame *avcodec_alloc_frame(void);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:70:16: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated [-Wdeprecated-declarations]
- m_pFrame = avcodec_alloc_frame();
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3635:10: note: declared here
- AVFrame *avcodec_alloc_frame(void);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:70:36: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated [-Wdeprecated-declarations]
- m_pFrame = avcodec_alloc_frame();
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3635:10: note: declared here
- AVFrame *avcodec_alloc_frame(void);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘bool ffmpegthumbnailer::MovieDecoder::decodeVideoPacket()’:
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:242:5: warning: ‘void avcodec_get_frame_defaults(AVFrame*)’ is deprecated [-Wdeprecated-declarations]
- avcodec_get_frame_defaults(m_pFrame);
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3645:6: note: declared here
- void avcodec_get_frame_defaults(AVFrame *frame);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:242:5: warning: ‘void avcodec_get_frame_defaults(AVFrame*)’ is deprecated [-Wdeprecated-declarations]
- avcodec_get_frame_defaults(m_pFrame);
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3645:6: note: declared here
- void avcodec_get_frame_defaults(AVFrame *frame);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:242:40: warning: ‘void avcodec_get_frame_defaults(AVFrame*)’ is deprecated [-Wdeprecated-declarations]
- avcodec_get_frame_defaults(m_pFrame);
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3645:6: note: declared here
- void avcodec_get_frame_defaults(AVFrame *frame);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::getScaledVideoFrame(int, bool, ffmpegthumbnailer::VideoFrame&)’:
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:289:9: warning: ‘int avpicture_deinterlace(AVPicture*, const AVPicture*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
- avpicture_deinterlace((AVPicture*) m_pFrame, (AVPicture*) m_pFrame, m_pVideoCodecContex
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4849:5: note: declared here
- int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:289:9: warning: ‘int avpicture_deinterlace(AVPicture*, const AVPicture*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
- avpicture_deinterlace((AVPicture*) m_pFrame, (AVPicture*) m_pFrame, m_pVideoCodecContex
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4849:5: note: declared here
- int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:290:88: warning: ‘int avpicture_deinterlace(AVPicture*, const AVPicture*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
- m_pVideoCodecContext->width, m_pVideoCodecContext->height);
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4849:5: note: declared here
- int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::createAVFrame(AVFrame**, quint8**, int, int, AVPixelFormat)’:
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:360:16: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated [-Wdeprecated-declarations]
- *avFrame = avcodec_alloc_frame();
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3635:10: note: declared here
- AVFrame *avcodec_alloc_frame(void);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:360:16: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated [-Wdeprecated-declarations]
- *avFrame = avcodec_alloc_frame();
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3635:10: note: declared here
- AVFrame *avcodec_alloc_frame(void);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:360:36: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated [-Wdeprecated-declarations]
- *avFrame = avcodec_alloc_frame();
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3635:10: note: declared here
- AVFrame *avcodec_alloc_frame(void);
- ^
- [ 33%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/imagewriter.cpp.o
- [ 40%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/videothumbnailer.cpp.o
- [ 46%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbs_automoc.cpp.o
- Linking CXX shared module ffmpegthumbs.so
- [ 46%] Built target ffmpegthumbs
- Scanning dependencies of target ffmpegthumbtest_automoc
- [ 53%] Automatic moc for target ffmpegthumbtest
- Generating moc_ffmpegthumbnailer.cpp
- [ 53%] Built target ffmpegthumbtest_automoc
- Scanning dependencies of target ffmpegthumbtest
- [ 60%] Building CXX object tests/CMakeFiles/ffmpegthumbtest.dir/ffmpegthumbtest.cpp.o
- [ 66%] Building CXX object tests/CMakeFiles/ffmpegthumbtest.dir/__/ffmpegthumbnailer.cpp.o
- [ 73%] Building CXX object tests/CMakeFiles/ffmpegthumbtest.dir/__/ffmpegthumbnailer/filmstripfilter.cpp.o
- [ 80%] Building CXX object tests/CMakeFiles/ffmpegthumbtest.dir/__/ffmpegthumbnailer/moviedecoder.cpp.o
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::initialize(const QString&)’:
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:70:16: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated [-Wdeprecated-declarations]
- m_pFrame = avcodec_alloc_frame();
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3635:10: note: declared here
- AVFrame *avcodec_alloc_frame(void);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:70:16: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated [-Wdeprecated-declarations]
- m_pFrame = avcodec_alloc_frame();
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3635:10: note: declared here
- AVFrame *avcodec_alloc_frame(void);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:70:36: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated [-Wdeprecated-declarations]
- m_pFrame = avcodec_alloc_frame();
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3635:10: note: declared here
- AVFrame *avcodec_alloc_frame(void);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘bool ffmpegthumbnailer::MovieDecoder::decodeVideoPacket()’:
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:242:5: warning: ‘void avcodec_get_frame_defaults(AVFrame*)’ is deprecated [-Wdeprecated-declarations]
- avcodec_get_frame_defaults(m_pFrame);
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3645:6: note: declared here
- void avcodec_get_frame_defaults(AVFrame *frame);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:242:5: warning: ‘void avcodec_get_frame_defaults(AVFrame*)’ is deprecated [-Wdeprecated-declarations]
- avcodec_get_frame_defaults(m_pFrame);
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3645:6: note: declared here
- void avcodec_get_frame_defaults(AVFrame *frame);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:242:40: warning: ‘void avcodec_get_frame_defaults(AVFrame*)’ is deprecated [-Wdeprecated-declarations]
- avcodec_get_frame_defaults(m_pFrame);
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3645:6: note: declared here
- void avcodec_get_frame_defaults(AVFrame *frame);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::getScaledVideoFrame(int, bool, ffmpegthumbnailer::VideoFrame&)’:
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:289:9: warning: ‘int avpicture_deinterlace(AVPicture*, const AVPicture*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
- avpicture_deinterlace((AVPicture*) m_pFrame, (AVPicture*) m_pFrame, m_pVideoCodecContex
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4849:5: note: declared here
- int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:289:9: warning: ‘int avpicture_deinterlace(AVPicture*, const AVPicture*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
- avpicture_deinterlace((AVPicture*) m_pFrame, (AVPicture*) m_pFrame, m_pVideoCodecContex
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4849:5: note: declared here
- int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:290:88: warning: ‘int avpicture_deinterlace(AVPicture*, const AVPicture*, AVPixelFormat, int, int)’ is deprecated [-Wdeprecated-declarations]
- m_pVideoCodecContext->width, m_pVideoCodecContext->height);
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:4849:5: note: declared here
- int avpicture_deinterlace(AVPicture *dst, const AVPicture *src,
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::createAVFrame(AVFrame**, quint8**, int, int, AVPixelFormat)’:
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:360:16: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated [-Wdeprecated-declarations]
- *avFrame = avcodec_alloc_frame();
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3635:10: note: declared here
- AVFrame *avcodec_alloc_frame(void);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:360:16: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated [-Wdeprecated-declarations]
- *avFrame = avcodec_alloc_frame();
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3635:10: note: declared here
- AVFrame *avcodec_alloc_frame(void);
- ^
- /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:360:36: warning: ‘AVFrame* avcodec_alloc_frame()’ is deprecated [-Wdeprecated-declarations]
- *avFrame = avcodec_alloc_frame();
- ^
- In file included from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /home/wile/Public/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/include/x86_64-linux-gnu/libavcodec/avcodec.h:3635:10: note: declared here
- AVFrame *avcodec_alloc_frame(void);
- ^
- [ 86%] Building CXX object tests/CMakeFiles/ffmpegthumbtest.dir/__/ffmpegthumbnailer/imagewriter.cpp.o
- [ 93%] Building CXX object tests/CMakeFiles/ffmpegthumbtest.dir/__/ffmpegthumbnailer/videothumbnailer.cpp.o
- [100%] Building CXX object tests/CMakeFiles/ffmpegthumbtest.dir/ffmpegthumbtest_automoc.cpp.o
- Linking CXX executable ffmpegthumbtest
- [100%] Built target ffmpegthumbtest
- Install the project...
- -- Install configuration: "Release"
- -- Installing: /usr/lib/x86_64-linux-gnu/qt5/plugins/ffmpegthumbs.so
- -- Installing: /usr/share/kservices5/ffmpegthumbs.desktop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement