[FFmpeg-user] split n-channel wave file into n mono wave file
Antoine Villeret
antoine.villeret at gmail.com
Thu Oct 27 19:05:05 CEST 2011
Sorry for the late answer...
2011/10/19 Dave Bevan <dave.bevan at bbc.co.uk>
> >can't open input file `input.wav': WAVE: RIFF header not found
> >Concerning FFmbc, it says "input.wav: Error number -1 occurred"
>
>
> Looks like your WAV files are headerless?
hum... i don't think so because FFmpeg can read it correctly
> Could you post perhaps 100MB
> from one if your files, somewhere?
>
unfortunately I don't have thoses files anymore, the sample i kept is only
247M but there is no problem either to read the header nor to split the file
into mono
the problem might come from the size limitation of Wave file...
> dd if=input.wav bs=100M count=1 of=input_head_100meg.wav
>
> Will copy the 1st 100MB of raw data from your wav, as-is. Post the file
> on the internet somewhere, let us know, and we'll try and figure out how
> to carve up your file. Ffmpeg and ffmbc both let you hint the input
> stream, so "ffmbc -format xxx -i in.file" for example.
>
> I presume ffmpeg got it right - that your file is PCM, 24bit, 48k ?
>
yes
>
>
>
> > 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/mailm
> an/listinfo/ffmpeg-user<http://ffmpeg.org/mailm%0Aan/listinfo/ffmpeg-user>
> >
> >
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> http://www.bbc.co.uk/
> This e-mail (and any attachments) is confidential and may contain personal
> views which are not the views of the BBC unless specifically stated.
> If you have received it in error, please delete it from your system.
> Do not use, copy or disclose the information in any way nor act in reliance
> on it and notify the sender immediately.
> Please note that the BBC monitors e-mails sent or received.
> Further communication will signify your consent to this.
>
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
More information about the ffmpeg-user
mailing list