Opened 3 weeks ago

Last modified 3 weeks ago

#6561 open defect

Certain DTS in WAV can't be recognised

Reported by: macdavis Owned by:
Priority: important Component: avformat
Version: git-master Keywords: dca wav regression
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

Summary of the bug:
The attachments are two DTS files. One is 2ch/44.1KHz, the other is 2ch/88.2KHz. FFmpeg fails to recognise either of them. They can be correctly decoded by VLC and MPC-BE.
How to reproduce:

2ch/44.1KHz

ffmpeg -i /Volumes/RamDisk/MUSIC_441_1234.wav -f null -
ffmpeg version 3.3.git Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.1.0 (clang-802.0.42)
  configuration: --optflags=-Ofast --prefix=/usr/local --extra-cflags='-march=haswell -mtune=intel -m64 -minline-all-stringops -fomit-frame-pointer -fforce-addr -finline-functions -funit-at-a-time -funroll-loops -ffunction-sections -fdata-sections -Ofast -pipe -fomit-frame-pointer -ftree-vectorize' --target-os=darwin --arch=x86_64 --cpu=haswell --disable-runtime-cpudetect --disable-debug --disable-opencl --disable-avdevice --disable-ffplay --disable-ffprobe --disable-postproc --disable-ffserver --disable-devices --disable-avresample --disable-indev=qtkit --disable-doc --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gpl --enable-nonfree
  libavutil      55. 69.100 / 55. 69.100
  libavcodec     57.102.100 / 57.102.100
  libavformat    57. 76.100 / 57. 76.100
  libavfilter     6. 95.100 /  6. 95.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from '/Volumes/RamDisk/MUSIC_441_1234.wav':
  Metadata:
    encoder         : Lavf57.76.100
  Duration: 00:00:07.01, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.76.100
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder         : Lavc57.102.100 pcm_s16le
size=N/A time=00:00:07.01 bitrate=N/A speed=2.13e+03x    
video:0kB audio:1208kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown

2ch/88.2KHz

ffmpeg -i /Volumes/RamDisk/MUSIC_882_1234.wav -f null -
ffmpeg version 3.3.git Copyright (c) 2000-2017 the FFmpeg developers
  built with Apple LLVM version 8.1.0 (clang-802.0.42)
  configuration: --optflags=-Ofast --prefix=/usr/local --extra-cflags='-march=haswell -mtune=intel -m64 -minline-all-stringops -fomit-frame-pointer -fforce-addr -finline-functions -funit-at-a-time -funroll-loops -ffunction-sections -fdata-sections -Ofast -pipe -fomit-frame-pointer -ftree-vectorize' --target-os=darwin --arch=x86_64 --cpu=haswell --disable-runtime-cpudetect --disable-debug --disable-opencl --disable-avdevice --disable-ffplay --disable-ffprobe --disable-postproc --disable-ffserver --disable-devices --disable-avresample --disable-indev=qtkit --disable-doc --enable-pthreads --enable-version3 --enable-hardcoded-tables --enable-gpl --enable-nonfree
  libavutil      55. 69.100 / 55. 69.100
  libavcodec     57.102.100 / 57.102.100
  libavformat    57. 76.100 / 57. 76.100
  libavfilter     6. 95.100 /  6. 95.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, wav, from '/Volumes/RamDisk/MUSIC_882_1234.wav':
  Metadata:
    encoder         : Lavf57.76.100
  Duration: 00:00:07.01, bitrate: 1411 kb/s
    Stream #0:0: Audio: pcm_s16le ([1][0][0][0] / 0x0001), 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0:0 -> #0:0 (pcm_s16le (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
Output #0, null, to 'pipe:':
  Metadata:
    encoder         : Lavf57.76.100
    Stream #0:0: Audio: pcm_s16le, 44100 Hz, stereo, s16, 1411 kb/s
    Metadata:
      encoder         : Lavc57.102.100 pcm_s16le
size=N/A time=00:00:07.01 bitrate=N/A speed=2.22e+03x    
video:0kB audio:1208kB subtitle:0kB other streams:0kB global headers:0kB muxing overhead: unknown}}}

Attachments (2)

MUSIC_882_1234.wav (1.2 MB) - added by macdavis 3 weeks ago.
MUSIC_441_1234.wav (1.2 MB) - added by macdavis 3 weeks ago.

Change History (3)

Changed 3 weeks ago by macdavis

Changed 3 weeks ago by macdavis

comment:1 Changed 3 weeks ago by cehoyos

  • Component changed from undetermined to avformat
  • Keywords dca wav regression added; DTS removed
  • Priority changed from normal to important
  • Reproduced by developer set
  • Status changed from new to open

Regression since e6fabd6e9bfdb6d010da7e61d32ad1e558703654, related to ticket #3784.

Note: See TracTickets for help on using tickets.