Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Build files have been written to: /dev/shm/tmp/ffmpegthumbs-git/src/build
- [ 12%] Automatic moc for target ffmpegthumbs
- [ 12%] Built target ffmpegthumbs_automoc
- [ 37%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/moviedecoder.cpp.o
- [ 37%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/videothumbnailer.cpp.o
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:0:
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:55:31: error: ‘PixelFormat’ has not been declared
- void convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight);
- ^~~~~~~~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:0:
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:56:88: error: ‘PixelFormat’ has not been declared
- void createAVFrame(AVFrame** avFrame, quint8** frameBuffer, int width, int height, PixelFormat format);
- ^~~~~~~~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/videothumbnailer.cpp:19:0:
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:55:31: error: ‘PixelFormat’ has not been declared
- void convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight);
- ^~~~~~~~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/videothumbnailer.cpp:19:0:
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:56:88: error: ‘PixelFormat’ has not been declared
- void createAVFrame(AVFrame** avFrame, quint8** frameBuffer, int width, int height, PixelFormat format);
- ^~~~~~~~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::initialize(const QString&)’:
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:70:36: error: ‘avcodec_alloc_frame’ was not declared in this scope
- m_pFrame = avcodec_alloc_frame();
- ^
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::destroy()’:
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:96:9: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
- av_free_packet(m_pPacket);
- ^~~~~~~~~~~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavcodec/avcodec.h:4404:6: note: declared here
- void av_free_packet(AVPacket *pkt);
- ^~~~~~~~~~~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:96:33: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
- av_free_packet(m_pPacket);
- ^
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavcodec/avcodec.h:4404:6: note: declared here
- void av_free_packet(AVPacket *pkt);
- ^~~~~~~~~~~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::initializeVideo()’:
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:124:43: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
- if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
- ^~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavformat/avformat.h:880:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:124:43: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
- if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
- ^~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavformat/avformat.h:880:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:124:43: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
- if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
- ^~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavformat/avformat.h:880:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:136:70: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
- m_pVideoCodecContext = m_pFormatContext->streams[m_VideoStream]->codec;
- ^~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavformat/avformat.h:880:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:136:70: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
- m_pVideoCodecContext = m_pFormatContext->streams[m_VideoStream]->codec;
- ^~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavformat/avformat.h:880:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:136:70: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
- m_pVideoCodecContext = m_pFormatContext->streams[m_VideoStream]->codec;
- ^~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavformat/avformat.h:880:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::seek(int)’:
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:194:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
- avcodec_flush_buffers(m_pFormatContext->streams[m_VideoStream]->codec);
- ^~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavformat/avformat.h:880:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:194:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
- avcodec_flush_buffers(m_pFormatContext->streams[m_VideoStream]->codec);
- ^~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavformat/avformat.h:880:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:194:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
- avcodec_flush_buffers(m_pFormatContext->streams[m_VideoStream]->codec);
- ^~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavformat/avformat.h:880:21: note: declared here
- AVCodecContext *codec;
- ^~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘bool ffmpegthumbnailer::MovieDecoder::decodeVideoPacket()’:
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:242:40: error: ‘avcodec_get_frame_defaults’ was not declared in this scope
- avcodec_get_frame_defaults(m_pFrame);
- ^
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:249:24: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
- int bytesDecoded = avcodec_decode_video2(m_pVideoCodecContext, m_pFrame, &frameFinished, m_pPacket);
- ^~~~~~~~~~~~~~~~~~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavcodec/avcodec.h:4743:5: note: declared here
- int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
- ^~~~~~~~~~~~~~~~~~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:249:103: warning: ‘int avcodec_decode_video2(AVCodecContext*, AVFrame*, int*, const AVPacket*)’ is deprecated [-Wdeprecated-declarations]
- int bytesDecoded = avcodec_decode_video2(m_pVideoCodecContext, m_pFrame, &frameFinished, m_pPacket);
- ^
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavcodec/avcodec.h:4743:5: note: declared here
- int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
- ^~~~~~~~~~~~~~~~~~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘bool ffmpegthumbnailer::MovieDecoder::getVideoPacket()’:
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:267:9: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
- av_free_packet(m_pPacket);
- ^~~~~~~~~~~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavcodec/avcodec.h:4404:6: note: declared here
- void av_free_packet(AVPacket *pkt);
- ^~~~~~~~~~~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:267:33: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
- av_free_packet(m_pPacket);
- ^
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavcodec/avcodec.h:4404:6: note: declared here
- void av_free_packet(AVPacket *pkt);
- ^~~~~~~~~~~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:278:17: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
- av_free_packet(m_pPacket);
- ^~~~~~~~~~~~~~
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavcodec/avcodec.h:4404:6: note: declared here
- void av_free_packet(AVPacket *pkt);
- ^~~~~~~~~~~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:278:41: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
- av_free_packet(m_pPacket);
- ^
- In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
- from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
- /usr/local/include/libavcodec/avcodec.h:4404:6: note: declared here
- void av_free_packet(AVPacket *pkt);
- ^~~~~~~~~~~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::getScaledVideoFrame(int, bool, ffmpegthumbnailer::VideoFrame&)’:
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:290:88: error: ‘avpicture_deinterlace’ was not declared in this scope
- m_pVideoCodecContext->width, m_pVideoCodecContext->height);
- ^
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:294:26: error: ‘PIX_FMT_RGB24’ was not declared in this scope
- convertAndScaleFrame(PIX_FMT_RGB24, scaledSize, maintainAspectRatio, scaledWidth, scaledHeight);
- ^~~~~~~~~~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: At global scope:
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:305:41: error: variable or field ‘convertAndScaleFrame’ declared void
- void MovieDecoder::convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight)
- ^~~~~~~~~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:305:41: error: ‘PixelFormat’ was not declared in this scope
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:305:61: error: expected primary-expression before ‘int’
- void MovieDecoder::convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight)
- ^~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:305:77: error: expected primary-expression before ‘bool’
- void MovieDecoder::convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight)
- ^~~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:305:103: error: expected primary-expression before ‘int’
- MovieDecoder::convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight)
- ^~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:305:121: error: expected primary-expression before ‘int’
- vertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight)
- ^~~
- /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:367:1: error: expected ‘}’ at end of input
- }
- ^
- CMakeFiles/ffmpegthumbs.dir/build.make:110: recipe for target 'CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/moviedecoder.cpp.o' failed
- make[2]: *** [CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/moviedecoder.cpp.o] Error 1
- make[2]: ** Esperando que outros processos terminem.
- CMakeFiles/ffmpegthumbs.dir/build.make:158: recipe for target 'CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/videothumbnailer.cpp.o' failed
- make[2]: *** [CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/videothumbnailer.cpp.o] Error 1
- CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/ffmpegthumbs.dir/all' failed
- make[1]: *** [CMakeFiles/ffmpegthumbs.dir/all] Error 2
- Makefile:127: recipe for target 'all' failed
- make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement