Kodi Community Forum

Full Version: Best way to convert multichannel FLAC to LPCM
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Given the current bug with stuttering in mkv's with multichannel flac:

http://trac.xbmc.org/ticket/10581

I am planning to demux and then convert the flac track to LPCM for some of the more problematic files.

My current workflow is:

a) demux

Code:
mkvextract tracks input_movie.mkv 1:output_movie.mkv 2:flac_audio.flac

b) convert multichannel flac to lpcm

Code:
mplayer -channels 6 -quiet -vo null -vc null -ao pcm:waveheader:file="lpcm_audio.wav" flac_audio.flac

Does anyone have another Linux-based route for option B specifically or is this the easiest way to convert multichannel flac --> lpcm in Linux?

thanks