Advertisement
Guest User

Untitled

a guest
Jun 8th, 2016
339
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.06 KB | None | 0 0
  1. -- Build files have been written to: /dev/shm/tmp/ffmpegthumbs-git/src/build
  2. [ 12%] Automatic moc for target ffmpegthumbs
  3. [ 12%] Built target ffmpegthumbs_automoc
  4. [ 37%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/moviedecoder.cpp.o
  5. [ 37%] Building CXX object CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/videothumbnailer.cpp.o
  6. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:0:
  7. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:55:31: error: ‘PixelFormat’ has not been declared
  8. void convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight);
  9. ^~~~~~~~~~~
  10. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:0:
  11. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:56:88: error: ‘PixelFormat’ has not been declared
  12. void createAVFrame(AVFrame** avFrame, quint8** frameBuffer, int width, int height, PixelFormat format);
  13. ^~~~~~~~~~~
  14. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/videothumbnailer.cpp:19:0:
  15. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:55:31: error: ‘PixelFormat’ has not been declared
  16. void convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight);
  17. ^~~~~~~~~~~
  18. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/videothumbnailer.cpp:19:0:
  19. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:56:88: error: ‘PixelFormat’ has not been declared
  20. void createAVFrame(AVFrame** avFrame, quint8** frameBuffer, int width, int height, PixelFormat format);
  21. ^~~~~~~~~~~
  22. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::initialize(const QString&)’:
  23. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:70:36: error: ‘avcodec_alloc_frame’ was not declared in this scope
  24. m_pFrame = avcodec_alloc_frame();
  25. ^
  26. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::destroy()’:
  27. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:96:9: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  28. av_free_packet(m_pPacket);
  29. ^~~~~~~~~~~~~~
  30. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
  31. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  32. /usr/local/include/libavcodec/avcodec.h:4404:6: note: declared here
  33. void av_free_packet(AVPacket *pkt);
  34. ^~~~~~~~~~~~~~
  35. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:96:33: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  36. av_free_packet(m_pPacket);
  37. ^
  38. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
  39. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  40. /usr/local/include/libavcodec/avcodec.h:4404:6: note: declared here
  41. void av_free_packet(AVPacket *pkt);
  42. ^~~~~~~~~~~~~~
  43. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::initializeVideo()’:
  44. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:124:43: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
  45. if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
  46. ^~~~~
  47. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
  48. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  49. /usr/local/include/libavformat/avformat.h:880:21: note: declared here
  50. AVCodecContext *codec;
  51. ^~~~~
  52. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:124:43: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
  53. if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
  54. ^~~~~
  55. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
  56. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  57. /usr/local/include/libavformat/avformat.h:880:21: note: declared here
  58. AVCodecContext *codec;
  59. ^~~~~
  60. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:124:43: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
  61. if (m_pFormatContext->streams[i]->codec->codec_type == AVMEDIA_TYPE_VIDEO) {
  62. ^~~~~
  63. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
  64. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  65. /usr/local/include/libavformat/avformat.h:880:21: note: declared here
  66. AVCodecContext *codec;
  67. ^~~~~
  68. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:136:70: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
  69. m_pVideoCodecContext = m_pFormatContext->streams[m_VideoStream]->codec;
  70. ^~~~~
  71. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
  72. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  73. /usr/local/include/libavformat/avformat.h:880:21: note: declared here
  74. AVCodecContext *codec;
  75. ^~~~~
  76. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:136:70: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
  77. m_pVideoCodecContext = m_pFormatContext->streams[m_VideoStream]->codec;
  78. ^~~~~
  79. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
  80. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  81. /usr/local/include/libavformat/avformat.h:880:21: note: declared here
  82. AVCodecContext *codec;
  83. ^~~~~
  84. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:136:70: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
  85. m_pVideoCodecContext = m_pFormatContext->streams[m_VideoStream]->codec;
  86. ^~~~~
  87. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
  88. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  89. /usr/local/include/libavformat/avformat.h:880:21: note: declared here
  90. AVCodecContext *codec;
  91. ^~~~~
  92. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::seek(int)’:
  93. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:194:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
  94. avcodec_flush_buffers(m_pFormatContext->streams[m_VideoStream]->codec);
  95. ^~~~~
  96. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
  97. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  98. /usr/local/include/libavformat/avformat.h:880:21: note: declared here
  99. AVCodecContext *codec;
  100. ^~~~~
  101. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:194:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
  102. avcodec_flush_buffers(m_pFormatContext->streams[m_VideoStream]->codec);
  103. ^~~~~
  104. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
  105. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  106. /usr/local/include/libavformat/avformat.h:880:21: note: declared here
  107. AVCodecContext *codec;
  108. ^~~~~
  109. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:194:73: warning: ‘AVStream::codec’ is deprecated [-Wdeprecated-declarations]
  110. avcodec_flush_buffers(m_pFormatContext->streams[m_VideoStream]->codec);
  111. ^~~~~
  112. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:25:0,
  113. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  114. /usr/local/include/libavformat/avformat.h:880:21: note: declared here
  115. AVCodecContext *codec;
  116. ^~~~~
  117. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘bool ffmpegthumbnailer::MovieDecoder::decodeVideoPacket()’:
  118. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:242:40: error: ‘avcodec_get_frame_defaults’ was not declared in this scope
  119. avcodec_get_frame_defaults(m_pFrame);
  120. ^
  121. /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]
  122. int bytesDecoded = avcodec_decode_video2(m_pVideoCodecContext, m_pFrame, &frameFinished, m_pPacket);
  123. ^~~~~~~~~~~~~~~~~~~~~
  124. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
  125. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  126. /usr/local/include/libavcodec/avcodec.h:4743:5: note: declared here
  127. int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
  128. ^~~~~~~~~~~~~~~~~~~~~
  129. /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]
  130. int bytesDecoded = avcodec_decode_video2(m_pVideoCodecContext, m_pFrame, &frameFinished, m_pPacket);
  131. ^
  132. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
  133. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  134. /usr/local/include/libavcodec/avcodec.h:4743:5: note: declared here
  135. int avcodec_decode_video2(AVCodecContext *avctx, AVFrame *picture,
  136. ^~~~~~~~~~~~~~~~~~~~~
  137. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘bool ffmpegthumbnailer::MovieDecoder::getVideoPacket()’:
  138. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:267:9: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  139. av_free_packet(m_pPacket);
  140. ^~~~~~~~~~~~~~
  141. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
  142. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  143. /usr/local/include/libavcodec/avcodec.h:4404:6: note: declared here
  144. void av_free_packet(AVPacket *pkt);
  145. ^~~~~~~~~~~~~~
  146. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:267:33: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  147. av_free_packet(m_pPacket);
  148. ^
  149. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
  150. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  151. /usr/local/include/libavcodec/avcodec.h:4404:6: note: declared here
  152. void av_free_packet(AVPacket *pkt);
  153. ^~~~~~~~~~~~~~
  154. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:278:17: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  155. av_free_packet(m_pPacket);
  156. ^~~~~~~~~~~~~~
  157. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
  158. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  159. /usr/local/include/libavcodec/avcodec.h:4404:6: note: declared here
  160. void av_free_packet(AVPacket *pkt);
  161. ^~~~~~~~~~~~~~
  162. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:278:41: warning: ‘void av_free_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  163. av_free_packet(m_pPacket);
  164. ^
  165. In file included from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.h:24:0,
  166. from /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:17:
  167. /usr/local/include/libavcodec/avcodec.h:4404:6: note: declared here
  168. void av_free_packet(AVPacket *pkt);
  169. ^~~~~~~~~~~~~~
  170. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: In member function ‘void ffmpegthumbnailer::MovieDecoder::getScaledVideoFrame(int, bool, ffmpegthumbnailer::VideoFrame&)’:
  171. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:290:88: error: ‘avpicture_deinterlace’ was not declared in this scope
  172. m_pVideoCodecContext->width, m_pVideoCodecContext->height);
  173. ^
  174. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:294:26: error: ‘PIX_FMT_RGB24’ was not declared in this scope
  175. convertAndScaleFrame(PIX_FMT_RGB24, scaledSize, maintainAspectRatio, scaledWidth, scaledHeight);
  176. ^~~~~~~~~~~~~
  177. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp: At global scope:
  178. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:305:41: error: variable or field ‘convertAndScaleFrame’ declared void
  179. void MovieDecoder::convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight)
  180. ^~~~~~~~~~~
  181. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:305:41: error: ‘PixelFormat’ was not declared in this scope
  182. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:305:61: error: expected primary-expression before ‘int’
  183. void MovieDecoder::convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight)
  184. ^~~
  185. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:305:77: error: expected primary-expression before ‘bool’
  186. void MovieDecoder::convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight)
  187. ^~~~
  188. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:305:103: error: expected primary-expression before ‘int’
  189. MovieDecoder::convertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight)
  190. ^~~
  191. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:305:121: error: expected primary-expression before ‘int’
  192. vertAndScaleFrame(PixelFormat format, int scaledSize, bool maintainAspectRatio, int& scaledWidth, int& scaledHeight)
  193. ^~~
  194. /dev/shm/tmp/ffmpegthumbs-git/src/ffmpegthumbs/ffmpegthumbnailer/moviedecoder.cpp:367:1: error: expected ‘}’ at end of input
  195. }
  196. ^
  197. CMakeFiles/ffmpegthumbs.dir/build.make:110: recipe for target 'CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/moviedecoder.cpp.o' failed
  198. make[2]: *** [CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/moviedecoder.cpp.o] Error 1
  199. make[2]: ** Esperando que outros processos terminem.
  200. CMakeFiles/ffmpegthumbs.dir/build.make:158: recipe for target 'CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/videothumbnailer.cpp.o' failed
  201. make[2]: *** [CMakeFiles/ffmpegthumbs.dir/ffmpegthumbnailer/videothumbnailer.cpp.o] Error 1
  202. CMakeFiles/Makefile2:99: recipe for target 'CMakeFiles/ffmpegthumbs.dir/all' failed
  203. make[1]: *** [CMakeFiles/ffmpegthumbs.dir/all] Error 2
  204. Makefile:127: recipe for target 'all' failed
  205. make: *** [all] Error 2
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement