[FFmpeg-user] split n-channel wave file into n mono wave file

Antoine Villeret antoine.villeret at gmail.com
Wed Oct 19 11:06:38 CEST 2011


thanks for the links,

I've already tried SoX but it doesn't work with my files which have been
generated with Pyramix Studio and are not compliant with the Microsoft Wave
Specification, some of the files exceed 4 GB.
I successfully made a script that uses SoX to separate a 19-channel file
which is around 250 MB.
But SoX seems to cannot read the header of a the file larger than 4 GB and
says :
can't open input file `input.wav': WAVE: RIFF header not found

Concerning FFmbc, it says "input.wav: Error number -1 occurred"

and FFmpeg says :
Input #0, wav, from 'input.wav':
  Duration: 01:36:24.34, bitrate: 36864 kb/s
    Stream #0.0: Audio: pcm_s24le, 48000 Hz, 32 channels, s32, 36864 kb/s
so it seems to be able to read the file but there is no way to map audio
channel with FFmpeg (for now)

Also I can't use Pyramix Studio to convert thoses files because it's not a
free software...

Thanks for the help

do it yourself
Google lit ce mail...
si vous refusez cela, utilisez l'adresse antoine.villeret [at] free.fr pour
me contacter

2011/10/18 betonpfeiler <betonpfeiler at googlemail.com>

> On 10/18/2011 07:44 PM, Dave Bevan wrote:
>> I would like to know if it's possible to split a n-channel wave file
>> ....
>> You could try http://sox.sourceforge.net, or
>> http://code.google.com/p/ffmbc and it's -map_audio_channel option.
>> --D.
> Here you can find an example how the -map function works...
> http://ffmbc.wordpress.com/**2011/01/15/monotracks-to-**stereo-ii/<http://ffmbc.wordpress.com/2011/01/15/monotracks-to-stereo-ii/>
> hope it helps...
> J
> ______________________________**_________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/**listinfo/ffmpeg-user<http://ffmpeg.org/mailman/listinfo/ffmpeg-user>

More information about the ffmpeg-user mailing list