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-03-12 12:37:18

dastrix
Member
Registered: 2008-03-12
Posts: 18

FLAC/DNS-323 and Twonky

Hello

I have installed the funplug for telnet access and installed Twonky. I have FLAC stored on my DNS-323 that I cannot play - anyone know how I can do this?

I'm accessing my DNS-323 from a PopCorn Hour NMT

Thanks
Kris

Offline

 

#2 2008-03-12 13:02:24

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

Re: FLAC/DNS-323 and Twonky

Looks like the popcorn hour device doesn't support flac so you'll have to convert them to another format.

Offline

 

#3 2008-03-12 13:02:53

sjmac
Member
Registered: 2008-01-21
Posts: 222

Re: FLAC/DNS-323 and Twonky

Does your player device support Flac?

If not, then this http://www.twonkymedia.com/Download/Add-ons/index.html suggests that you need to compile yourself a little binary to convert the wav. Or find a volunteer to do it for you :-)

I don't know if some other upnp server might have the transcoding built in? Anyone?

Offline

 

#4 2008-03-12 13:16:13

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

Re: FLAC/DNS-323 and Twonky

The newer SVN versions of mediatomb have transcoding I believe so the next release should support it - however transcoding on the dns-323 may not be possible/reliable due to the power of the box. You'd be better converting the files once on your PC rather than everytime you play them.

Offline

 

#5 2008-03-12 13:23:46

sjmac
Member
Registered: 2008-01-21
Posts: 222

Re: FLAC/DNS-323 and Twonky

I think you'd get away with transcoding an audio format, especially a lossless one like FLAC that was designed to be easy to decode. If I get a block of free time at home I might try it.

I wonder how hard it would be to decode WMA lossless - apparently FFMPeg can decode that now. Hmm.

Offline

 

#6 2008-03-12 13:32:49

dastrix
Member
Registered: 2008-03-12
Posts: 18

Re: FLAC/DNS-323 and Twonky

Hi Guys

The PopCorn Hour now supports it - yet to work out how!

Sjmac, that would be great if you can get it working!! smile

Thanks so much and thanks for having me here - the DNS is a great little box wink

Offline

 

#7 2008-03-12 22:00:46

kallehak
Member
Registered: 2007-11-22
Posts: 15

Re: FLAC/DNS-323 and Twonky

dastrix wrote:

Hello

I have installed the funplug for telnet access and installed Twonky. I have FLAC stored on my DNS-323 that I cannot play - anyone know how I can do this?

I'm accessing my DNS-323 from a PopCorn Hour NMT

Thanks
Kris

I'm using twonky and transcoding flac into wav. You can test my binaries if you want. The flac binaries are: http://www.jomenvisst.de/temp/flac.tgz which I have in fun_plug.d/
and the plug-in for twonky: http://www.jomenvisst.de/temp/flac_plugin.tgz which goes into twonky/cgi-bin/

It takes hardly no cpu at all to transcode flac into wav on the DNS-323.

Offline

 

#8 2008-03-13 01:09:14

dastrix
Member
Registered: 2008-03-12
Posts: 18

Re: FLAC/DNS-323 and Twonky

Thanks! Can you tell me how to install the binaries?? I assume I just extract the .tgz file into the cgi-bin folder and restart the device?

Offline

 

#9 2008-03-13 03:00:27

dastrix
Member
Registered: 2008-03-12
Posts: 18

Re: FLAC/DNS-323 and Twonky

I have done the above, can anyone tell me how to verify the plugin is running?

Offline

 

#10 2008-03-14 08:44:41

kallehak
Member
Registered: 2007-11-22
Posts: 15

Re: FLAC/DNS-323 and Twonky

Yes, you can test it by transcode a flac manually. Say you have test.flac in /mnt/HD_a2/ then you should be able(if I remember correctly) to run

./cgi-flac "?from=audio/audio/x-flac?to=audio/wav?source=/mnt/HD_a2/test.flac?tmp=."

and a test.flac.wav should be created in the cgi-bin dir and it should be playable.

Offline

 

#11 2008-03-14 09:14:05

dastrix
Member
Registered: 2008-03-12
Posts: 18

Re: FLAC/DNS-323 and Twonky

Thanks, I did away with Twonky and am just using the built in UPNP server as part of the DNS - works fine. Once I mounted a SMB share, I can play the FLAC files without too much drama (im reencoding everything because the player has a whinge about it)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB