26th March 2006 at 5:28 pm #212RazzleCatGuest
I am running the mt-daapd nightly 20060324 on a Kurobox PPC Linux server (standard install, not Gentoo) and am trying to recompile mt-daapd with FLAC support. I have the flac binary in /usr/bin but do not have libFLAC installed (due to ppc support issues). Whenever I try to compile mt-daapd with –enable-flac I get an error about libFLAC not being found. Is there anyway around this? Has anyone successfully installed libFLAC on a standard Kurobox?
Any assistance is much appreciated!27th March 2006 at 12:14 am #4130
You can compile it without –enable-flac, and just add .flac to your extensions. It will work, you just won’t get file metadata (title, author, album, etc).
Why doesn’t flac work on the kuro? It works on all the other ppc platforms I have, seems like it should work on kuro, too.
— Ron28th March 2006 at 3:11 pm #4131RazzleCatGuest
Thanks for the reply Ron.
I’m not sure why, but I cannot compile flac on my Kuro as I get errors about altivec not being found, even though I try to compile with altivec and asm support disabled. From the few results Google yields, it looks like others have had a similar issue, so I may look for an older version of flac (both 1.1.1 and 1.1.2 have the same issue).
I have tried playing flac files on the SoundBridge but this isn’t working either. I can see the files – type Wav, plus a valid length in the properties, but they won’t play. If I check the mt-daapd.log, it seems to be streaming them okay.
Any suggestions on things to check?29th March 2006 at 11:00 am #4132
Run it with a -d9, and it should show you the command it is using to transcode. Run that command right from the command line, and make sure it pumps back a bunch of crap at you.
You could also run that and redirect it to something.wav and make sure that .wav file plays on a regular machine, too.29th March 2006 at 8:06 pm #4133RazzleCatGuest
I’ve tried running mt-daapd with -d9 and reviewed the output. However I cannot see any obvious lines such as a call to mt-daapd-ssc.sh in there. What should I be looking for?
Incidentally, I tried running
/usr/local/sbin/mt-daapd.sh /mnt/other/test.flac 0 0
and get a whole lot of garbage output to the screen.
If I try to output this to a file with
/usr/local/sbin/mt-daapd.sh /mnt/other/test.flac 0 0 > /mnt/other/test.wav
I get the error wavstreamer: Read failed.
Post edited by: RazzleCat, at: 2006/03/30 12:2831st March 2006 at 12:12 pm #4134
If you run mt-daapd with -d5 you should see something like:
Thread 2: Autoconvert file /Users/ron/working/mt-daapd/src/new-mp3/ogg/Genesis_-_LTWW10_Tonight,Tonight,Tonight.ogg for client
Executing ./mt-daapd-ssc.sh "/Users/ron/working/mt-daapd/src/new-mp3/ogg/Genesis_-_LTWW10_Tonight,Tonight,Tonight.ogg" 0 215.600 "ogg"
Try running that, with quotes and everything, and redirect it to a file.
Also, you might try editing the mt-daapd.sh and putting explicit paths to flac and wavstreamer, since your paths and environment will be different when running as a daemon.31st March 2006 at 10:18 pm #4135RazzleCatGuest
Thanks Ron. This is odd. I’ve added explicit paths for wavstream and flac and tried running mt-daapd with d-5. The first 10 or so tracks the Roku tried playing didn’t work but then the next one out of every 10 or so actually did play fine. Here’s a sample of the output running -d -f :
Session 1: Streaming file '01 - Professional Jealousy .flac' to 192.168.2.11 (offset 0)
Finished streaming file to remote: 16384 bytes
Session 1: Streaming file '01 - Roadhouse Blues.flac' to 192.168.2.11 (offset 0)
Finished streaming file to remote: 16384 bytes
Thread 129: Autoconvert file /mnt/itunes/__FLAC/Counting Crows - August And Everything After (1993)[FLAC](MFSL)/01 - Round Here.flac for client
Executing /usr/local/sbin/mt-daapd-ssc.sh "/mnt/itunes/__FLAC/Counting Crows - August And Everything After "'('"1993"')'"[FLAC]"'('"MFSL"')'"/01 - Round Here.flac" 0 333.826 "flac"
Session 1: Streaming file '01 - Round Here.flac' to 192.168.2.11 (offset 0)
Finished streaming converted file to remote
wavstreamer: Write failed.
Note that only the last track above actually played. I outputted the following to a wav file, and this plays back fine.
/usr/local/sbin/mt-daapd-ssc.sh "/mnt/itunes/__FLAC/Counting Crows - August And Everything After "'('"1993"')'"[FLAC]"'('"MFSL"')'"/01 - Round Here.flac" 0 333.826 "flac" > /mnt/other/august.wav
Post edited by: RazzleCat, at: 2006/03/31 14:24
Post edited by: RazzleCat, at: 2006/03/31 14:2531st March 2006 at 10:56 pm #4136RazzleCatGuest
Incidentally, I have tried manually outputting various flac files to wavs (as per my previous post) and both files that play via mt-daapd and those that fail, output playable wavs fine…1st April 2006 at 4:19 am #4137
Can you send me on the of the flacs that don’t play? You can send me a link or the file at ron at pedde.com.3rd April 2006 at 10:50 am #4138
Fixed in r914
You’ll have to add the codectype “unkn” to your list of codectypes to transcode.
— Ron21st September 2007 at 3:39 am #4139don quixadaParticipant
I don’t know if this was/is your problem, but when I updated the flac codecs it broke firefly. I had to re-build firefly and then everything worked again.
- The forum ‘Setup Issues’ is closed to new topics and replies.