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

Need help? Post your questions here.

Moderator: moderators

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

Postby soonerrob » Mon Apr 27, 2009 4:30 pm

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.
Last edited by soonerrob on Fri May 01, 2009 3:44 am, edited 1 time in total.
soonerrob
 
Posts: 15
Joined: Sat Mar 28, 2009 1:41 am

Postby jonathanroz » Mon Apr 27, 2009 6:09 pm

not sure if this is your issue http://forum.subsonic.org/forum/viewtop ... +transcode

That is the closest thing I could find.
jonathanroz
 
Posts: 172
Joined: Thu Dec 18, 2008 8:54 pm
Location: Frisco, TX USA

Postby soonerrob » Tue Apr 28, 2009 12:56 am

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?
soonerrob
 
Posts: 15
Joined: Sat Mar 28, 2009 1:41 am

Postby sindre_mehus » Tue Apr 28, 2009 7:41 pm

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 :-(
User avatar
sindre_mehus
 
Posts: 1955
Joined: Tue Nov 29, 2005 6:19 pm
Location: Oslo, Norway

Postby soonerrob » Thu Apr 30, 2009 4:57 pm

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.
soonerrob
 
Posts: 15
Joined: Sat Mar 28, 2009 1:41 am

Postby rich0805 » Thu Jun 25, 2009 8:28 pm

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?
rich0805
 
Posts: 11
Joined: Wed Jun 17, 2009 8:29 pm
Location: United Kingdom

Postby rich0805 » Thu Jun 25, 2009 10:25 pm

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))
rich0805
 
Posts: 11
Joined: Wed Jun 17, 2009 8:29 pm
Location: United Kingdom

Postby stallmen » Sun Jun 13, 2010 8:59 pm

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!
stallmen
 
Posts: 3
Joined: Sun Jun 13, 2010 8:56 pm

Postby japster » Sun Jun 13, 2010 9:25 pm

thanks!
japster
 
Posts: 11
Joined: Sun Jun 13, 2010 9:01 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 26 guests