FLAC Transcoding no output to player
Ok, been banging my head on the wall with this for days now and I have no idea how to proceed.
I am trying to get FLAC transcoding to work and initially the problem seemed to be related to ffmpeg but now I'm pretty sure it's not.
Here is my Info:
Ubuntu 11.10
running a manual install of 4.6
/var/subsonic/transcoding looks like this:
Log file looks like this:
And this is all that shows up until the next time I try to play anything
So as you can see by the log info subsonic is trying to transcode the file into STDOUT but the player comes up with nothing, it loads the time of the song but never plays.
If I run the command:
replacing the "-" at the end with "test.mp3" file name I get a playable MP3.
So this tells me that subsonic is not getting the STDOUT from the streamer but I have no idea what else to do?
Any ideas?
Just in case here is the ffmpeg info as well:
I am trying to get FLAC transcoding to work and initially the problem seemed to be related to ffmpeg but now I'm pretty sure it's not.
Here is my Info:
Ubuntu 11.10
running a manual install of 4.6
- Code: Select all
SUBSONIC_HOME=/var/subsonic
SUBSONIC_HOST=0.0.0.0
SUBSONIC_PORT=4040
SUBSONIC_HTTPS_PORT=0
SUBSONIC_CONTEXT_PATH=/
SUBSONIC_MAX_MEMORY=1024
SUBSONIC_PIDFILE=
SUBSONIC_DEFAULT_MUSIC_FOLDER=/var/music
SUBSONIC_DEFAULT_PODCAST_FOLDER=/var/music/Podcast
SUBSONIC_DEFAULT_PLAYLIST_FOLDER=/var/playlists
/var/subsonic/transcoding looks like this:
- Code: Select all
lrwxrwxrwx 1 root root 21 2012-02-11 11:31 ffmpeg -> /usr/local/bin/ffmpeg*
lrwxrwxrwx 1 root root 13 2012-01-18 08:48 flac -> /usr/bin/flac*
lrwxrwxrwx 1 root root 13 2012-01-18 08:48 lame -> /usr/bin/lame*
Log file looks like this:
- Code: Select all
[2/12/12 11:29:30 AM MST] INFO PlaylistInputStream chris listening to "The Immaculate Collection [1990]/12 Madonna - The Immaculate Collection [1990]- Like A Prayer.flac"
[2/12/12 11:29:30 AM MST] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/home/music/Madonna/The Immaculate Collection [1990]/12 Madonna - The Immaculate Collection [1990]- Like A Prayer.flac] [-ab] [320k] [-v] [0] [-f] [mp3] [-]
And this is all that shows up until the next time I try to play anything
So as you can see by the log info subsonic is trying to transcode the file into STDOUT but the player comes up with nothing, it loads the time of the song but never plays.
If I run the command:
- Code: Select all
./ffmpeg -i /home/music/Madonna/The\ Immaculate\ Collection\ \[1990\]/12\ Madonna\ -\ The\ Immaculate\ Collection\ \[1990\]-\ Like\ A\ Prayer.flac -ab 320k -v 0 -f mp3 test.mp3
replacing the "-" at the end with "test.mp3" file name I get a playable MP3.
So this tells me that subsonic is not getting the STDOUT from the streamer but I have no idea what else to do?
Any ideas?
Just in case here is the ffmpeg info as well:
- Code: Select all
ffmpeg version git-2012-02-11-fd0b8d5 Copyright (c) 2000-2012 the FFmpeg developers
built on Feb 11 2012 11:25:21 with gcc 4.6.1
configuration: --enable-gpl --enable-libfaac --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libtheora --enable-libvorbis --enable-libx264 --enable-nonfree --enable-postproc --enable-version3 --enable-x11grab
libavutil 51. 39.100 / 51. 39.100
libavcodec 54. 1.100 / 54. 1.100
libavformat 54. 0.100 / 54. 0.100
libavdevice 53. 4.100 / 53. 4.100
libavfilter 2. 62.100 / 2. 62.100
libswscale 2. 1.100 / 2. 1.100
libswresample 0. 6.100 / 0. 6.100
libpostproc 52. 0.100 / 52. 0.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...