Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254885 - media-sound/squeezecenter does not play aac MPEG4 files. No use flag provided either.
Summary: media-sound/squeezecenter does not play aac MPEG4 files. No use flag provided...
Status: VERIFIED 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-01-13 21:26 UTC by Marco
Modified: 2009-01-21 21:52 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco 2009-01-13 21:26:18 UTC
I get this in my server.log:
[09-01-13 21:13:24.8700] Slim::Player::Song::open (341) Error: Couldn't create command line for mov playback for [file:///var/music/warwick/Nickelback/Dark%20Horse/11%20This%20Afternoon.m4a]
I've got aac as a use flag in my make.conf USE variable, but squeezecenter does not seem to recognize this.
Here is a dump for emerge --ask --verbose squeezecenter
[ebuild   R   ] media-sound/squeezecenter-7.3.0  USE="alac flac lame musepack ogg wavpack -avahi -bonjour" 0 kB 

Reproducible: Always

Steps to Reproduce:
1.Try to play .m4a file
2.Nothing happens
3.Above error appears in server.log

Actual Results:  
Songs are skipped.

Expected Results:  
Played all .m4a files that contain aac non-drm audio.
Comment 1 Stuart Hickinbottom 2009-01-14 23:15:05 UTC
SqueezeCenter, by default, wants 'mov123' to allow playing of m4a/AAC files. That isn't available in a standard Gentoo package (let me know if you think that's the case), which is why there isn't a supported use flag for that.

SqueezeCenter 7.4.0 will use FAAD which is supported in Gentoo, so I can easily make that work for 7.4.0 through the 'aac' flag.

I think there's a workaround, though, which I think you should be able to apply. If you install "media-libs/faad2" you could then apply a custom transcoding recipe as described here:
http://wiki.slimdevices.com/index.php/AAC#AAC_on_Linux
Comment 2 Marco 2009-01-15 20:26:13 UTC
> SqueezeCenter 7.4.0 will use FAAD which is supported in Gentoo, so I can easily
> make that work for 7.4.0 through the 'aac' flag.

Yes please, that would be great. faad is a really good decoder for aac. In the meanwhile I used your workaround for now, and it seems to work. Thanks!

Should I close this bug, or will you do it when you've implemented the use flag?
Comment 3 Stuart Hickinbottom 2009-01-15 23:55:05 UTC
That's for reporting that the workaround is effective.

You can change it to 'enhancement' if you like (I can't do that as I'm not the current assignee - I believe you can, though). I will mark this as fixed when I've implemented this for 7.4.0 when that is released (I've made a note of this so I'll remember to report back here when I've done that).

I'm currently working on a 7.3.1 ebuild (it'll possibly be 7.3.2 by the time I get it finished); if there's another release between that and 7.4.0 I'll try and work this in as a Gentoo patch, so it might be possible to get it in sooner.

Joe - you can accept this one for us if you like (or just assign it to me if you'd like me to handle it).
Comment 4 Stuart Hickinbottom 2009-01-17 15:11:49 UTC
I've added this patch to the SqueezeCenter-7.3.1 ebuild I'm currently just finishing off. When that's released you can get AAC support by just setting the 'aac' USE flag as you originally requested.

Could you report back here when you've got that upgrade so we can work this bug through to closure? I'm hoping it'll be in the Portage tree in a few days' time.
Comment 5 Marco 2009-01-17 17:12:53 UTC
Thanks Stuart, I'll be looking out for your 7.3.1 release then. Will resolve the bug when I've got it working.
Comment 6 Joe Peterson (RETIRED) gentoo-dev 2009-01-21 15:31:42 UTC
Getting 7.3.1 in is a little more involved, do to the changes from older versions.  I hope to do this soon (today).  Thanks for your patience!
Comment 7 Joe Peterson (RETIRED) gentoo-dev 2009-01-21 17:52:40 UTC
Fixed in 7.3.1
Comment 8 Marco 2009-01-21 21:52:12 UTC
Thanks! Works great. Thanks for your hard work...
Cheers,
Marco.