[Musicpd-dev-team] mp4ff.h not available under Ubuntu Lucid (10.04)
Hello folks, Something similar to this was mentioned at the end of a recent thread (MPD reads Artist Tag Incorrectly (could be a bug).), concerning the unavailability of libmp4ff under Fedora 12. The issue seems to boil down to the fact that MPD is using a library which has been discontinued by its developers, and is supposed to start using some other library instead. The point of this message is partly to bring up this issue, and partly to provide a workaround for Ubuntu users who wish to build MPD with MP4 support. And partly to make sure I didn't miss anything really obvious ;) I recently upgraded my Ubuntu install to 10.04 (Lucid Lynx) and discovered that MPD's configure script couldn't find the file mp4ff.h, and was thus unable to enable the MP4 input format. There doesn't seem to be any info about this on the MPD wiki, and not much in other places, but after some digging I discovered a few things: - Max Kellermann already knows about this, since he posted last year to a discussion of the Debian bug for this issue ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550679#57;). I'm assuming that fixing this is on somebody's to-do list, but I didn't see anything in Mantis for it, so I'm not sure whether to file a bug or just let it go, or whether I've missed something somewhere. - The Debian bug report discussion also contains an instruction from one of the faad2 developers to use mp4v2 instead (if it is MPL-compatible) or ffmpeg (prefered) [sic]. - Although the Ubuntu packages have been deleted and are not available via apt, the .deb files for Lucid versions of both libmp4ff-dev (which contains mp4ff.h) and its dependency libmp4ff0 are available from launchpad.net. I downloaded them and installed them with $(dpkg -i) and was subsequently able to build MPD release-0.15.9 with working mp4 support. The header file that MPD looks for (mp4ff.h) doesn't appear to have been relocated into any other package: a search using $(apt-file mp4ff) came up empty. - I've also discovered that the mpd package from the gmpc mpd-trunk ubuntu PPA is built with mp4 support and without installing the libmp4ff package; I'm not sure how this is arranged. Ubuntu users can find those packages at these URLs: libmp4ff0 package info: https://launchpad.net/ubuntu/lucid/amd64/libmp4ff0/2.7-2 https://launchpad.net/ubuntu/lucid/amd64/libmp4ff0/2.7-2libmp4ff0 .deb file: http://launchpadlibrarian.net/35261144/libmp4ff0_2.7-2_amd64.deb libmp4ff-dev package info: https://launchpad.net/ubuntu/lucid/amd64/libmp4ff-dev/2.7-2 https://launchpad.net/ubuntu/lucid/amd64/libmp4ff-dev/2.7-2libmp4ff-dev .deb file: http://launchpadlibrarian.net/35261142/libmp4ff-dev_2.7-2_amd64.deb Thanks to all of you for your work in making mpd super great! Cheers -Ted -- ___ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team
Re: [Musicpd-dev-team] mp4ff.h not available under Ubuntu Lucid (10.04)
I'm not doing anything radical with the mpd-trunk packages, in fact, after looking at the build logs it seems that mpd is building mp4 support from FFmpeg. The headers for ffmpeg is provided by the libavcodec-dev package. --Taylor L-Wren On Thu, 2010-05-06 at 23:03 -0300, Ted wrote: Hello folks, Something similar to this was mentioned at the end of a recent thread (MPD reads Artist Tag Incorrectly (could be a bug).), concerning the unavailability of libmp4ff under Fedora 12. The issue seems to boil down to the fact that MPD is using a library which has been discontinued by its developers, and is supposed to start using some other library instead. The point of this message is partly to bring up this issue, and partly to provide a workaround for Ubuntu users who wish to build MPD with MP4 support. And partly to make sure I didn't miss anything really obvious ;) I recently upgraded my Ubuntu install to 10.04 (Lucid Lynx) and discovered that MPD's configure script couldn't find the file mp4ff.h, and was thus unable to enable the MP4 input format. There doesn't seem to be any info about this on the MPD wiki, and not much in other places, but after some digging I discovered a few things: - Max Kellermann already knows about this, since he posted last year to a discussion of the Debian bug for this issue (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=550679#57;). I'm assuming that fixing this is on somebody's to-do list, but I didn't see anything in Mantis for it, so I'm not sure whether to file a bug or just let it go, or whether I've missed something somewhere. - The Debian bug report discussion also contains an instruction from one of the faad2 developers to use mp4v2 instead (if it is MPL-compatible) or ffmpeg (prefered) [sic]. - Although the Ubuntu packages have been deleted and are not available via apt, the .deb files for Lucid versions of both libmp4ff-dev (which contains mp4ff.h) and its dependency libmp4ff0 are available from launchpad.net. I downloaded them and installed them with $(dpkg -i) and was subsequently able to build MPD release-0.15.9 with working mp4 support. The header file that MPD looks for (mp4ff.h) doesn't appear to have been relocated into any other package: a search using $(apt-file mp4ff) came up empty. - I've also discovered that the mpd package from the gmpc mpd-trunk ubuntu PPA is built with mp4 support and without installing the libmp4ff package; I'm not sure how this is arranged. Ubuntu users can find those packages at these URLs: libmp4ff0 package info: https://launchpad.net/ubuntu/lucid/amd64/libmp4ff0/2.7-2 libmp4ff0 .deb file: http://launchpadlibrarian.net/35261144/libmp4ff0_2.7-2_amd64.deb libmp4ff-dev package info: https://launchpad.net/ubuntu/lucid/amd64/libmp4ff-dev/2.7-2 libmp4ff-dev .deb file: http://launchpadlibrarian.net/35261142/libmp4ff-dev_2.7-2_amd64.deb Thanks to all of you for your work in making mpd super great! Cheers -Ted -- ___ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team -- ___ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team
Re: [Musicpd-dev-team] mp4ff.h not available under Ubuntu Lucid (10.04)
I believe the libavutil-dev and libavformat-dev packages are also required; the former is a dependency of libavcodec-dev, but I had to install the latter myself. On Thu, May 6, 2010 at 9:16 PM, Taylor LeMasurier-Wren ripps...@gmail.comwrote: I'm not doing anything radical with the mpd-trunk packages, in fact, after looking at the build logs it seems that mpd is building mp4 support from FFmpeg. The headers for ffmpeg is provided by the libavcodec-dev package. --Taylor L-Wren -- ___ Musicpd-dev-team mailing list Musicpd-dev-team@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/musicpd-dev-team