Opened 8 years ago

Closed 7 years ago

#5603 closed defect (fixed)

wav: support decoding of "16.8 Floating Point (Legacy Audition Format)"

Reported by: ami_stuff Owned by:
Priority: normal Component: undetermined
Version: git-master Keywords: wav
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

"32-bit 16.8 float (type 1 – 32-bit)
This is Cool Edit Pro’s internal format. Floating point values are in the range of +/-32768.0, but larger and
smaller values are valid and not clipped since the floating point exponent is saved as well. The .wav
BitsPerSample field is set to 32 and BlockAlign is set to 4 bytes per channel."

https://www.datafilehost.com/d/5c72da01

C:\>d:\ffmpeg -i C:\1\wav\fp_16_8_legacy_audition_format.wav d:\out.wav
ffmpeg version N-79947-gcd244fa Copyright (c) 2000-2016 the FFmpeg developers
  built with gcc 5.3.0 (GCC)
  configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-av
isynth --enable-bzlib --enable-fontconfig --enable-frei0r --enable-gnutls --enab
le-iconv --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --
enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-lib
modplug --enable-libmfx --enable-libmp3lame --enable-libopencore-amrnb --enable-
libopencore-amrwb --enable-libopenjpeg --enable-libopus --enable-librtmp --enabl
e-libschroedinger --enable-libsnappy --enable-libsoxr --enable-libspeex --enable
-libtheora --enable-libtwolame --enable-libvidstab --enable-libvo-amrwbenc --ena
ble-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx
264 --enable-libx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable
-lzma --enable-decklink --enable-zlib
  libavutil      55. 24.100 / 55. 24.100
  libavcodec     57. 41.102 / 57. 41.102
  libavformat    57. 36.100 / 57. 36.100
  libavdevice    57.  0.101 / 57.  0.101
  libavfilter     6. 45.100 /  6. 45.100
  libswscale      4.  1.100 /  4.  1.100
  libswresample   2.  0.101 /  2.  0.101
  libpostproc    54.  0.100 / 54.  0.100
Guessed Channel Layout for  Input Stream #0.0 : stereo
Input #0, wav, from 'C:\1\wav\fp_16_8_legacy_audition_format.wav':
  Duration: 00:00:08.55, bitrate: 2822 kb/s
    Stream #0:0: Audio: pcm_s32le ([1][0][0][0] / 0x0001), 44100 Hz, 2 channels,
 s32, 2822 kb/s
File 'd:\out.wav' already exists. Overwrite ? [y/N] y
[wav @ 0000000000391b20] Using AVStream.codec to pass codec parameters to muxers
 is deprecated, use AVStream.codecpar instead.
Output #0, wav, to 'd:\out.wav':
  Metadata:
    ISFT            : Lavf57.36.100
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16
 (32 bit), 1411 kb/s
    Metadata:
      encoder         : Lavc57.41.102 pcm_s16le
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s32le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
size=    1472kB time=00:00:08.54 bitrate=1411.3kbits/s speed= 593x
video:0kB audio:1472kB subtitle:0kB other streams:0kB global headers:0kB muxing
overhead: 0.005175%

Change History (5)

comment:1 by Elon Musk, 8 years ago

Is this format auto detected by programs that support such files?

comment:2 by ami_stuff, 8 years ago

Yes, it's autodetected by Cool Edit Pro.

comment:4 by Carl Eugen Hoyos, 7 years ago

Keywords: wav added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

comment:5 by Elon Musk, 7 years ago

Resolution: fixed
Status: openclosed
Note: See TracTickets for help on using tickets.