Reply To: flac files@Mac OS X

#16115
rpedde
Participant

@Labchip wrote:

I’m a complete n00b here. So sorry for the potentially idiotic question. I tried the search, but this was the closest I could find to an answer.

I’ve previously successfully been able to get Firefly Server to transcode FLACs to WAVs on a WinXP Pro PC. I’ve been able to access the Transcoded FLACs on all Mac and Win iTunes clients and even on FrontRow.

However, I’ve never managed to get it to do the transcoding part on a Mac. I’m running OS 10.4.11 on a PPC G4 Mac Mini. I have the latest FLAC binaries on my system (I also have Slimserver running which serves my FLACs to my SqueezeBox, and transcodes the FLACs to mp3s for remote streaming)

Could you please walk me through the steps of getting it to transcode FLACs? Could you please recommend a nightly that I could use? Does it need to be built with flac support, or simply run with some switches enabled? If it needs to be built, could you provide basic instructions?

I’d like to do this so I can access my squeezebox flac collection on AppleTV. I would also like to add my movie collection (these are currently .ISOs, but I am beginning to realize that H.264 or DivX or XviD might be the way to go). Do I need to do anything different for video support?

Thanks

Mkay, but it’s kinda ugly. The reason for it is that the flac stuff has lots of dependancies, so it’s hard to bundle up for mac. And doubly hard to bundle it all up in universal form.

In any case, first go here and install according to instructions:

http://www.macports.org/install.php

Make sure you’ve already installed the xcode tools from your leopard dvd.

Once you have that, from the terminal, do:

sudo port install libid3tag sqlite3 flac

That should get you all the stuff you need to build a flac-enabled binary.

Once you have that, grab the 1586 tarball from http://nightlies.fireflymediaserver.org


ron@laptop:~$ mkdir firefly
ron@laptop:~$ cd firefly
ron@laptop:~/firefly$ wget http://nightlies.fireflymediaserver.org/nightlies/svn-1586/mt-daapd-svn-1586.tar.gz
ron@laptop:~/firefly$ tar -xvzf mt-daapd-svn-1586.tar.gz
ron@laptop:~/firefly$ cd mt-daapd-svn-1586
ron@laptop:~/firefly/mt-daapd-svn-1586$ ./configure --enable-flac --enable-sqlite3 --with-id3tag=/opt/local

ron@laptop:~/firefly/mt-daapd-svn-1586$ make

At this point, you should have a binary with flac support. You can copy that to ~/Library/PreferencePanes/Firefly.prefPane/Contents/Resources/F
irefly Helper.app/Contents/Resources/Server/firefly, and the plugins in src/plugins/.lib/*so o ~/Library/PreferencePanes/Firefly.prefPane/Contents/Resources/F
irefly Helper.app/Contents/Resources/Server/plugins and it should start up from the preference pane. You should then be able to add .flac to your extensions list and have at it.

It looks fairly daunting probably if you have no unix experience, but hey, unix is teh fun! 🙂

— Ron