Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 277025 - media-sound/squeezecenter-7.3.3: Problems playing m4a files
Summary: media-sound/squeezecenter-7.3.3: Problems playing m4a files
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Joe Peterson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-07-08 12:07 UTC by ralphy
Modified: 2009-07-10 11:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
New 7.3.3-r1 ebuild (squeezecenter-7.3.3-r1.ebuild,16.08 KB, text/plain)
2009-07-10 07:45 UTC, Stuart Hickinbottom
Details
Updated AAC patch (squeezecenter-7.3.3-r1-aac-transcode-gentoo.patch,2.36 KB, patch)
2009-07-10 07:47 UTC, Stuart Hickinbottom
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description ralphy 2009-07-08 12:07:56 UTC
I can't play m4a files using the latest 7.3.3 ebuild. My SB3 just skips through all the songs continuously. I've tracked it down to the unpatched SC version of faad on my system.

I downloaded the contents of 7.3/trunk/vendor/faad2 and ran the buildme-linux.sh script. The script applied 2 patches to the source, one for the SC version and a stdin patch from bpa. Once the compile completed I extracted the faad binary from the created tar file and replaced the /usr/bin/faad file with the new one.

m4a files now play without issue.


Reproducible: Always

Steps to Reproduce:
1.Select an m4a encoded album
2.Press play on the remote


Actual Results:  
m4a songs don't play, their titles just cycle across the SB3 display

Expected Results:  
Perhap use a different decoder application that can read from stdin to decode m4a files.

Portage 2.1.6.7 (default/linux/x86/2008.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.28.7-ARCH i686)
=================================================================
System uname: Linux-2.6.28.7-ARCH-i686-Intel-R-_Pentium-R-_4_CPU_2.40GHz-with-glibc2.0
Timestamp of tree: Sat, 07 Mar 2009 12:35:01 +0000
app-shells/bash:     3.2_p39
dev-lang/python:     2.5.2-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.28-r1
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://gentoo.arcticnetwork.ca/pub/gentoo/ ftp://mirrors.tera-byte.com/pub/gentoo http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ "
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d a52 aac aalib acl alac alsa ao apache2 ati audiofile automount bash-completion berkdb bzip2 cddb cdio cdparanoia cdr cgi cli cracklib crypt cups curl cvs dri dvd encode expat ffmpeg flac fortran gdbm gnome gnutls gpm gs gtk iconv id3tag imap iproute2 ipv6 isdnlog jbig joystick jpeg jpeg2k kde ladspa lame lcms ldap libedit libsamplerate lzo mad mbox midi mmx mozsha1 mp3 mudflap multiuser musepack mysql ncurses nls nox nptl nptlonly ogg openmp oss overlays pam passwordsave pcre perl php png pppd python qt4 quotas rar readline recode reflection rle samba sasl server session slp sndfile sni sockets spl sse sse2 ssl subversion suexec symlink sysfs tcpd threads tiff tk unicode urandom vim-syntax vorbis wavpack webdav x86 xinetd xml xorg xsl zip zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Stuart Hickinbottom 2009-07-09 17:49:05 UTC
This can be assigned to me as the proxy maintainer for this package. I've been talking to Ralphy about it and have a fix queued up.
Comment 2 Stuart Hickinbottom 2009-07-09 21:37:30 UTC
SqueezeCenter (FC) uses FAAD to support AAC media files. It turns out that SC normally bundles a modified version of FAAD that has a patch supplied, and SqueezeCenter relies on that patch being applied if it's streaming AAC to the player as anything other than WAV (eg by default SC wants to convert AAC to FLAC for streaming to the player, and that transcoding pipeline doesn't work unless FAAD has that patch applied).

Since the SC ebuild doesn't use the bundled FAAD this causes the failure reported here.

For reference, the patch applied to the bundled FAAD is contained here:
http://svn.slimdevices.com/slim?view=revision&revision=25246

SC has recently changed to using FAAD to perform AAC decoding, before then it used mplayer. Reverting to mplayer fixes this bug.

I plan to introduce a patch in the next version of the ebuild (7.3.3-r1 or 7.3.4 depending on when I get things ready) that will revert back to mplayer and resolve this bug.

Joe, as this is a fairly significant bug (basically you can't play AAC music files), do you want a 7.3.3-r1 that just includes this patch? I'm still working in all of those changes to remove the bundled CPAN modules so it's going to be a little while yet before I've got all of that done, but I could roll one that just includes this fix pretty easily.
Comment 3 Joe Peterson (RETIRED) gentoo-dev 2009-07-09 22:00:02 UTC
Stuart, yeah, let's do that (faad patch only version).  Wow, too bad about that needed patched faad2.  I remember an old bug that caused noisy output with faad - it was outputting text in the stream.  The issue was on the squeezecenter board before I was involved with Gentoo.
Comment 4 Stuart Hickinbottom 2009-07-10 07:45:45 UTC
Created attachment 197439 [details]
New 7.3.3-r1 ebuild

Here's the updated ebuild (modified AAC patch to follow)
Comment 5 Stuart Hickinbottom 2009-07-10 07:47:32 UTC
Created attachment 197440 [details, diff]
Updated AAC patch

Here's the updated AAC patch.

Joe, these two should just drop into the existing ebuild and everything should then be OK. Can you mark as resolved when these are committed?
Comment 6 Joe Peterson (RETIRED) gentoo-dev 2009-07-10 11:31:49 UTC
Fixed in 7.3.3-r1 (thanks, Stuart).