Page 1 of 1

flac (wav remnants?) to mp3 transcoding problem

PostPosted: Fri Jun 24, 2011 3:42 am
by MoreTrife
i originally downloaded 3 songs as WAVs. then i realized wavs can't be tagged with cover art so i converted them to flacs. somewhere along the line i think it screwed up subsonic's ability to read them. here is the error log, THANK YOU for any help straightening it out:

[2011-06-23 22:16:46,095] INFO PlaylistInputStream - margret.marie listening to "Street Halo 12'\00-Burial-Stolen Dog.flac"
[2011-06-23 22:16:46,152] DEBUG TranscodeInputStream - Starting transcoder: [c:\subsonic\transcode\ffmpeg] [-i] [\\IOMEGA-06F43C\music\Library\Burial\Street Halo 12'\00-Burial-Stolen Dog.flac] [-v] [0] [-f] [wav] [-]
[2011-06-23 22:16:46,158] DEBUG TranscodeInputStream - Starting transcoder: [c:\subsonic\transcode\lame] [-b] [128] [--tt] [Stolen Dog] [--ta] [Burial] [--tl] [Street Halo 12"] [-S] [--resample] [44.1] [-] [-]
[2011-06-23 22:16:46,205] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) LAME 32bits version 3.98.4 (http://www.mp3dev.org/)
[2011-06-23 22:16:46,205] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame)
[2011-06-23 22:16:46,205] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) usage: c:\subsonic\transcode\lame [options] <infile> [outfile]
[2011-06-23 22:16:46,205] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame)
[2011-06-23 22:16:46,205] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) <infile> and/or <outfile> can be "-", which means stdin/stdout.
[2011-06-23 22:16:46,206] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame)
[2011-06-23 22:16:46,206] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) Try:
[2011-06-23 22:16:46,206] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) "c:\subsonic\transcode\lame --help" for general usage information
[2011-06-23 22:16:46,206] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) or:
[2011-06-23 22:16:46,206] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) "c:\subsonic\transcode\lame --preset help" for information on suggested predefined settings
[2011-06-23 22:16:46,206] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) or:
[2011-06-23 22:16:46,206] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) "c:\subsonic\transcode\lame --longhelp"
[2011-06-23 22:16:46,206] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame) or "c:\subsonic\transcode\lame -?" for a complete options list
[2011-06-23 22:16:46,206] DEBUG InputStreamReaderThread - (c:\subsonic\transcode\lame)

PostPosted: Fri Jun 24, 2011 2:04 pm
by bushman4
The problem is probably the single quote in the file path. Get rid of that and it will probably work...

HTH,

Glenn

PostPosted: Fri Jun 24, 2011 2:59 pm
by MoreTrife
THANKS! it worked. what's the reasoning behind it?

PostPosted: Fri Jun 24, 2011 3:08 pm
by bushman4
Subsonic uses external transcoding tools to reformat music on the fly to fit the player that it is playing to.

Those transcoders are basically command line tools, and Subsonic just runs a fancy command line to get it to do its stuff and still have tags and such in the output stream.

The LAME command that Subsonic was issuing for your file was:
Code: Select all
c:\subsonic\transcode\lame -b 128 --tt Stolen Dog --ta Burial --tl Street Halo 12" -S --resample 44.1 - -


Notice that Subsonic TRIED to make your Album Tag (Street Halo 12') into an acceptable tag by doubling up the single quote, but that only causes the command line to fail because the OS sees those double quotes and assumes that it is a line terminator, and misses the important double hyphen at the end.

There is probably a way to get it to work by substituting escape codes for certain special characters (in the Subsonic Codebase) but for now, it is a limitation.

HTH,

Glenn