Source: ffmpegthumbnailer
Version: 2.1.1-0.2
Severity: important
X-Debbugs-Cc: sramac...@debian.org
Tags: sid bookworm ftbfs
Usertags: ffmpeg5.0

ffmpegthumbnailer FTBFS with ffmpeg 5.0 in experimental:

/usr/lib/ccache/c++ -D__STDC_CONSTANT_MACROS -Dlibffmpegthumbnailer_EXPORTS 
-I/<<PKGBUILDDIR>>/obj-x86_64-linux-gnu -g -O2 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -fPIC -MD 
-MT CMakeFiles/libffmpegthumbnailer.dir/libffmpegthumbnailer/pngwriter.cpp.o 
-MF CMakeFiles/libffmpegthumbnailer.dir/libffmpegthumbnailer/pngwriter.cpp.o.d 
-o CMakeFiles/libffmpegthumbnailer.dir/libffmpegthumbnailer/pngwriter.cpp.o -c 
/<<PKGBUILDDIR>>/libffmpegthumbnailer/pngwriter.cpp
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp: In member function 
‘void ffmpegthumbnailer::MovieDecoder::initialize(const string&)’:
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp:71:5: error: 
‘av_register_all’ was not declared in this scope
   71 |     av_register_all();
      |     ^~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp:72:5: error: 
‘avcodec_register_all’ was not declared in this scope
   72 |     avcodec_register_all();
      |     ^~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp: In member function 
‘void ffmpegthumbnailer::MovieDecoder::initializeVideo()’:
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp:138:43: error: 
‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
  138 |         if (m_pFormatContext->streams[i]->codec->codec_type == 
AVMEDIA_TYPE_VIDEO)
      |                                           ^~~~~
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp:152:70: error: 
‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
  152 |     m_pVideoCodecContext = 
m_pFormatContext->streams[m_VideoStream]->codec;
      |                                                                      
^~~~~
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp:153:41: error: invalid 
conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  153 |     m_pVideoCodec = 
avcodec_find_decoder(m_pVideoCodecContext->codec_id);
      |                     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                                         |
      |                                         const AVCodec*
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp: In member function 
‘void ffmpegthumbnailer::MovieDecoder::initializeFilterGraph(AVRational, int, 
int)’:
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp:177:99: warning: 
‘AVBufferSinkParams* av_buffersink_params_alloc()’ is deprecated 
[-Wdeprecated-declarations]
  177 |     std::unique_ptr<AVBufferSinkParams, decltype(del)> 
buffersinkParams(av_buffersink_params_alloc(), del);
      |                                                                         
~~~~~~~~~~~~~~~~~~~~~~~~~~^~
In file included from /<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp:33:
/usr/include/x86_64-linux-gnu/libavfilter/buffersink.h:112:21: note: declared 
here
  112 | AVBufferSinkParams *av_buffersink_params_alloc(void);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp:179:5: error: 
‘avfilter_register_all’ was not declared in this scope
  179 |     avfilter_register_all();
      |     ^~~~~~~~~~~~~~~~~~~~~
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp: In member function 
‘void ffmpegthumbnailer::MovieDecoder::seek(int)’:
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp:267:69: error: 
‘AVStream’ {aka ‘struct AVStream’} has no member named ‘codec’
  267 |     
avcodec_flush_buffers(m_pFormatContext->streams[m_VideoStream]->codec);
      |                                                                     
^~~~~
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp: In member function 
‘bool ffmpegthumbnailer::MovieDecoder::decodeVideoPacket()’:
/<<PKGBUILDDIR>>/libffmpegthumbnailer/moviedecoder.cpp:323:24: error: 
‘avcodec_decode_video2’ was not declared in this scope; did you mean 
‘avcodec_decode_subtitle2’?
  323 |     int bytesDecoded = avcodec_decode_video2(m_pVideoCodecContext, 
m_pFrame, &frameFinished, m_pPacket);
      |                        ^~~~~~~~~~~~~~~~~~~~~
      |                        avcodec_decode_subtitle2
make[3]: *** [CMakeFiles/libffmpegthumbnailer.dir/build.make:79: 
CMakeFiles/libffmpegthumbnailer.dir/libffmpegthumbnailer/moviedecoder.cpp.o] 
Error 1


Cheers
-- 
Sebastian Ramacher

Attachment: signature.asc
Description: PGP signature

Reply via email to