can't play ogg and flac

Need help? Post your questions here.

Moderator: moderators

can't play ogg and flac

Postby madmac » Fri Nov 04, 2011 7:51 pm

Hi there,

I just installed subsonic on my ubuntu 10.10 box and to my big surprise, the player doesn't work with ogg and flac files but works with mp3s. I disabled transcoding to mp3 for ogg and flac, tried to use the web played and jukebox mode but it still doesn't work.

From the /var/subsonic/subsonic.log file, in jukebox mode, there's a java exception saying that it has no codec for ogg and flac and in web player mode it does nothing, it says it's playing but there's no sound.

Here's an excerpt of the log:

Code: Select all
[11/4/11 6:45:48 PM CET]   WARN   JukeboxService   Error in BasicPlayer.play()
[11/4/11 6:46:05 PM CET]   INFO   JukeboxService   Starting jukebox player on behalf of admin
[11/4/11 6:46:05 PM CET]   DEBUG   JukeboxService   stateUpdated : OPENING:-1:java.io.BufferedInputStream@44d4ba66
[11/4/11 6:46:05 PM CET]   INFO   PlaylistInputStream   admin listening to "Fuck the Nineties... Here's our Noize!/01 - Bored and Violent.ogg"
[11/4/11 6:46:05 PM CET]   WARN   JukeboxService   Error in BasicPlayer.play()
[11/4/11 6:46:10 PM CET]   ERROR   JukeboxService   Error in BasicPlayer.setGain()
[11/4/11 6:46:24 PM CET]   ERROR   JukeboxService   Error in BasicPlayer.setGain()
[11/4/11 6:46:26 PM CET]   ERROR   JukeboxService   Error in BasicPlayer.setGain()
[11/4/11 6:46:43 PM CET]   INFO   JukeboxService   Starting jukebox player on behalf of admin
[11/4/11 6:46:43 PM CET]   DEBUG   JukeboxService   stateUpdated : OPENING:-1:java.io.BufferedInputStream@3b42c565
[11/4/11 6:46:43 PM CET]   INFO   PlaylistInputStream   admin listening to "Fuck the Nineties... Here's our Noize!/01 - Bored and Violent.ogg"
[11/4/11 6:46:43 PM CET]   WARN   JukeboxService   Error in BasicPlayer.play()
[11/4/11 6:49:13 PM CET]   ERROR   JukeboxService   Error in BasicPlayer.setGain()
[11/4/11 6:49:20 PM CET]   INFO   JukeboxService   Starting jukebox player on behalf of admin
[11/4/11 6:49:20 PM CET]   DEBUG   JukeboxService   stateUpdated : OPENING:-1:java.io.BufferedInputStream@48026592
[11/4/11 6:49:20 PM CET]   WARN   JukeboxService   Error in BasicPlayer.play()
[11/4/11 6:49:23 PM CET]   INFO   JukeboxService   Starting jukebox player on behalf of admin
[11/4/11 6:49:23 PM CET]   DEBUG   JukeboxService   stateUpdated : OPENING:-1:java.io.BufferedInputStream@73d4461b
[11/4/11 6:49:23 PM CET]   INFO   PlaylistInputStream   admin listening to "Fuck the Nineties... Here's our Noize!/01 - Bored and Violent.ogg"
[11/4/11 6:49:23 PM CET]   WARN   JukeboxService   Error in BasicPlayer.play()
[11/4/11 7:03:22 PM CET]   INFO   PlaylistInputStream   admin listening to "Fuck the Nineties... Here's our Noize!/01 - Bored and Violent.ogg"
[11/4/11 7:06:33 PM CET]   INFO   PlaylistInputStream   admin listening to "Fuck the Nineties... Here's our Noize!/01 - Bored and Violent.ogg"
[11/4/11 8:06:38 PM CET]   INFO   PlaylistInputStream   admin listening to "Brandenburgisches Konzert N° 1 F-dur BWV 1046/01 - 1. Allegro.flac"
[11/4/11 8:25:03 PM CET]   INFO   PlaylistInputStream   admin listening to "Brandenburgisches Konzert N° 1 F-dur BWV 1046/01 - 1. Allegro.flac"


I tried both chrome and firefox but it makes no difference.

My music collection is made of 99.5% of ogg and flac...

Can anyone help?

thanks
madmac
 
Posts: 2
Joined: Fri Nov 04, 2011 7:19 pm

Re: can't play ogg and flac

Postby dannycalgary » Fri Nov 04, 2011 8:41 pm

I had this issue as well. Make sure you do a sudo apt-get flac ffmpeg lame to get the three things I needed. Though I am using 11.10, that could be the problem.
dannycalgary
 
Posts: 1
Joined: Fri Nov 04, 2011 8:40 pm

Re: can't play ogg and flac

Postby madmac » Sat Nov 05, 2011 7:39 am

Thanks for your answer. lame was not installed and it now works but only if i transcode to mp3 which is the exact opposite goal of what i was searching for :-( Guess i'll keep my plex media server up and running for a while since it doesn't need to downgrade music quality.

thanks anyway
madmac
 
Posts: 2
Joined: Fri Nov 04, 2011 7:19 pm

Re: can't play ogg and flac

Postby BKKKPewsey » Sat Nov 05, 2011 2:39 pm

madmac wrote:Thanks for your answer. lame was not installed and it now works but only if i transcode to mp3 which is the exact opposite goal of what i was searching for :-( Guess i'll keep my plex media server up and running for a while since it doesn't need to downgrade music quality.

thanks anyway

Subsonic only needs to transcode if you use the WEB or jukebox player. If you use an external player you can stream the native files.
:mrgreen:
Everyone is entitled to be stupid, Image but some abuse the privilege!

Due to the confusion from too many genres of music, we have decided to put both country music and rap music into the genre of Crap music.
User avatar
BKKKPewsey
 
Posts: 2080
Joined: Mon May 23, 2011 12:16 pm
Location: United Kingdom


Return to Help

Who is online

Users browsing this forum: No registered users and 29 guests