When building ffmpeg and mplayer with amr support, the USE flag differs. It seems to be "amr" for ffmpeg, which then links in both amrnb and amrwb libraries, while it apparently is "amrnb" and "amrwb" for mplayer. Neither of the three are mentioned in /usr/portage/profiles/use.desc All three are needed, though, to fully use mplayer/mencoder on video files with amr audio streams (as produced by a variety of PDAs, Cell phones etc.). The USE flags should be unified and - at least - documented. Reproducible: Always Steps to Reproduce: 1. Have no amr-specific USE flag in make.conf. Run "emerge ffmpeg mplayer". ldd /usr/bin/mplayer | grep -i amr ldd /usr/lib/libavcodec.so | grep -i amr both return empty. 2. Add USE flag "amr" to make.conf. Run "emerge ffmpeg mplayer". ldd /usr/bin/mplayer | grep -i amr returns empty ldd /usr/lib/libavcodec.so | grep -i amr returns: libamrnb.so.3 => /usr/lib/libamrnb.so.3 (0xb773f000) libamrwb.so.3 => /usr/lib/libamrwb.so.3 (0xb76f7000) 3. Have USE flags "amr amrnb amrwb" in make.conf. Run "emerge ffmpeg mplayer". ldd /usr/bin/mplayer | grep -i amr and ldd /usr/lib/libavcodec.so | grep -i amr both return: libamrnb.so.3 => /usr/lib/libamrnb.so.3 (0xb773f000) libamrwb.so.3 => /usr/lib/libamrwb.so.3 (0xb76f7000)
They are documented in profiles/use.local.desc as well as each packages metadata.xml. And you don't actually need amr support in ffmpeg to use mplayer or mencoder (the mplayer package doesn't depend on ffmpeg).