Page 1 of 1

Transcoding FLAC to Apple Lossless

PostPosted: Mon Jan 06, 2014 7:01 pm
by mruptown
Hi all,

So I have several transcoding commands working fine to manually convert a FLAC file to an Apple Lossless file. For example:

ffmpeg -i test.flac -acodec alac test.m4a

So I assume all I have to do to get the above working as a transcoder in Subsonic is to swap out a few things (escape file input name and output to stdout):

ffmpeg -i %s -acodec alac -

However, when I do this, the subsonic log reports the error:

"Unable to find a suitable output format for 'pipe:'"

I've tried to beef up the command by reducing the logging and specifying the output format (command: ffmpeg -i %s -f mp4 -acodec alac - ) and then the error switched to:

"Could not write header for output file #0 (incorrect codec parameters ?)"

Does anyone happen to know what I'm doing wrong here? Based on the transcoding commands to convert stuff to mp3, it seems like this should be pretty simple?

Re: Transcoding FLAC to Apple Lossless

PostPosted: Thu Jan 30, 2014 1:38 pm
by PieterB

Re: Transcoding FLAC to Apple Lossless

PostPosted: Wed Sep 24, 2014 6:21 am
by betterbegingan
Another way is to use iDealshare VideoGo which can batch convert FLAC to Apple Lossless, AAC, MP3, WAV, WMA, AIFF and etc.

It also can edit audio files like increase audio volume for the output ALAC files, adjust sample rate for the output Apple Lossless audio, change the output ALAC audio channel between stereo and mono.

Step by step guide at http://www.idealshare.net/audio-converter/flac-to-apple-lossless.html

Re: Transcoding FLAC to Apple Lossless

PostPosted: Wed Sep 24, 2014 9:25 am
by PieterB
I myself am using dBpoweramp batch converter. Fast and flawless. Any known audio codec.