[SOLVED] FLAC is not being transcoded

Need help? Post your questions here.

Moderator: moderators

[SOLVED] FLAC is not being transcoded

Postby ghostcorps » Thu Jun 07, 2012 12:06 am

Hi Guys,

I have been having some trouble getting Subsonic installed after moving from the standalone installation to the full installation. Currently my problem is that FLAC files are not being played. The details as required are below:

<-------------------------Subsonic Help Request---------------------->
Problem Description: FLAC audio files are not playing
Troubleshooting Steps: I have symlinked LAME to /var/subsonic/transocde
Playback Application and version: Standard Subsonic Web Interface
Subsonic Version: 4.6 (build 2583) – December 6, 2011
Server Version: Apache Tomcat/6.0.35, java 1.6.0_07, FreeBSD (131.3 MB / 288.7 MB)
Hardware Platform: FreeBSD home server
Java Memory Limit: 100mb (I think)
Problem Filename: 01 Squarepusher - 4001.flac
Output from ffmpeg -i:
Code: Select all
bsd# ffmpeg -i 01\ Squarepusher\ -\ 4001.flac
ffmpeg version 0.7.12, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jun  3 2012 10:02:40 with gcc 4.2.1 20070719  [FreeBSD]
  configuration: --prefix=/usr/local --mandir=/usr/local/man --enable-shared --enable-gpl --enable-postproc --enable-avfilter --enable-pthreads --enable-memalign-hack --enable-runtime-cpudetect --cc=cc --extra-cflags='-msse -I/usr/local/include/vorbis -I/usr/local/include' --extra-ldflags='-L/usr/local/lib ' --extra-libs=-pthread --disable-debug --enable-libaacplus --disable-indev=alsa --disable-outdev=alsa --disable-libopencore-amrnb --disable-libopencore-amrwb --disable-libcelt --disable-libdirac --enable-libfaac --enable-libfreetype --enable-frei0r --disable-libgsm --enable-libmp3lame --enable-libopencv --disable-libopenjpeg --disable-librtmp --enable-libschroedinger --disable-ffplay --disable-libspeex --enable-libtheora --disable-vaapi --disable-vdpau --disable-libvo-aacenc --disable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid --enable-nonfree
  libavutil    50. 43. 0 / 50. 43. 0
  libavcodec   52.123. 0 / 52.123. 0
  libavformat  52.111. 0 / 52.111. 0
  libavdevice  52.  5. 0 / 52.  5. 0
  libavfilter   1. 80. 0 /  1. 80. 0
  libswscale    0. 14. 1 /  0. 14. 1
  libpostproc  51.  2. 0 / 51.  2. 0
[b][flac @ 0x804e22020] max_analyze_duration 5000000 reached at 5015510[/b]
Input #0, flac, from '01 Squarepusher - 4001.flac':
  Metadata:
    ENCODER         : X Lossless Decoder 20120407
    TITLE           : 4001
    ARTIST          : Squarepusher
    ALBUM           : Ufabulum
    GENRE           : Electronica
    COMPOSER        : Tom Jenkinson
    track           : 1
    TRACKTOTAL      : 10
    TOTALTRACKS     : 10
    DATE            : 2012
    ISRC            : GBBPW1200045
    ITUNES_CDDB_1   : 990C0B0A+231435+10+150+29783+53598+73245+90378+104720+122030+155240+186093+208298
  Duration: 00:06:35.10, bitrate: 1010 kb/s
    Stream #0.0: Audio: flac, 44100 Hz, stereo, s16
At least one output file must be specified



Last ten log file lines:

Code: Select all
[2012-06-07 09:44:26,786] INFO CoverArtController - Created thumbnail cache /var/subsonic/thumbs/200
[2012-06-07 09:44:28,000] INFO PlaylistInputStream - admin listening to "Enstrobia - FLAC/01 - Angel Integer.flac"
[2012-06-07 09:44:37,487] INFO CoverArtController - Created thumbnail cache /var/subsonic/thumbs/48
[2012-06-07 09:44:52,622] INFO PlaylistInputStream - admin listening to "Ufabulum - FLAC/01 Squarepusher - 4001.flac"
[2012-06-07 09:53:45,073] INFO PlaylistInputStream - admin listening to "Enstrobia - FLAC/01 - Angel Integer.flac"
[2012-06-07 09:56:02,949] INFO PlaylistInputStream - admin listening to "Ufabulum - FLAC/01 Squarepusher - 4001.flac"
[2012-06-07 09:57:27,925] INFO PlaylistInputStream - admin listening to "AFX - Analord 01/01 - SteppingFilter 101.flac"
[2012-06-07 09:57:46,592] INFO PlaylistInputStream - admin listening to "2010 - Timestretch [EP]/04 - Timestretch.mp3"
[2012-06-07 09:58:32,394] INFO StreamController - Got range: Range[4462870,4462870]
[2012-06-07 09:58:32,394] INFO PlaylistInputStream - admin listening to "Ufabulum - FLAC/01 Squarepusher - 4001.flac"
[2012-06-07 09:58:32,851] INFO StreamController - Got range: Range[4462870,49883421]
[2012-06-07 09:58:32,852] INFO PlaylistInputStream - admin listening to "Ufabulum - FLAC/01 Squarepusher - 4001.flac"


nb. the mp3 files played fine, while the FLAC files look like they are buffering but never actually begin playing.

What have I done wrong?

Thanks for your time :)
Last edited by ghostcorps on Thu Jun 07, 2012 12:09 am, edited 1 time in total.
ghostcorps
 
Posts: 10
Joined: Fri Sep 30, 2011 3:39 am

Re: FLAC is not being transcoded

Postby ghostcorps » Thu Jun 07, 2012 12:09 am

Sorry, I just solved this.

For anyone else. Just copy the ffmpeg binary to ~subsonichome/transcode/ in my case that is /var/subsonic/transcode.\
ghostcorps
 
Posts: 10
Joined: Fri Sep 30, 2011 3:39 am


Return to Help

Who is online

Users browsing this forum: No registered users and 22 guests