[MPlayer-users] make error: 'CONFIG_LIBVORBIS_ENCODER', 'CONFIG_LIBX264_ENCODER', CONFIG_LIBOPUS_ENCODER' and 'CONFIG_LIBVPX_VP9_ENCODER'

max muster steyding at yahoo.de
Fri Sep 2 11:23:16 EEST 2022


 Hello,
i've got the following error if i compile mplayer from actual SVN and actual FFMPEG git in MSYS2 environment:

$ make
make -C ffmpeg libavformat/libavformat.a
make[1]: Entering directory '/trunk/mplayer-unpatched/ffmpeg'

WARNING: libavdevice/alldevices.c libavfilter/allfilters.c libavformat/allformats.c libavcodec/allcodecs.c libavcodec/bitstream_filters.c libavcodec/hwaccels.h libavcodec/parsers.c libavformat/protocols.c newer than config_components.h, rerun configure

CC      libavformat/matroskaenc.o
libavformat/matroskaenc.c:3325:26: error: 'CONFIG_LIBVORBIS_ENCODER' undeclared here (not in a function); did you mean 'CONFIG_VORBIS_PARSER'?
 3325 |     .audio_codec       = CONFIG_LIBVORBIS_ENCODER ?
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~
      |                          CONFIG_VORBIS_PARSER
libavformat/matroskaenc.c:3327:26: error: 'CONFIG_LIBX264_ENCODER' undeclared here (not in a function); did you mean 'CONFIG_LIBX264'?
 3327 |     .video_codec       = CONFIG_LIBX264_ENCODER ?
      |                          ^~~~~~~~~~~~~~~~~~~~~~
      |                          CONFIG_LIBX264
libavformat/matroskaenc.c:3363:26: error: 'CONFIG_LIBOPUS_ENCODER' undeclared here (not in a function); did you mean 'CONFIG_LIBOPENJPEG'?
 3363 |     .audio_codec       = CONFIG_LIBOPUS_ENCODER ? AV_CODEC_ID_OPUS : AV_CODEC_ID_VORBIS,
      |                          ^~~~~~~~~~~~~~~~~~~~~~
      |                          CONFIG_LIBOPENJPEG
libavformat/matroskaenc.c:3364:26: error: 'CONFIG_LIBVPX_VP9_ENCODER' undeclared here (not in a function)
 3364 |     .video_codec       = CONFIG_LIBVPX_VP9_ENCODER? AV_CODEC_ID_VP9 : AV_CODEC_ID_VP8,
      |                          ^~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: *** [ffbuild/common.mak:81: libavformat/matroskaenc.o] Error 1
make[1]: Leaving directory '/trunk/mplayer-unpatched/ffmpeg'
make: *** [Makefile:744: ffmpeg/libavformat/libavformat.a] Error 2
Regards, Mark



More information about the MPlayer-users mailing list