Page 1 of 1

I am obviously a moron. (LAME on FreeNAS - FIXED)

PostPosted: Mon Apr 27, 2009 4:30 pm
by soonerrob
Hey all..

I dont know what im doing wrong with not being able to get downsampling to work in the player settings...

Code: Select all
[4/27/09 4:20:35 PM GMT]     DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/lame] [-S] [-h] [-b] [96] ....
[4/27/09 4:20:35 PM GMT] WARN   TranscodingService   Failed to transcode
...

Im running on a FreeNAS setup, which is FreeBSD i think... and thats my problem.. im stupid with this OS.

so i think my question lies with a proper install of lame on freebsd.. which is NOWHERE to be found on the entire internet universe.

Ive tried placing lame.exe in my transcode fodler but that doesnt work...

is there a different lame file for FreeBSD? because right now im using lame.exe that i assume is for windows.

thanks for any help.

PostPosted: Mon Apr 27, 2009 6:09 pm
by jonathanroz
not sure if this is your issue http://forum.subsonic.org/forum/viewtop ... +transcode

That is the closest thing I could find.

PostPosted: Tue Apr 28, 2009 12:56 am
by soonerrob
i saw this very post today... my problem is I cant seem to find where to even get linux lame... or it might all be the same file...

should i have a lame folder with a bunch of files in it? or just 1 lame.exe?

PostPosted: Tue Apr 28, 2009 7:41 pm
by sindre_mehus
Hi,

I looked for LAME for FreeBSD myself some month ago but with little success. If I remember correctly, the port I eventually found didn't support mp3 encoding :-(

PostPosted: Thu Apr 30, 2009 4:57 pm
by soonerrob
ok I got this working...


I first found this FreeBSD repository that had the lastest lame.tbz here:
http://ftp.urc.ac.ru/pub/OS/FreeBSD/packages-7/Latest/

added the package...
made a copy of the new lame file that was now in my /usr/local/bin folder and placed it in my /var/subsonic/transcode folder

the current version of FreeNAS is running FreeBSD6 and as you can see by the lame link above... this lame version is for FreeBSD7... and it has file dependencies (libncurses)... so you either have the option of trying to find an older lame package that was made for FreeBSD6 or you have to go download the FreeBSD7 version of FreeNAS which is in RC2... which is what i did... the upgrade went quick and flawless...

and lame transcoding worked perfectly.


So... again..

1. Upgrade your FreeNAS to the version that runs FreeBSD7 (which is the nightly build version)

2. pkg_add -r -v http://ftp.urc.ac.ru/pub/OS/FreeBSD/pac ... t/lame.tbz

3. Copy (not Move) the lame file that will now be in /usr/local/bin to /var/subsonic/transcode

4. Adjust downsampling option under Players to whatever you want.

5. Test it by playing a file on a player that has been marked for downlsampling and check the log under Help to make sure all is good.

PostPosted: Thu Jun 25, 2009 8:28 pm
by rich0805
soonerrob wrote:ok I got this working...


I first found this FreeBSD repository that had the lastest lame.tbz here:
http://ftp.urc.ac.ru/pub/OS/FreeBSD/packages-7/Latest/

added the package...
made a copy of the new lame file that was now in my /usr/local/bin folder and placed it in my /var/subsonic/transcode folder

the current version of FreeNAS is running FreeBSD6 and as you can see by the lame link above... this lame version is for FreeBSD7... and it has file dependencies (libncurses)... so you either have the option of trying to find an older lame package that was made for FreeBSD6 or you have to go download the FreeBSD7 version of FreeNAS which is in RC2... which is what i did... the upgrade went quick and flawless...

and lame transcoding worked perfectly.


So... again..

1. Upgrade your FreeNAS to the version that runs FreeBSD7 (which is the nightly build version)

2. pkg_add -r -v http://ftp.urc.ac.ru/pub/OS/FreeBSD/pac ... t/lame.tbz

3. Copy (not Move) the lame file that will now be in /usr/local/bin to /var/subsonic/transcode

4. Adjust downsampling option under Players to whatever you want.

5. Test it by playing a file on a player that has been marked for downlsampling and check the log under Help to make sure all is good.


Well, I've done all that but it still doesn't work. Subsonic says Notice: LAME does not seem to be installed.

Any ideas?

PostPosted: Thu Jun 25, 2009 10:25 pm
by rich0805
I've got a bit further..I had copied lame to subsonic/standalone/transcode not subsonic/transcode

the message about it not being there has gone now, but still nothing happens when I try to play a flac file. I have enabled flac>mp3 in settings transcoding and have the box for this to be an active transcoding in the player settings, but this is what happens why I try to play a flac



[6/25/09 10:17:04 PM GMT] INFO StreamController Starting stream admin@192.168.0.108:58895 (Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618))
[6/25/09 10:17:04 PM GMT] INFO PlaylistInputStream Opening new song AC-DC/01 - Rock N Roll Train.flac
[6/25/09 10:17:04 PM GMT] INFO MusicFileInfoDao Created music file info for /mnt/DataStore/Media/Music/AC-DC
[6/25/09 10:17:19 PM GMT] INFO StreamController Stopping stream admin@192.168.0.108:58895 (Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; GTB6; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 3.5.30729; .NET CLR 3.0.30618))

PostPosted: Sun Jun 13, 2010 8:59 pm
by stallmen
Sorry to dig up an old topic but I was looking for the same package for amd64. I couldn't find it anywhere on the web so I compiled it myself and posted it here: http://sites.google.com/site/refujee/lame-3.98.2_2.tbz

The lame binary goes in /var/subsonic/transcode. Make sure you enable and install flac also.

Enjoy!

PostPosted: Sun Jun 13, 2010 9:25 pm
by japster
thanks!