Downsampling MP3s
So, I upgraded to 4.7b3 (from 4.5) and any mp3s exceed the max bitrate and need downsampling do not work. I get nothing in the log that I do not expect, and no unhandled exceptions that I can see. All of the options for downsampling are identical to the recommendations.
Log:
FFMpeg is current and when I run that exact command from a terminal it works fine.
Any suggestions or places to investigate?
EDIT-1: Turns out command line execution isn't working fine. The file gets downsampling but the header is messed up for some reason. This is obviously a FFMpeg problem.
If I output to a file "... -f mp3 song.mp3" I get a valid MP3. If I output to STDOUT and redirect to a file "... -f mp3 - >song.mp3" I do not get a valid file. Regardless of the song I downsample the one outputting directly to a .mp3 file is always 309 bytes larger than the one I output to STDOUT and redirect to a .mp3 file.
Log:
- Code: Select all
[2012-08-21 21:08:04,112] INFO PlayQueueInputStream - plowman listening to "Rascal Flatts - Changed/01 Rascal Flatts - Changed.mp3"
[2012-08-21 21:08:04,118] DEBUG TranscodeInputStream - Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-i] [/mp3/Country/Rascal Flatts - Changed/01 Rascal Flatts - Changed.mp3] [-ab] [96k] [-v] [0] [-f] [mp3] [-]
FFMpeg is current and when I run that exact command from a terminal it works fine.
Any suggestions or places to investigate?
EDIT-1: Turns out command line execution isn't working fine. The file gets downsampling but the header is messed up for some reason. This is obviously a FFMpeg problem.
- Code: Select all
[mp3 @ 0x6385e0] Header missing
Last message repeated 190 times
If I output to a file "... -f mp3 song.mp3" I get a valid MP3. If I output to STDOUT and redirect to a file "... -f mp3 - >song.mp3" I do not get a valid file. Regardless of the song I downsample the one outputting directly to a .mp3 file is always 309 bytes larger than the one I output to STDOUT and redirect to a .mp3 file.