Page 1 of 1

Transcoding from FLAC to MP3 on Synology DS212+ NAS

PostPosted: Sat Oct 06, 2012 7:59 am
by willsy
Hi

I have successfully installed Serviio and I can now play transcode FLAC files to MP3 (unlike the native Synology Media server which just stutters). This is playing from a Synoloigy DS212+ to an Evoke Flow radio.

Problem is that I notice that my NAS CPU goes up to 100% when playing a FLAC file. I know this is to do with the lack of floating point on the CPU (Kirkwood 6282) but wondered if there is any way around this at the moment?

Regards

Will.

Re: Transcoding from FLAC to MP3 on Synology DS212+ NAS

PostPosted: Sat Oct 06, 2012 8:28 am
by willsy
It also seems to max out at 100% whatever I do... unless I stop the Java process...

The FLAC's actually keep breaking up but the MP3's seem OK.

Any ideas?

Thanks

Will.

Re: Transcoding from FLAC to MP3 on Synology DS212+ NAS

PostPosted: Sat Oct 06, 2012 8:59 am
by willsy
Correction - seems to have gone down again now I am playing MP3's...

So that leaves me with this question: Is there any way to transcode FLAC's reliably without using a PC or getting a more expesive and powerful NAS?!!?

Thanks

Will.

Re: Transcoding from FLAC to MP3 on Synology DS212+ NAS

PostPosted: Sun Oct 07, 2012 6:21 pm
by patters
I have submitted a proposal to implement libshine into FFmpeg which would allow much more efficient MP3 encoding on ARM CPUs which lack an FPU.
https://ffmpeg.org/trac/ffmpeg/ticket/1457

I haven't had much time recently, but I want to get this moving again. Someone made a patch but they created it for a particular version of libshine that seems to require a multithreaded version of perl to compile, and there isn't one on Synology. I've been trying to build one but it's proved very difficult so far. I do expect to manage it eventually though...

Re: Transcoding from FLAC to MP3 on Synology DS212+ NAS

PostPosted: Sat Oct 13, 2012 9:41 pm
by willsy
Thanks for your reply Patters.

Wow, that would be absolutley fantastic to have such a facility on a NAS such as the DS212+. :D

I'll keep my eye's on this forum and keep my fingers crossed that things work out for it!

Best Regards,

Will.

Re: Transcoding from FLAC to MP3 on Synology DS212+ NAS

PostPosted: Tue Oct 30, 2012 10:30 pm
by patters
Package version 014 now contains this enhancement - libshine is used as the MP3 encoder on ARM systems, allowing realtime transcoding to MP3.