[FFmpeg-user] WAV samplerate conversion with CODEC ID 1 ???

christian.will at 4-real.com christian.will at 4-real.com
Tue Sep 15 16:48:18 EEST 2020



<-----Ursprüngliche Nachricht-----
<Von: ffmpeg-user <ffmpeg-user-bounces at ffmpeg.org> Im Auftrag von Carl Eugen Hoyos
<Gesendet: Dienstag, 15. September 2020 12:20
<<An: FFmpeg user questions <ffmpeg-user at ffmpeg.org>
<Betreff: Re: [FFmpeg-user] WAV samplerate conversion with CODEC ID 1 ???<
<
<Am Di., 15. Sept. 2020 um 11:59 Uhr schrieb Tobias Rapp
<<t.rapp at noa-archive.com>:
<>
<> On 15.09.2020 11:44, christian.will at 4-real.com wrote:
<> > Is it somehow possible to convert wav audio takes with a CODEC ID of 1?
<> > Because ffmpeg and sox are creating very long and "unusal" codec ids like:
<> > 00000001-0000-0010-8000-00AA00389B71<
<
<Command line and complete, uncut console output missing.<
<
<No, because we don't want to create files that do not conform to the wav standard.
<(You can easily change the source code yourself if you have to.)<
<
<> That GUID is part of the WaveFormatExtensible structure, used by WAVE 
<> files to specify additional format properties. It means "PCM", see the 
<> section about "SubFormat" in [1], and should be compatible with common 
<> playback software.<
<
<Very often, it sadly isn't.
<
<We should probably add an option to force tag 1.

Thanks for the reply! 

Fyi
Just found out, it is possible with sox
As you can specify the filetype/format with -t <wavpcm> command
$ sox input.wav -t wavpcm -b 24 output.wav ...





More information about the ffmpeg-user mailing list