Bug 6169 - strigi uses deprecated symbols of ffmpeg
Summary: strigi uses deprecated symbols of ffmpeg
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: Mageia 3
Assignee: Mageia Bug Squad
QA Contact:
URL: https://projects.kde.org/projects/kde...
Whiteboard:
Keywords:
Depends on:
Blocks: 6141
  Show dependency treegraph
 
Reported: 2012-05-30 03:23 CEST by Funda Wang
Modified: 2013-01-29 17:39 CET (History)
1 user (show)

See Also:
Source RPM: strigi-0.7.7-2.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Funda Wang 2012-05-30 03:23:29 CEST
strigi uses deprecated symbols of ffmpeg. It builds failure with ffmpeg 0.11:

[ 82%] Building CXX object strigiutils/bin/deepfind/CMakeFiles/dummyindexer.dir/dummyindexer.cpp.o
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp: In member function 'virtual signed char FFMPEGEndAnalyzer::analyze(Strigi::AnalysisResult&, Strigi::InputStream*)':
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:308:3: error: 'ByteIOContext' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:308:17: error: expected ';' before 'ByteIOCtx'
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:309:21: error: 'ByteIOCtx' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:309:85: error: 'init_put_byte' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:313:3: error: 'ByteIOCtx' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:328:57: error: 'av_open_input_stream' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:331:3: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:331:25: warning: 'int av_find_stream_info(AVFormatContext*)' is deprecated (declared at /usr/include/libavformat/avformat.h:1357) [-Wdeprecated-declarations]
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:334:46: error: 'dump_format' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:378:7: error: 'AVMetadataTag' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:378:22: error: 'entry' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:378:82: error: 'av_metadata_get' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:433:33: error: 'SAMPLE_FMT_NONE' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:472:3: error: 'AVMetadataTag' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:472:18: error: 'entry' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:472:72: error: 'av_metadata_get' was not declared in this scope
/home/iurt/rpm/BUILD/strigi-0.7.7/libstreamanalyzer/plugins/endplugins/ffmpegendanalyzer.cpp:550:27: error: 'av_close_input_stream' was not declared in this scope

And it is unlikely be fixed in upstream. The latest code of strigi landed at 2011 Aug:
https://projects.kde.org/projects/kdesupport/strigi/libstreamanalyzer/repository/revisions/master/show/plugins/endplugins
Funda Wang 2012-05-30 03:23:50 CEST

Blocks: (none) => 6141
Target Milestone: --- => Mageia 3

Comment 1 Barry Jackson 2012-07-14 23:42:39 CEST
Yes - maybe we should stay with ffmpeg-0.10, the change to 0.11 has also broken zoneminder (tainted) which is unlikely to be fixed easily.

https://bugs.mageia.org/show_bug.cgi?id=6760

http://upstream-tracker.org/compat_reports/ffmpeg/0.10.4_to_0.11/abi_compat_report.html#Withdrawn

CC: (none) => zen25000

Comment 2 Funda Wang 2013-01-29 17:39:21 CET
Fixed by upstream:

https://projects.kde.org/projects/kdesupport/strigi/libstreamanalyzer/repository/revisions/4fa4678c1673abf525965e9ee21ac65dba9d2539

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.