Package: libdca-utils Version: 0.0.5-3 Severity: normal *** Please type your report below this line ***
dcadec produces WAV files, that are reported as are much shorter, than expected to be, but are big enough to contain sound of full duration. Either dcadec produces broken files, or files are valid but no one is able to read them correctly. Example: I have extracted DTS audio track from .mkv movie container using mkvextract. Now: $ ls -l audio-rus-mvo.dts -rw-r--r-- 1 sergio sergio 614424560 Ноя 26 17:13 audio-rus-mvo.dts Well, ~600 MiB DTS. $ mediainfo audio-rus-mvo.dts General Complete name : audio-rus-mvo.dts Format : DTS Format/Info : Digital Theater Systems File size : 586 MiB Duration : 1h 48mn Overall bit rate : 754 Kbps Audio Format : DTS Format/Info : Digital Theater Systems Duration : 1h 48mn Bit rate mode : Constant Bit rate : 754 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Side: L R, LFE Sampling rate : 48.0 KHz Bit depth : 24 bits Stream size : 586 MiB (100%) Duration of 1:48 reported. Converting it to multitrack wav: $ dcadec -o wavall audio-rus-mvo.dts > audio-rus-mvo-6ch.wav And so I got 7.5 GiB 6channel wav (that seems to be correct size for 6ch 32bit/sample 1:48 sound): $ ls -l audio-rus-mvo-6ch.wav -rw-r--r-- 1 sergio sergio 7505018948 Ноя 26 17:27 audio-rus-mvo-6ch.wav It seems to be really 6ch wav as I can judge looking at spectrogram. And its duration reported correctly by mediainfo: $ mediainfo /mnt/sys_10/alice-audio-rus-mvo-6ch.wav General Complete name : /mnt/sys_10/alice-audio-rus-mvo-6ch.wav Format : Wave File size : 6.99 GiB Duration : 1h 48mn Overall bit rate : 9 216 Kbps Audio ID : 0 Format : PCM Format profile : Float Format settings, Endianness : Float Codec ID : 00001000-0000-0300-8000-00AA00389B71 Codec ID/Hint : IEEE Duration : 1h 48mn Bit rate mode : Constant Bit rate : 9 216 Kbps Channel(s) : 6 channels Channel positions : Front: L C R, Back: L R, LFE Sampling rate : 48.0 KHz Bit depth : 32 bits Stream size : 6.99 GiB (100%) But when I try to play file with: rhytmbox mplayer totem sox all of them see file duration 0:46:26. (sox says: Duration: 00:46:26.50) I have seen the same result with another extracted-DTS-to-6ch-wav conversion, in that case sound was torn in some other wrong duration. The same result if writing to pipe. In addition to this one, there is error with output-error handling: in case of running out of disk space (that is very possible with so giant WAVs) no error reported, no error status returned, and decoding process continues to nowhere. -- System Information: Debian Release: squeeze/sid APT prefers stable APT policy: (900, 'stable'), (800, 'testing'), (500, 'proposed-updates') Architecture: amd64 (x86_64) Kernel: Linux 2.6.26-core2-ll (PREEMPT) Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libdca-utils depends on: ii libc6 2.11.2-7 Embedded GNU C Library: Shared lib ii libdca0 0.0.5-3 decoding library for DTS Coherent libdca-utils recommends no packages. libdca-utils suggests no packages. -- no debconf information