Page 1 of 1
Problems playing FLAC on QNAP

Posted:
Tue Feb 18, 2014 8:47 pm
by Lakes_Puma
I hope someone can help me, I have installed Subsonic 4.6 using the QPKG and everything seems to work except playing flac (which is most of my library)
I have tried adding some of the suggested entries into the transcoder line but I think I may be doing it wrong.
All my library is either FLAC or a very few MP3, I'm not bothered about video just music.
Please can someone help me get this working, just say what logs or screenshots you need me to provide.
Re: Problems playing FLAC on QNAP

Posted:
Wed Feb 19, 2014 9:31 am
by Lakes_Puma
here is an extract from the log
[2/19/14 9:29:33 AM GMT] DEBUG TranscodeInputStream Starting transcoder: [/share/MD0_DATA/.qpkg/Subsonic/home/transcode/ffmpeg] [-i] [/share/Music/M People/Elegant Slumming/01 M People - One Night In Heaven.flac] [-ab] [128k] [-v] [0] [-f] [mp3] [-] [flac] [-dc] [/share/Music/M People/Elegant Slumming/01 M People - One Night In Heaven.flac] [-]
[2/19/14 9:29:33 AM GMT] DEBUG InputStreamReaderThread (/share/MD0_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) FFmpeg version UNKNOWN, Copyright (c) 2000-2008 Fabrice Bellard, et al.
[2/19/14 9:29:33 AM GMT] DEBUG InputStreamReaderThread (/share/MD0_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) configuration: --enable-cross-compile --cross-prefix=/home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu- --arch=i686 --disable-encoder=snow --disable-decoder=snow --enable-shared --disable-static --enable-gpl --enable-postproc --prefix=/opt
[2/19/14 9:29:33 AM GMT] DEBUG InputStreamReaderThread (/share/MD0_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavutil version: 49.6.0
[2/19/14 9:29:33 AM GMT] DEBUG InputStreamReaderThread (/share/MD0_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavcodec version: 51.54.0
[2/19/14 9:29:33 AM GMT] DEBUG InputStreamReaderThread (/share/MD0_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavformat version: 52.13.0
[2/19/14 9:29:33 AM GMT] DEBUG InputStreamReaderThread (/share/MD0_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) libavdevice version: 52.0.0
[2/19/14 9:29:33 AM GMT] DEBUG InputStreamReaderThread (/share/MD0_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) built on Feb 17 2012 14:25:30, gcc: 4.2.1
[2/19/14 9:29:34 AM GMT] DEBUG InputStreamReaderThread (/share/MD0_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Input #0, flac, from '/share/Music/M People/Elegant Slumming/01 M People - One Night In Heaven.flac':
[2/19/14 9:29:34 AM GMT] DEBUG InputStreamReaderThread (/share/MD0_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Duration: N/A, bitrate: N/A
[2/19/14 9:29:34 AM GMT] DEBUG InputStreamReaderThread (/share/MD0_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Stream #0.0: Audio: flac, 44100 Hz, stereo
[2/19/14 9:29:34 AM GMT] DEBUG InputStreamReaderThread (/share/MD0_DATA/.qpkg/Subsonic/home/transcode/ffmpeg) Unable to find a suitable output format for 'flac'
The complete log is saved in /share/MD0_DATA/.qpkg/Subsonic/home/subsonic.log.
Re: Problems playing FLAC on QNAP

Posted:
Fri Feb 21, 2014 7:41 pm
by heddhunter
Your ffmpeg was built without mp3 support. Your configuration line should include something like "--enable-libmp3lame" but yours doesn't:
configuration: --enable-cross-compile --cross-prefix=/home/slug/optware/ts509/toolchain/i686-unknown-linux-gnu/bin/i686-unknown-linux-gnu- --arch=i686 --disable-encoder=snow --disable-decoder=snow --enable-shared --disable-static --enable-gpl --enable-postproc --prefix=/opt
I don't know anything about QNAP, somehow you'll have to find an ffmpeg for it with mp3 support enabled.