Ubuntu – How to play .aac / .m4a files in cmus in 14.04 (trusty)

14.04aacm4a

I am unable to playback .m4a (aac) files in cmus. They work in mplayer and totem. Anyone know a fix?

$ cat /etc/issue
Ubuntu 14.04.1 LTS \n \l

I already tried blowing away ~/.gstreamer*, updating cmus and cmus-plugin-ffmpeg…

Best Answer

Currently the ffmpeg plugin is broken. To enable aac in .m4a or .mp4 libmp4v2 has to be enabled in the cmus build.

To that end you can build yourself adding libmp4v2-dev to the build deps.

Otherwise have latest 2.6 here in an almost stand-alone ppa, has another semi orphan in Aqualung. Libav support has been removed

https://launchpad.net/~mc3man/+archive/ubuntu/aqua-tests

As far as lavc support. The main issue is Libav has dropped swresample for avresample & cmus will not work well or at all with avresample. However FFmpeg still builds both. So to that end a fully enabled cmus 2.6 with ffmpeg.so included is available here.

Please note that this ppa includes both Libav11 & FFmpeg 2.4.x & Will Not be Suitable for all. Read the page carefully before adding..

https://launchpad.net/~mc3man/+archive/ubuntu/testing6

Related Question