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

Ingo Brückl ib at oddnet.de
Thu Apr 4 20:01:39 EEST 2024


On Thu, 4 Apr 2024 00:38:27 +0200, Alexander Strasser wrote:

> As always comments and testing very welcome!

Here you go:

(1) With current ffmpeg checkout, compiled and linked as shared libraries
    (--enable-gui --disable-ffmpeg_a) - something that has always worked -
    I am missing some audio output now, for example:

  Trying to force audio codec driver family hwac3...
  Requested audio codec family [mpg123] (afm=mpg123) not available.
  Enable it at compilation.
  Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
  AUDIO: 44100 Hz, 2 ch, floatle, 96.0 kbit/3.40% (ratio: 12000->352800)
  Selected audio codec: [ffmp2float] afm: ffmpeg (FFmpeg MPEG layer-1 and layer-2 audio)
  ==========================================================================
  AO: [alsa] 48000Hz 2ch floatle (4 bytes per sample)
  [SWR @ 0xb6cdc080]Input channel layout "" is invalid or unsupported.
  [libaf] Reinitialization did not work, audio filter 'lavcresample' returned error code -2
  Couldn't find matching filter/ao format!
  Audio: no sound

or

  Trying to force audio codec driver family hwac3...
  Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
  [eac3 @ 0xb6022600]Too many channels: 1551
  Could not open codec.
  ADecoder init failed :(
  ADecoder init failed :(
  Opening audio decoder: [spdif] libavformat/spdifenc audio pass-through decoder.
  [spdif @ 0xb6c078c0]spdif muxer does not support any stream of type unknown
  ADecoder init failed :(
  ADecoder init failed :(
  Cannot find codec for audio format 0x33434145.
  Audio: no sound


(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

even though

  #undef CONFIG_DVDNAV
  #undef CONFIG_DVDREAD

in my config.h. Trying to use my dvdnav/dvdread v6.0.0 include files
(probably too old) leads to further errors:

  libavformat/dvdvideodec.c:174:51: error: unknown type name 'dvd_logger_level_t'
  libavformat/dvdvideodec.c:191:50: error: unknown type name 'dvdnav_logger_level_t'
  libavformat/dvdvideodec.c: In function 'dvdvideo_ifo_open':
  libavformat/dvdvideodec.c:227:5: error: unknown type name 'dvd_logger_cb'

Ingo


More information about the MPlayer-dev-eng mailing list