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 2007-09-29 18:52:55

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

pre-compiled firefly media server (greater than build 1498)

Hello you DNS-Gurus out there,

I have installed the Standalone Firefly-MediaServer (dns_323_firefly_svn_mt-daapd-svn-1498_pa1.tar.gz) on my DNS-323 (official firmware 1.03) according to the instructions filed under "Standalone - The Easy Way" on this site:

http://dns323.kood.org/howto:firefly

The bad thing is that this svn1498 does not support *.flac and *.ogg-files - at least I did not manage it to get it running.

As I have learned from other threads here the support for those filetypes has to be enabled during the compilation process.

My question as a Linux-Newbie to the forum is:
Has anyone managed to compile a more or less recommandable (=mostly stable) nightly version with flac and ogg support that could be posted as an update to this forum?

svn1498 is rather old now and I would really like to get away from MP3 soon.

Who could provide a newer "easy way" precompiled build with flac and ogg support?

I do not dare to install a Debian chroot... :-)

Thank you in advance

rori

Last edited by rori (2007-09-29 19:14:00)


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

 

#2 2007-10-07 20:06:26

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

Re: pre-compiled firefly media server (greater than build 1498)

*bump*


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

 

#3 2007-12-04 17:40:57

marca
Member
Registered: 2007-10-13
Posts: 64

Re: pre-compiled firefly media server (greater than build 1498)

*bump*

Offline

 

#4 2007-12-04 23:37:09

fickle
Member
From: Melbourne, Australia
Registered: 2007-09-10
Posts: 249

Re: pre-compiled firefly media server (greater than build 1498)

why bump?

Offline

 

#5 2007-12-05 08:17:16

CurtisL
Member
Registered: 2007-05-29
Posts: 19

Re: pre-compiled firefly media server (greater than build 1498)

Hi Rori.
I'm also sitting out on the street with my tin cup looking for a Firefly binary:
http://dns323.kood.org/forum/t1281-Firefly-0241.html

I might take a stab at it over the holidays if I get some time off work.

I think that the issue with Firefly and FLAC/OGG support is that its missing the libraries to transcode them correctly.

For example, my mt-daapd-ssc.sh (Server-Side Conversion) references a binary called "oggdec" (presumably "OGG Decoder").

I don't have this binary (I don't think it wasn't included in the pre-compiled distribution).  Same story with "flac" (to convert flac to wav).

I think that even if you manage to find someone to compile you a newer build, you'll still have to ask them to do "oggdec" and "flac" as well.

Of course that's all speculation...


Fickle: "bump" is a forum thing to cause the thread to appear more active.  Kind of like "seconding the notion".  Your asking "why bump?" basically accomplished the same thing.

HTH,
Curtis

Last edited by CurtisL (2007-12-05 08:17:58)

Offline

 

#6 2007-12-05 10:15:47

Biscotte
Member
Registered: 2007-05-21
Posts: 81

Re: pre-compiled firefly media server (greater than build 1498)

Take care that you don’t get a sanctemonious lecture on how to back up *bump*. 

Biscotte

Offline

 

#7 2007-12-05 10:20:21

frodo
Member
From: Stockholm, Sweden
Registered: 2007-01-17
Posts: 259

Re: pre-compiled firefly media server (greater than build 1498)

BIG question is. Can the DNS-323 really handle real time conversion. Is the CPU powerful enough. I somehow doubt it...

Offline

 

#8 2007-12-05 19:38:44

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

Re: pre-compiled firefly media server (greater than build 1498)

Hi dns-freaks,

@frodo: I am firmly convinced that decoding a OGG does not significantly differ from decoding an MP3-file in terms of CPU-horsepower.

@CurtisL: I am far away from understanding what is neccessary to get flac and ogg running from the start, but please feel free to look at this thread, which might give you some kind of inspiration on how to enable this functionality during the compilation of the binary.

Here is the link:
http://forums.fireflymediaserver.org/vi … hp?p=13226

I think that I am not the only one who would really appreciate your effort of providing a recent precompiled nighlies version for the dns323. dlink stil says in the faq's that firefly is not part of their roadmap, so either we fix this on our own or we will wait forever ...

cheers!


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

 

#9 2007-12-06 00:55:15

frodo
Member
From: Stockholm, Sweden
Registered: 2007-01-17
Posts: 259

Re: pre-compiled firefly media server (greater than build 1498)

rori: The normal firefly server does not decode anything.

It is the actual iTunes client that decodes mp3 or mp4. However as ogg nor flac is supported by iTunes. It has to be transformed on the DNS-323. Hence I am not sure the cpu power will be sufficient.

Last edited by frodo (2007-12-06 00:55:37)

Offline

 

#10 2007-12-06 07:35:22

CurtisL
Member
Registered: 2007-05-29
Posts: 19

Re: pre-compiled firefly media server (greater than build 1498)

Hey Rori.

Also read that post on the Firefly Forums.  Too bad "ichng" doesn't have contact info there.  In any case, it looks like he's cross-compiling Firefly no problem, but can't get the flac binary to compile.  flac isn't written by the Firefly folks (separate open source initiative). It is, however used by Firefly to transcode FLAC to WAV.

Frodo probably has a point about horsepower and FLAC.  He's making an assumption that your client is iTunes, which probably merits confirmation, but otherwise its worth noting.

If and when I get a chance to look at it, I'll post what I'm able to find out.  I suspect Frodo's right though.  <sigh/>

Offline

 

#11 2007-12-07 11:22:55

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

Re: pre-compiled firefly media server (greater than build 1498)

Greetings all,

I had the same need, to transcode FLAC files on the fly from a DNS-323 to my living room (to a roku soundbridge).

Saw the firefly thread by ichng, and also here
where he got it to work with flac-1.1.2

After working through a few issues I was able to build firefly-1498 with FLAC support.  As ichng also found, live transcoding only uses about 6-7% cpu per stream.  A 500 MHz ARM chip is really not so weak after all.  I didn't build in ogg support as I don't use it.

Firefly svn-1498 is the version I've been using to stream from my desktop for a while now.  Are there specific features or fixes in a newer version that would indicate using it instead?

I'd like to post a binary, and especially revise the relevant section of the howto:firefly page.  Perhaps someone can build on that and add ogg support.  Just wanted to assure you all that this does work with flac files.

Offline

 

#12 2007-12-08 06:31:00

CurtisL
Member
Registered: 2007-05-29
Posts: 19

Re: pre-compiled firefly media server (greater than build 1498)

Hey peterp.
Nothing insanely compelling about newer builds.  If you look here:
http://nightlies.mt-daapd.org/?limit=9999
You can see a list of bugfixes and new features between 1498 and now.  The marginally compelling ones to me relate to:
- Enhanced code page support and subsequent fixes (1652+) which will be more useful once firmware 1.04 hits the street and the DNS-323 is a little more sensible about it.
- Security fixes (1685)
- fixes for 3 large memory leaks (1696)

Personally, I wouldn't mind trying 1696, but for the most part I've been happy with 1498.

Offline

 

#13 2007-12-08 18:26:00

marca
Member
Registered: 2007-10-13
Posts: 64

Re: pre-compiled firefly media server (greater than build 1498)

Do any of you run your Soundbridge wireless?
I have problems with Soundbridge stop seing the DNS-323 (and firefly server) after about 1h connection, a simple soundbridge reboot makes it see the server again. I run my soundbridge wireless connected to a D-Link DIR-655 Router that connects to DNS-323 with gigabit cable.

Acoording to a thred over att firefly forums: http://forums.fireflymediaserver.org/vi … hp?p=16017
Users reporting the same thing. Have you this problem or a solution in how to solve this?
----
When firefly (or itunes) starts, it sends pre-caching announcements to the other mdns servers on the network via multicast. These will look like udp packets from the device to 224.0.0.251 port 5353.

Once it's up, it doesn't spam those anymore. Instead it waits for mdns queries (which again look like udp 5353 to 224.0.0.251) from the device asking for servers that have a specific service. The server should respond, and everything is okay.

It looks to me like something isn't right with multicast on your setup. Like multicast is only going one-way across the link.
----

Offline

 

#14 2007-12-09 09:45:49

CurtisL
Member
Registered: 2007-05-29
Posts: 19

Re: pre-compiled firefly media server (greater than build 1498)

I was running my Roku wireless, but I found it kept dropping the IP.  Its wired now, and I'm much happier with it, but a few weeks ago I had the same problem.  I re-booted my DNS-323 and now everything's back to normal.
Hate to sounds like a M$ tech, but try re-starting the DNS-323.


HTH,
Curtis

Offline

 

#15 2007-12-09 11:06:25

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

Re: pre-compiled firefly media server (greater than build 1498)

I added a link to my FLAC-enabled build of mt-daapd to the howto:firefly page.  It should be installable with either of the Standalone installation methods on that page.  Don't forget to back up a copy of your existing mt-daapd.conf file first!

Then, in mt-daapd.conf you will need to enable server-side FLAC transcoding with changes such as:

Code:

extensions = .mp3,.m4a,.m4p,.flac,.fla
ssc_codectypes = ogg,flac,alac

Hope this comes in handy for someone.

The "fixes for 3 large memory leaks" sounds to me like a good reason to rebuild with svn-1696 when I get a chance.

Soundbridge:  I'm running my Soundbridge over Wi-Fi and haven't had any problems (other than entering its WEP key with the IR remote!).  The access point is a WRT54G running a custom firmware and used as a bridge on this path.  I believe multicast is correctly broadcast over that bridge but haven't checked specifically on that.

Offline

 

#16 2007-12-09 19:02:33

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

Re: pre-compiled firefly media server (greater than build 1498)

It seems to me like you are going to be the one who will be the hero to all people having their XMAS-CDs ripped to the *.ogg format, right ? ;-)

Good job, also with the uploads to the wiki, that's fabulous :-)


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