FLAC playback problem

Need help? Post your questions here.

Moderator: moderators

FLAC playback problem

Postby frommel » Mon Mar 01, 2010 7:03 pm

When I start playback of a FLAC track, the buffer seems fo fill up quite fast, when the bar is full, the player moves to the next track. (built-in player)

- Running on Ubuntu
- LAME and FLAC are copied into /var/subsonic/transcode
- The user running the JAVA process has write permissions in this folder
- Nothing comes up in the log file, just [2010-03-01 10:35:03,755] INFO PlaylistInputStream - user listening to "band - album (FLAC)/01 - track.flac"
- Mp3's work fine.
frommel
 
Posts: 1
Joined: Mon Mar 01, 2010 6:50 pm

Postby 3R3 » Thu Mar 11, 2010 4:36 pm

have you transcoding enabled globally as admin (and the format you want to use, eg flac) and for the user you use?

on ubuntu you can use this handy script for easy transcoding:
(found it another post, its not from me)
in subsonic/transcode/ create a file called "any2mp3" and put this into it with some text editor
Code: Select all
#!/bin/bash
song=$1
bitrate=$2

/usr/bin/ffmpeg -i "$song" -ab $bitrate -f mp3 - 2>/dev/null

next, open a terminal, goto the subsonic/transcode/ directory and make the script executable like this
Code: Select all
chmod +x any2mp3

now you just have to get ffmpeg (use your packet manager of choice).
Now you can just put "any2mp3 %s %b" into the first step of a transcoding slot in the subsonic setting. (where %s and %b are values for filename and bitrate respectively, that are automatically filled in by subsonic)

bye
User avatar
3R3
 
Posts: 332
Joined: Mon May 04, 2009 2:09 pm
Location: Germany


Return to Help

Who is online

Users browsing this forum: No registered users and 41 guests