[MPlayer-dev-eng] [RFC][PATCH 0/8] Adjustments for current FFmpeg git including major bumps

Alexander Strasser eclipse7 at gmx.net
Fri Apr 5 23:34:14 EEST 2024


On 2024-04-05 10:42 +0200, Ingo Brückl wrote:
> On Thu, 4 Apr 2024 23:36:49 +0200, Alexander Strasser wrote:
>
> > On 2024-04-04 19:01 +0200, Ingo Brückl wrote:
> >> (2) With current ffmpeg checkout, statically linked with MPlayer
> >>     (--enable-gui --enable-ffmpeg_a) I get errors while compiling:
> >>
> >>   libavformat/dvdvideodec.c:35:10: fatal error: dvdnav/dvdnav.h: No such file or directory
>
> > Could you change MPlayer configure like this
>
> > -libavdemuxers=$(filter_out_component demuxer 'AVISYNTH LIB[A-Z0-9_]*
> > REDIR VAPOURSYNTH')
> > +libavdemuxers=$(filter_out_component demuxer 'AVISYNTH LIB[A-Z0-9_]*
> > REDIR VAPOURSYNTH DVDVIDEO')
>
> > and try a fresh build?
>
> It compiles now, but does not link due to iamf:
>
> /usr/bin/ld: ffmpeg/libavformat/iamfdec.o: in function `iamf_read_close':
> iamfdec.c:(.text+0xa): undefined reference to `ff_iamf_read_deinit'
> /usr/bin/ld: ffmpeg/libavformat/iamfdec.o: in function `iamf_read_packet':
> iamfdec.c:(.text+0x36): undefined reference to `ff_iamf_read_packet'
> /usr/bin/ld: ffmpeg/libavformat/iamfdec.o: in function `iamf_read_header':
> iamfdec.c:(.text+0x7b): undefined reference to `ff_iamfdec_read_descriptors'
> /usr/bin/ld: ffmpeg/libavformat/iamfdec.o: in function `iamf_probe':
> iamfdec.c:(.text+0x3bf): undefined reference to `ff_iamf_parse_obu_header'
> /usr/bin/ld: ffmpeg/libavformat/iamfenc.o: in function `iamf_init':
> iamfenc.c:(.text+0x18d): undefined reference to `ff_iamf_add_audio_element'
> /usr/bin/ld: iamfenc.c:(.text+0x1d5): undefined reference to `ff_iamf_add_mix_presentation'
> /usr/bin/ld: ffmpeg/libavformat/iamfenc.o: in function `iamf_write_trailer':
> iamfenc.c:(.text+0x281): undefined reference to `ff_iamf_write_descriptors'
> /usr/bin/ld: ffmpeg/libavformat/iamfenc.o: in function `iamf_write_header':
> iamfenc.c:(.text+0x2cd): undefined reference to `ff_iamf_write_descriptors'
> /usr/bin/ld: ffmpeg/libavformat/iamfenc.o: in function `iamf_write_packet':
> iamfenc.c:(.text+0x324): undefined reference to `ff_iamf_write_audio_frame'
> /usr/bin/ld: iamfenc.c:(.text+0x355): undefined reference to `ff_iamf_write_parameter_blocks'
> /usr/bin/ld: ffmpeg/libavformat/iamfenc.o: in function `iamf_deinit':
> iamfenc.c:(.text+0x5): undefined reference to `ff_iamf_uninit_context'
> /usr/bin/ld: mplayer: hidden symbol `ff_iamf_uninit_context' isn't defined

Are you somehow missing commit r38449 by Reimar?

You could also check config.h and config.mak:

    $ grep IAMF config.h config.mak
    config.h:#define CONFIG_IAMF_DEMUXER 1
    config.h:#define CONFIG_IAMF_MUXER 1
    config.mak:CONFIG_IAMF_DEMUXER = yes
    config.mak:CONFIG_IAMF_MUXER = yes


  Alexander


More information about the MPlayer-dev-eng mailing list