[MPlayer-dev-eng] WAVE_FORMAT_EXTENSIBLE doesn't get added by mplayer during dumping to multichannel WAV
Grozdan
neutrino8 at gmail.com
Sat Feb 20 00:26:37 CET 2010
Hi,
It seems that mplayer, when using -ao pcm to dump audio to a WAV, does not
add WAVE_FORMAT_EXTENSIBLE extension which results in FLAC encode failure if
the dumped WAV file has > 2 audio channels.
How to reproduce?
mplayer somefile.avi -channels 6 -vo null -vc null -ao
pcm:fast:file=$HOME/output.wav
flac -5 $HOME/output.wav -o $HOME/output.flac
The above results in flac erroring out with the following message
audio.wav: ERROR: WAVE has >2 channels but is not WAVE_FORMAT_EXTENSIBLE;
cannot assign channels
Dumping 2 channels audio with mplayer to a WAV, does not result in any
problems though, and flac has no issues either. Can this be fixed or is
there a known workaround?
Thanks
More information about the MPlayer-dev-eng
mailing list