Opened 9 years ago

Closed 8 years ago

#4619 closed defect (fixed)

Unable to decode Pure Lossless DTS-HD

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

Description

Even though the latest ffmpeg and ffplay include libdcadec, they do not support Pure Lossless DTS-HD.

Example:

ffmpeg version N-72900-g178ba1f Copyright (c) 2000-2015 the FFmpeg developers

built with gcc 4.9.2 (GCC)
configuration: --enable-gpl --enable-version3 --disable-w32threads --enable-avisynth --enable-bzlib --enable-f

ontconfig --enable-frei0r --enable-gnutls --enable-iconv --enable-libass --enable-libbluray --enable-libbs2b --e
nable-libcaca --enable-libdcadec --enable-libfreetype --enable-libgme --enable-libgsm --enable-libilbc --enable-
libmodplug --enable-libmp3lame --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg --enab
le-libopus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --ena
ble-libtwolame --enable-libvidstab --enable-libvo-aacenc --enable-libvo-amrwbenc --enable-libvorbis --enable-lib
vpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxavs --enable-libxvid --e
nable-lzma --enable-decklink --enable-zlib

libavutil 54. 27.100 / 54. 27.100
libavcodec 56. 41.100 / 56. 41.100
libavformat 56. 36.100 / 56. 36.100
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 16.101 / 5. 16.101
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 2.100 / 1. 2.100
libpostproc 53. 3.100 / 53. 3.100

[dca @ 031da460] Not a valid DCA frame

Last message repeated 119 times

[matroska,webm @ 031c8980] decoding for stream 0 failed
[matroska,webm @ 031c8980] Could not find codec parameters for stream 0 (Audio: dts, 48000 Hz, 2 channels, fltp)
: no decodable DTS frames
Consider increasing the value for the 'analyzeduration' and 'probesize' options
criancza.mka: could not find codec parameters
Guessed Channel Layout for Input Stream #0.0 : stereo
Input #0, matroska,webm, from 'criancza.mka':

Metadata:

encoder : libebml v1.3.1 + libmatroska v1.4.2
creation_time : 2015-06-12 17:35:51

Duration: 00:05:17.61, start: 0.000000, bitrate: 948 kb/s

Stream #0:0(por): Audio: dts, 48000 Hz, 2 channels, fltp (default)

Name of the test file: Pure_Lossless_DTS-HD~stereo-sample.mka

Change History (7)

comment:1 by Carl Eugen Hoyos, 9 years ago

Keywords: dca added

Please also provide your command line.

comment:2 by ptalarbvorm, 9 years ago

ffmpeg -i filename.mka

Both "Pure_Lossless_DTS-HD~stereo-sample.txt" and "Pure_Lossless_DTS-HD~stereo-sample.mka" already have been uploaded to the FTP server.

comment:3 by Hendrik, 9 years ago

This will probably work if you disable the internal dca decoder when building (--disable-decoder=dca)

comment:4 by ptalarbvorm, 9 years ago

Resolution: invalid
Status: newclosed

comment:5 by ptalarbvorm, 9 years ago

Below is the reply that I should have received from the beginning:

ffmpeg -c:a libdcadec -i "pure_lossless_DTS-HD.mka"

Also: if libdcadec is superior to the dca library, then what is the point of not removing the old-and-limited-and-outdated DTS decoder?

comment:6 by Carl Eugen Hoyos, 9 years ago

Resolution: invalid
Status: closedreopened

comment:7 by Carl Eugen Hoyos, 8 years ago

Component: undeterminedavcodec
Reproduced by developer: set
Resolution: fixed
Status: reopenedclosed
Version: unspecifiedgit-master

Fixed in ae5b2c52

Note: See TracTickets for help on using tickets.