Package Details: opensmile 3.0.2-2

Git Clone URL: https://aur.archlinux.org/opensmile.git (read-only, click to copy)
Package Base: opensmile
Description: A fast, real-time (audio) feature extraction utility for automatic speech, music and paralinguistic recognition research
Upstream URL: https://github.com/audeering/opensmile/
Keywords: emotion feature_extraction speech
Licenses: custom
Submitter: None
Maintainer: agkphysics
Last Packager: agkphysics
Votes: 3
Popularity: 0.000000
First Submitted: 2013-03-02 21:15 (UTC)
Last Updated: 2023-11-06 05:54 (UTC)

Required by (0)

Sources (1)

Latest Comments

1 2 Next › Last »

simona commented on 2023-02-16 17:32 (UTC)

make[2]: [CMakeFiles/opensmile.dir/build.make:776:
CMakeFiles/opensmile.dir/src/ffmpeg/ffmpegSource.cpp.o] Error 1
make[1]:
[CMakeFiles/Makefile2:136: CMakeFiles/opensmile.dir/all] Error 2

simona commented on 2022-08-13 09:50 (UTC)

/home/simona/.cache/yay/opensmile/src/opensmile-3.0.1/src/ffmpeg
/ffmpegSource.cpp: In member function ‘void cFFmpegSource::openAVCodecContext(int, AVCodecContext, AVFormatContext)’:
/home/simona/.cache/yay/opensmile/src/opensmile-3.0.1/src/ffmpeg/ffmpegSource.cpp:264:79: error: invalid conversion from ‘AVCodec’ to ‘const AVCodec’ [-fpermissive]
264 | if ((ret = av_find_best_stream(avFormatContext, AVMEDIA_TYPE_AUDIO, -1, -1, &decoder, 0)) < 0) {
|
^~~~~~~~
|
| | AVCodec
In file included from /home/simona/.cache/yay/opensmile/src/opensmile-3.0.1/src/include/ffmpeg/ffmpegSource.hpp:21,
from /home/simona/.cache/yay/opensmile/src/opensmile-3.0.1/src/ffmpeg/ffmpegSource.cpp:16:
/usr/include/libavformat/avformat.h:2165:41: note: initializing argument 5 of ‘int av_find_best_stream(AVFormatContext, AVMediaType, int, int, const AVCodec, int)’
2165 | const AVCodec
decoder_ret,
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
/home/simona/.cache/yay/opensmile/src/opensmile-3.0.1/src/ffmpeg/ffmpegSource.cpp: In member function ‘void cFFmpegSource::readAndSendPacketToDecoder()’:
/home/simona/.cache/yay/opensmile/src/opensmile-3.0.1/src/ffmpeg/ffmpegSource.cpp:302:17: warning: ‘void av_init_packet(AVPacket)’ is deprecated [-Wdeprecated-declarations]
302 | av_init_packet(&avPacket);
| ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:45, from /home/simona/.cache/yay/opensmile/src/opensmile-3.0.1/src/include/ffmpeg/ffmpegSource.hpp:20:
/usr/include/libavcodec/packet.h:506:6: note: declared here 506 | void av_init_packet(AVPacket
pkt);
| ^~~~~~~~~~~~~~
make[2]:
[CMakeFiles/opensmile.dir/build.make:776:
CMakeFiles/opensmile.dir/src/ffmpeg/ffmpegSource.cpp.o] Errore 1

agkphysics commented on 2022-08-13 09:29 (UTC)

@simona This should be fixed with the latest PKGBUILD.

simona commented on 2022-08-13 09:18 (UTC)

In file included from /usr/include/libavcodec/avcodec.h:45,
from /home/simona/.cache/yay/opensmile/src/opensmile-3.0.1/src/include/ffmpeg/ffmpegSource.hpp:20:
/usr/include/libavcodec/packet.h:506:6: note: declared here
506 | void av_init_packet(AVPacket pkt);
| ^~~~~~~~~~~~~~
make[2]:
** [CMakeFiles/opensmile.dir/build.make:776:
CMakeFiles/opensmile.dir/src/ffmpeg/ffmpegSource.cpp.o] Errore 1

agkphysics commented on 2022-08-13 01:42 (UTC)

@petronny Thanks for mentioning this. I've changed the dependency to ffmpeg4.4 and added the two lines you suggested, so it should build properly now.

petronny commented on 2022-08-06 07:18 (UTC) (edited on 2022-08-06 07:23 (UTC) by petronny)

To build with ffmpeg4.4, currently these two line

export PKG_CONFIG_PATH="/usr/lib/ffmpeg4.4/pkgconfig/"
sed 's/PC_LIB/PC_/g' -i "$srcdir/$pkgname-$pkgver/cmake/FindFFmpeg.cmake"

are needed before cmake.

I've also created a PR for the second line on github.

petronny commented on 2022-08-04 12:00 (UTC)

I think this error should be related to the API changes in ffmpeg 5.0.

Could you try to build this package against ffmpeg4.4?

petronny commented on 2022-07-04 13:01 (UTC) (edited on 2022-07-04 13:01 (UTC) by petronny)

Getting the following error:

[ 48%] Building CXX object CMakeFiles/opensmile.dir/src/examples/simpleMessageSender.cpp.o
[ 48%] Building CXX object CMakeFiles/opensmile.dir/src/ffmpeg/ffmpegSource.cpp.o
/build/opensmile/src/opensmile-3.0.1/src/ffmpeg/ffmpegSource.cpp: In member function ‘void cFFmpegSource::openAVCodecContext(int*, AVCodecContext**, AVFormatContext*)’:
/build/opensmile/src/opensmile-3.0.1/src/ffmpeg/ffmpegSource.cpp:264:79: error: invalid conversion from ‘AVCodec**’ to ‘const AVCodec**’ [-fpermissive]
  264 |   if ((ret = av_find_best_stream(avFormatContext, AVMEDIA_TYPE_AUDIO, -1, -1, &decoder, 0)) < 0) {
      |                                                                               ^~~~~~~~
      |                                                                               |
      |                                                                               AVCodec**
In file included from /build/opensmile/src/opensmile-3.0.1/src/include/ffmpeg/ffmpegSource.hpp:21,
                 from /build/opensmile/src/opensmile-3.0.1/src/ffmpeg/ffmpegSource.cpp:16:
/usr/include/libavformat/avformat.h:2165:41: note:   initializing argument 5 of ‘int av_find_best_stream(AVFormatContext*, AVMediaType, int, int, const AVCodec**, int)’
 2165 |                         const AVCodec **decoder_ret,
      |                         ~~~~~~~~~~~~~~~~^~~~~~~~~~~
/build/opensmile/src/opensmile-3.0.1/src/ffmpeg/ffmpegSource.cpp: In member function ‘void cFFmpegSource::readAndSendPacketToDecoder()’:
/build/opensmile/src/opensmile-3.0.1/src/ffmpeg/ffmpegSource.cpp:302:17: warning: ‘void av_init_packet(AVPacket*)’ is deprecated [-Wdeprecated-declarations]
  302 |   av_init_packet(&avPacket);
      |   ~~~~~~~~~~~~~~^~~~~~~~~~~
In file included from /usr/include/libavcodec/avcodec.h:45,
                 from /build/opensmile/src/opensmile-3.0.1/src/include/ffmpeg/ffmpegSource.hpp:20:
/usr/include/libavcodec/packet.h:506:6: note: declared here
  506 | void av_init_packet(AVPacket *pkt);
      |      ^~~~~~~~~~~~~~
make[2]: *** [CMakeFiles/opensmile.dir/build.make:776: CMakeFiles/opensmile.dir/src/ffmpeg/ffmpegSource.cpp.o] Error 1
make[2]: Leaving directory '/build/opensmile/src/build'
make[1]: *** [CMakeFiles/Makefile2:136: CMakeFiles/opensmile.dir/all] Error 2
make[1]: Leaving directory '/build/opensmile/src/build'
make: *** [Makefile:136: all] Error 2
make: Leaving directory '/build/opensmile/src/build'
==> ERROR: A failure occurred in build().
    Aborting...

Full build log: https://github.com/arch4edu/cactus/runs/6915687478?check_suite_focus=true

petronny commented on 2016-11-24 15:43 (UTC) (edited on 2016-11-24 15:43 (UTC) by petronny)

@niklaszantner In build(), build it with make -j1