Hi guys, so I installed Subsonic on my Ubuntu 9.04 based server, and I really like it, alas I've run into a weird issue I can't seem to resolve. My library consists of files in FLAC and OGG formats. Transcoding from FLAC to MP3 works flawlessly and the resulting stream plays fine through the integrated flash player, however there is a problem with files which are in OGG format. The transcoding seems to work, however the resulting stream is *always* cut off about half way through the song. The weird thing is that if I manually decode the ogg to a WAV file using the same oggdec executable which Subsonic is using and then stream that WAV file from subsonic, it plays all the way through until the end of the song, so it's obviously not a problem with oggdec, but rather something with how Subsonic pipes the output of oggdec into lame. Has anyone seen something similar? Any suggestions are welcome.
I have the exact same problem. OGG files are always cut-off near the middle of the song. Tried different oggdec settings, to no avail. Reading the subsonic log files I find this occurs when the cut-off happens :
I am getting a similar error, though in my case the song is cutting off at random percentages (e.g. 89%, 87%, 83% for three songs respectively). I am also using oggdec. It has the right song length, which sometimes doesn't happen with transcoding but it does not play all the way through.
i found out what the problem is:
lame wants to transcode the wav without getting the bitrate and so lame uses 128. If it differ from the ogg file bitrate, the play stops to early. If you set %b to the bitrate of the ogg file (e.g. 80) it works fine.
But now the bitrate ist not longer variable ....