DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2008-01-06 06:36:57

jImbEam
Member
Registered: 2008-01-03
Posts: 10

iTunes Server with ogg and flac support

I am looking for the easiest way to add ogg and flac support to a DNS-323 with D-Link FW.  Can anyone help me out?

jImbEam

Offline

 

#2 2008-01-13 07:26:24

peterp
Member
From: California, USA
Registered: 2007-12-07
Posts: 7

Re: iTunes Server with ogg and flac support

I built a version of mt-daapd (Firefly) with support for transcoding FLAC to WAV on the fly.  I  don't use ogg so didn't build it.
This version was uploaded and linked from the wiki howto page http://dns323.kood.org/howto:firefly but this information was erased in a recent edit.  I've restored the links; try this out if you want to stream FLAC.

Offline

 

#3 2008-01-13 20:36:04

jImbEam
Member
Registered: 2008-01-03
Posts: 10

Re: iTunes Server with ogg and flac support

peterp, thanks for the restoring the file.  I removed the link a few weeks ago since the file was missing.  I will give your binary a try.

I have a few questions on how you built firefly.  What OS did you do the cross compile on and did you use the instructions on the wiki cross compile page?

Thanks,
jImbEam

Offline

 

#4 2008-01-14 09:27:04

peterp
Member
From: California, USA
Registered: 2007-12-07
Posts: 7

Re: iTunes Server with ogg and flac support

Huh.  I wonder what happened to the file I uploaded in December?

I followed the wiki howto:crosscompile and howto:firefly pages, constructing the build environment under Ubuntu Dapper Drake.  Actually it's all in a vmware VM of Dapper, since I primarily use Fedora.
I did have to fix various little things along the way.  Nothing major, mainly library paths, compiler flags and such, and I kept detailed notes.  One of the trickier hurdles was convincing flac to build without ogg support.

Offline

 

#5 2008-01-15 00:10:32

amunoz_tico
Member
Registered: 2008-01-14
Posts: 21

Re: iTunes Server with ogg and flac support

peterp wrote:

Huh.  I wonder what happened to the file I uploaded in December?

I followed the wiki howto:crosscompile and howto:firefly pages, constructing the build environment under Ubuntu Dapper Drake.  Actually it's all in a vmware VM of Dapper, since I primarily use Fedora.
I did have to fix various little things along the way.  Nothing major, mainly library paths, compiler flags and such, and I kept detailed notes.  One of the trickier hurdles was convincing flac to build without ogg support.

peterp  could you upload firefly compiled on any public ftp like www.sendthisfile.com    I don't have any experience in Linux, so, I don't know how compile the software.

Regards!

Last edited by amunoz_tico (2008-01-15 00:11:36)

Offline

 

#6 2008-01-15 00:56:36

mig
Member
From: Seattle, WA
Registered: 2006-12-21
Posts: 532

Re: iTunes Server with ogg and flac support

amunoz_tico- Are you having a problem getting this file from the link on the wiki??
http://dns323.kood.org/howto:firefly

Last edited by mig (2008-01-15 00:57:05)


DNS-323 • 2x Seagate Barracuda ES 7200.10 ST3250620NS 250GB SATAII (3.0Gb/s) 7200RPM 16MB • RAID1 • FW1.03 • ext2 
Fonz's v0.3 fun_plug http://www.inreto.de/dns323/fun-plug

Offline

 

#7 2008-01-17 08:15:07

jImbEam
Member
Registered: 2008-01-03
Posts: 10

Re: iTunes Server with ogg and flac support

I finally got around to installing the file and it works fine.  I need to "fix" the config file and re-upload it when I get some time.

Looks like I need to get Ubuntu Dapper Drake installed on my spare machine (I have a SUSE machine but that does not seem to work).  I might get back to you on those "detailed notes" if I can't figure out how to get the cross compile working.

jImbEam

Offline

 

#8 2008-01-17 09:44:19

peterp
Member
From: California, USA
Registered: 2007-12-07
Posts: 7

Re: iTunes Server with ogg and flac support

Right, as I recall I didn't fix the old syntax error in mt-daapd.conf in the tarball.

I might get back to you on those "detailed notes" if I can't figure out how to get the cross compile working.

Sure thing, just let me know.  The howto:crosscompile recipe worked well.  One thing I did need to change: in the build_uclibc script, the toolchain source code filename needed to be uclibc-toolchain-src-20040609.tgz for the download to work.

Offline

 

#9 2008-01-23 04:25:54

jImbEam
Member
Registered: 2008-01-03
Posts: 10

Re: iTunes Server with ogg and flac support

peterp, out of curiosity what versions of flac and ogg did you use?  Did you use the versions from Dapper Drake?

jImbEam

Offline

 

#10 2008-01-24 09:57:45

peterp
Member
From: California, USA
Registered: 2007-12-07
Posts: 7

Re: iTunes Server with ogg and flac support

I built flac-1.1.2 from the source tarball on sourceforge.
I didn't include ogg support.

Last edited by peterp (2008-01-24 09:59:19)

Offline

 

#11 2008-01-25 05:12:36

jImbEam
Member
Registered: 2008-01-03
Posts: 10

Re: iTunes Server with ogg and flac support

I installed flac from Dapper's install program, I think it is 1.1.2.  But I can't figure out how to get firefly's configure to find libFLAC.  I tried setting the path to where they are installed (/usr/lib I think).  I also put them in $GPL/lnx_bin/lib but that did not help.

How did you get firefly's configure to find libFLAC and/or where was your libFLAC installed?

jImbEam

Offline

 

#12 2008-01-25 11:54:42

peterp
Member
From: California, USA
Registered: 2007-12-07
Posts: 7

Re: iTunes Server with ogg and flac support

You have to compile all of the components with the cross-compiler.  Installing native binaries on your dev system does not help.

I made some changes to the howto's build_firefly script to also download and build flac.  There are some compiler flags you need to change as well.
I had to patch flac's configure script to build without ogg.  If you want to use ogg, of course take that patch command out.

I tarred up my current version of the scripts and patches, build_firefly_flac.tgz, attached.  The fixed mt-daapd.conf is in there too.  Give that a try, I hope it works for you!


Attachments:
Attachment Icon build_firefly_flac.tgz, Size: 6,832 bytes, Downloads: 268

Offline

 

#13 2008-01-25 12:43:46

HaydnH
Member
Registered: 2007-09-28
Posts: 187

Re: iTunes Server with ogg and flac support

mediatomb supports ogg & flac - there is a compiled version on this forum.

Offline

 

#14 2008-01-26 02:19:48

jImbEam
Member
Registered: 2008-01-03
Posts: 10

Re: iTunes Server with ogg and flac support

I guess that was silly of me, I should of realized that I needed to crosscompile the flac and ogg libraries.  I will give your files a look.

Thanks,
jImbEam

Offline

 

#15 2008-01-28 02:29:56

jImbEam
Member
Registered: 2008-01-03
Posts: 10

Re: iTunes Server with ogg and flac support

I got firefly compiling with flac and ogg support (thanks for uploading your flac scripts that saved my some time).  Flac works fine, but oggdec seems to use 100% of the cpu and can't keep iTunes supplied with data.  Guess I now need to make sure that I have done everything correct.

jImbEam

Offline

 

#16 2008-02-08 05:32:43

jImbEam
Member
Registered: 2008-01-03
Posts: 10

Re: iTunes Server with ogg and flac support

I just thought that I would follow up on this.  It looks like an integer only vorbis decoder and lib is needed because the DNS-323 does not have a FPU.  Firefly has one for the NSLU2 but I could not find one for the DNS-323.  Has anyone else tried using the Tremor integer patch for the vorbis stuff?

jImbEam

Offline

 

#17 2008-03-17 17:15:49

rori
Member
Registered: 2007-09-29
Posts: 49

Re: iTunes Server with ogg and flac support

Hi,

I am curious if somebody has succeded to compile this succesfully with --enable-oggvorbis ???

If so, I would REALLY appreciate a binary so that non-experts like me can make use of this

like this
http://dns323.kood.org/howto:firefly#st … e_easy_way


DNS-323 / firmware 1.08b9
fonz funplug ffp:v0.5
firefly: svn-1735 (via funplug) with ogg and flac support streaming to Pinnacle Soundbrigde Home Music firmware 3.0.52
HDD: 2x1,5 TB Seagate HD154UI Rev: 1AG0 in RAID1-mode

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB