-=SOLVED=- Cant get transcoding to work for FLAC to MP3
Hello and thanks for a superb system!
I do have a problem that I need help solving.
I dont seem to get transcoding to work at all on my host through the Subsonic system.
This is found in the log:
[5/6/11 12:31:46 PM CEST] INFO PlaylistInputStream XXXXXX listening to "-=MUSIC=-/06. Filter - Take A Picture.flac"
[5/6/11 12:31:46 PM CEST] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/home/fileserver/-=MUSIC=-/06. Filter - Take A Picture.flac] [-f] [wav] [-]
[5/6/11 12:31:46 PM CEST] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/lame] [-b] [128] [--tt] [Take A Picture] [--ta] [Filter] [--tl] [Title Of Record] [-S] [--resample] [44.1] [-] [-]
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) FFmpeg version SVN-r15261, Copyright (c) 2000-2008 Fabrice Bellard, et al.
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=i386 --extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables --enable-bzlib --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-postproc --enable-swscale --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=i386
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavutil 49.11. 0 / 49.11. 0
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavcodec 51.71. 0 / 51.71. 0
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavformat 52.22. 1 / 52.22. 1
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavdevice 52. 1. 0 / 52. 1. 0
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavfilter 0. 1. 0 / 0. 1. 0
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libswscale 0. 6. 1 / 0. 6. 1
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) built on Oct 27 2009 13:55:46, gcc: 4.3.2 20081105 (Red Hat 4.3.2-7)
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) [mp3 @ 0x9b69b00]ID3v2.3 tag skipped, cannot handle unsynchronization
[5/6/11 12:31:57 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) [mp3 @ 0x9b69b00]Could not find codec parameters (Audio: mp1, s16, 384 kb/s)
[5/6/11 12:31:57 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) /home/fileserver/-=MUSIC=-/06. Filter - Take A Picture.flac: could not find codec parameters
The transcoding settings I'm using here are as follows:
Step 1: ffmpeg -i %s -f wav -
Step 2: lame -b %b --tt %t --ta %a --tl %l -S --resample 44.1 - -
I have search info regarding this issue in these forums without any luck.
Please can someone help out by any chance?
The following third part SW are installed and symlinks are correct as far as I can see at least in /var/subsonic/transcode/.
- faad
- ffmpeg
- flac
- lame
- oggdec
- oggenc
Please let me know if there are any other info that you need.
With kind regards
Toby
I do have a problem that I need help solving.
I dont seem to get transcoding to work at all on my host through the Subsonic system.
This is found in the log:
[5/6/11 12:31:46 PM CEST] INFO PlaylistInputStream XXXXXX listening to "-=MUSIC=-/06. Filter - Take A Picture.flac"
[5/6/11 12:31:46 PM CEST] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/home/fileserver/-=MUSIC=-/06. Filter - Take A Picture.flac] [-f] [wav] [-]
[5/6/11 12:31:46 PM CEST] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/lame] [-b] [128] [--tt] [Take A Picture] [--ta] [Filter] [--tl] [Title Of Record] [-S] [--resample] [44.1] [-] [-]
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) FFmpeg version SVN-r15261, Copyright (c) 2000-2008 Fabrice Bellard, et al.
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib --mandir=/usr/share/man --arch=i386 --extra-cflags=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables --enable-bzlib --enable-libdc1394 --enable-libfaac --enable-libfaad --enable-libgsm --enable-libmp3lame --enable-libschroedinger --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avfilter-lavf --enable-postproc --enable-swscale --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib --cpu=i386
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavutil 49.11. 0 / 49.11. 0
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavcodec 51.71. 0 / 51.71. 0
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavformat 52.22. 1 / 52.22. 1
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavdevice 52. 1. 0 / 52. 1. 0
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavfilter 0. 1. 0 / 0. 1. 0
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libswscale 0. 6. 1 / 0. 6. 1
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) built on Oct 27 2009 13:55:46, gcc: 4.3.2 20081105 (Red Hat 4.3.2-7)
[5/6/11 12:31:46 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) [mp3 @ 0x9b69b00]ID3v2.3 tag skipped, cannot handle unsynchronization
[5/6/11 12:31:57 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) [mp3 @ 0x9b69b00]Could not find codec parameters (Audio: mp1, s16, 384 kb/s)
[5/6/11 12:31:57 PM CEST] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) /home/fileserver/-=MUSIC=-/06. Filter - Take A Picture.flac: could not find codec parameters
The transcoding settings I'm using here are as follows:
Step 1: ffmpeg -i %s -f wav -
Step 2: lame -b %b --tt %t --ta %a --tl %l -S --resample 44.1 - -
I have search info regarding this issue in these forums without any luck.
Please can someone help out by any chance?
The following third part SW are installed and symlinks are correct as far as I can see at least in /var/subsonic/transcode/.
- faad
- ffmpeg
- flac
- lame
- oggdec
- oggenc
Please let me know if there are any other info that you need.
With kind regards
Toby