[FFmpeg-trac] #4426(ffmpeg:closed): RIFF WAVE 24-bit WAVE_FORMAT_PCM files are not properly supported

FFmpeg trac at avcodec.org
Sat Apr 4 11:26:53 CEST 2015


#4426: RIFF WAVE 24-bit WAVE_FORMAT_PCM files are not properly supported
-------------------------------------+-----------------------------------
             Reporter:  rsn10100     |                    Owner:
                 Type:  defect       |                   Status:  closed
             Priority:  normal       |                Component:  ffmpeg
              Version:  unspecified  |               Resolution:  invalid
             Keywords:  wav          |               Blocked By:
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-----------------------------------
Changes (by cehoyos):

 * keywords:  wav WAVEFORMATEX WAVE_FORMAT_PCM output 24bit => wav
 * resolution:   => invalid
 * status:  new => closed
 * component:  undetermined => ffmpeg


Comment:

 Replying to [ticket:4426 rsn10100]:
 > When converting 24-bit audio to a wav format it is down converted to
 16-bit by default.

 Only if you requested encoding but did not specify an encoder.

 > I believe this down conversion is being done because of a rumor that the
 original spec did not allow for 24-bit files.

 No, this is not the reason.
 For every output format, a default codec is chosen for each supported
 codec_type if no codec was explicitely specified: For format wav and
 codec_type audio this is pcm_s16le.
 So far, the developers have resisted to implement a heuristic that would
 change the behaviour for limited use. Note that such a change would not
 work for library users and would make the default behaviour for libary
 users and users of the ffmpeg application different.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4426#comment:2>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list