#107 ffmpegendanalyzer uses deprecated ffmpeg API calls

open
nobody
analyzers (34)
5
2011-01-01
2011-01-01
Elias Probst
No

The ffmpegendanalyzer uses deprecated ffmpeg API calls, see the following build output:

[ 74%] [ 74%] Building CXX object libstreamanalyzer/plugins/endplugins/CMakeFiles/ffmpeg.dir/ffmpegendanalyzer.cpp.o
Building CXX object libstreamanalyzer/plugins/endplugins/CMakeFiles/jpeg.dir/jpegendanalyzer.cpp.o
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp: In member function 'virtual signed char FFMPEGEndAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::InputStream*)':
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:373: warning: 'AVStream::language' is deprecated (declared at /usr/include/libavformat/avformat.h:573)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:373: warning: 'AVStream::language' is deprecated (declared at /usr/include/libavformat/avformat.h:573)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:374: warning: 'AVStream::language' is deprecated (declared at /usr/include/libavformat/avformat.h:573)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:374: warning: 'AVStream::language' is deprecated (declared at /usr/include/libavformat/avformat.h:573)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:462: warning: 'AVFormatContext::title' is deprecated (declared at /usr/include/libavformat/avformat.h:728)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:462: warning: 'AVFormatContext::title' is deprecated (declared at /usr/include/libavformat/avformat.h:728)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:463: warning: 'AVFormatContext::title' is deprecated (declared at /usr/include/libavformat/avformat.h:728)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:463: warning: 'AVFormatContext::title' is deprecated (declared at /usr/include/libavformat/avformat.h:728)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:465: warning: 'AVFormatContext::author' is deprecated (declared at /usr/include/libavformat/avformat.h:729)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:465: warning: 'AVFormatContext::author' is deprecated (declared at /usr/include/libavformat/avformat.h:729)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:469: warning: 'AVFormatContext::author' is deprecated (declared at /usr/include/libavformat/avformat.h:729)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:469: warning: 'AVFormatContext::author' is deprecated (declared at /usr/include/libavformat/avformat.h:729)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:471: warning: 'AVFormatContext::copyright' is deprecated (declared at /usr/include/libavformat/avformat.h:730)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:471: warning: 'AVFormatContext::copyright' is deprecated (declared at /usr/include/libavformat/avformat.h:730)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:472: warning: 'AVFormatContext::copyright' is deprecated (declared at /usr/include/libavformat/avformat.h:730)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:472: warning: 'AVFormatContext::copyright' is deprecated (declared at /usr/include/libavformat/avformat.h:730)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:474: warning: 'AVFormatContext::comment' is deprecated (declared at /usr/include/libavformat/avformat.h:731)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:474: warning: 'AVFormatContext::comment' is deprecated (declared at /usr/include/libavformat/avformat.h:731)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:475: warning: 'AVFormatContext::comment' is deprecated (declared at /usr/include/libavformat/avformat.h:731)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:475: warning: 'AVFormatContext::comment' is deprecated (declared at /usr/include/libavformat/avformat.h:731)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:477: warning: 'AVFormatContext::album' is deprecated (declared at /usr/include/libavformat/avformat.h:732)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:477: warning: 'AVFormatContext::album' is deprecated (declared at /usr/include/libavformat/avformat.h:732)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:481: warning: 'AVFormatContext::album' is deprecated (declared at /usr/include/libavformat/avformat.h:732)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:481: warning: 'AVFormatContext::album' is deprecated (declared at /usr/include/libavformat/avformat.h:732)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:483: warning: 'AVFormatContext::genre' is deprecated (declared at /usr/include/libavformat/avformat.h:735)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:483: warning: 'AVFormatContext::genre' is deprecated (declared at /usr/include/libavformat/avformat.h:735)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:484: warning: 'AVFormatContext::genre' is deprecated (declared at /usr/include/libavformat/avformat.h:735)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:484: warning: 'AVFormatContext::genre' is deprecated (declared at /usr/include/libavformat/avformat.h:735)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:486: warning: 'AVFormatContext::track' is deprecated (declared at /usr/include/libavformat/avformat.h:734)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:486: warning: 'AVFormatContext::track' is deprecated (declared at /usr/include/libavformat/avformat.h:734)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:487: warning: 'AVFormatContext::track' is deprecated (declared at /usr/include/libavformat/avformat.h:734)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:487: warning: 'AVFormatContext::track' is deprecated (declared at /usr/include/libavformat/avformat.h:734)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:489: warning: 'AVFormatContext::year' is deprecated (declared at /usr/include/libavformat/avformat.h:733)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:489: warning: 'AVFormatContext::year' is deprecated (declared at /usr/include/libavformat/avformat.h:733)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:490: warning: 'AVFormatContext::year' is deprecated (declared at /usr/include/libavformat/avformat.h:733)
/var/tmp/portage/app-misc/strigi-9999/work/strigi-9999/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:490: warning: 'AVFormatContext::year' is deprecated (declared at /usr/include/libavformat/avformat.h:733)

Discussion


  • Anonymous
    2011-05-21

    Strigi doesn't compile anymore with Fedora 15 and FFMPEG 0.6.90. It simply claims to not detect the installed headers, but FFMPEG devel packages are installed.

    Obviously, this is the reason.