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