Opened 9 years ago

Closed 8 years ago

#4397 closed defect (fixed)

Sample rate incorrectly detected for dts file

Reported by: d4eva Owned by:
Priority: normal Component: avcodec
Version: git-master Keywords: dca
Cc: Blocked By:
Blocking: Reproduced by developer: yes
Analyzed by developer: no

Description

FFmpeg built with --enable-libdcadec --disable-decoder=dca

Output from dcadec.exe:

H:\ffmpeg>dcadec.exe sample.dts
DTS-HD Master Audio: 8 ch, 96 kHz, 24 bit
(DTS Core Audio: 5.1 ch, 48 kHz, 24 bit, ES, 1536 kbps)

Output from FFmpeg
H:\ffmpeg>ffmpeg.exe -i sample.dts
ffmpeg version 2.6.git Copyright (c) 2000-2015 the FFmpeg developers

built with gcc 4.9.2 (i686-win32-dwarf-rev0, Built by MinGW-W64 project)
configuration: --enable-memalign-hack --extra-cflags=-I/local/include --extra-ldflags=-L/local/lib --extra-cflags=-USTRICT_ANSI --extr

a-ldflags='-static-libgcc -static-libstdc++' --disable-shared --disable-doc --enable-libdcadec --disable-decoder=dca --enable-static --enabl
e-ffmpeg --enable-ffplay

libavutil 54. 20.101 / 54. 20.101
libavcodec 56. 30.100 / 56. 30.100
libavformat 56. 26.101 / 56. 26.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 13.101 / 5. 13.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100

Input #0, dts, from 'sample.dts':

Duration: N/A, start: 0.000000, bitrate: N/A

Stream #0:0: Audio: dts (DTS-HD MA), 48000 Hz, 7.1, s32p (24 bit)

At least one output file must be specified

See 48000. It should have been 96000.

Attachments (1)

sample.dts (64.0 KB ) - added by d4eva 9 years ago.
DST sample file.

Download all attachments as: .zip

Change History (3)

by d4eva, 9 years ago

Attachment: sample.dts added

DST sample file.

comment:1 by Carl Eugen Hoyos, 9 years ago

Component: undeterminedavcodec
Keywords: dca added
Reproduced by developer: set
Status: newopen
Version: unspecifiedgit-master

The sample rate that was doubled by the xll code gets overwritten in dca_parse().

comment:2 by Carl Eugen Hoyos, 8 years ago

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