Log in

View Full Version : new DTS decoder library released under GPL


Ogig
11th February 2004, 19:16
Hi,

I did a quick search and think this wasn't reported before. The Videolan project (http://www.videolan.org/) has released an open source DTS decoder library called DTSDEC (http://www.videolan.org/dtsdec.html) v0.1 under GPL yesterday. It is based on a52dec and works already in a test version of the VLC player.

As the version number suggests it is in early development and there are some issues. But these guys usually do execellent work (e.g. libdvdcss), I'm sure win32 can profit from DTS support under Linux too! :p In the future this could be a nice alternative to azidts (thinking of Besweet there) :D

KpeX
11th February 2004, 20:08
Excellent news! Hopefully soon we won't have to rely on commercial WinDVD filters for DTS decoding :). I'm hoping for a windows compile of 0.7.1 test version is up soon to try this out.

<slightly OT> VideoLan is one of the most underrated video players we have - open source, supports almost everything, non-directshow based.

Ogig
12th February 2004, 15:20
Yes, I'm looking forward to a DS filter based on DTSDEC too -- something nifty like AC3filter. Maybe valex is interested in incorporating the library, should not be too difficult as both use a52. That would be the only thing left for free and legal DVD enjoyment! By they way, AFAIK the Videolan player is the only free and legal (?)choice playing back DVDs under win32.

Dark-Cracker
12th February 2004, 16:00
héhé perhaps a new version of besweet with dts decoding without trick (like aziddts) it coukd be really formidable :)
hope dspguru have read this thread :)

++

planet1
13th February 2004, 06:24
hi there,


@KpeX here is your windows build (it was there right from the beginning, just a bit hidden ;)):

http://download.videolan.org/pub/testing/vlc-0.7.1-test1/win32/vlc-0.7.1-test1-win32.exe


my tests so far indicate:

-it can play DTS-wavs from DTS Audio CDs
(dts files in a wave container, 16/20 bit 44.1kHz, normally they are encoded in 5.1 discrete mode, but 6.1 matrix (old) / discrete mode [DTS-ES] is also possible)

-also plays normal .dts files (if not try to fix them with BeSplit)


-VideoLAN can output the DTS streams to a 6channel PCM .wav file

sadly i havent found a "working" (correct channel naming) tool which can split that 6channelWav into 6 individual mono wavs (e.g. for later reencodings to AC3 or so).
Apparently DTS stores its channels in a different order than AC3.
For gods sake why is there an ITU (http://www.itu.int). :devil:

but still a very good application considering its only in a beta or even alpha state !!! :cool:


@Dark-Cracker

yeah i also hope he reads this, but furthermore i wish (if i may) he would fix the 6monowav output (using as inputs: either a .dts file or the already transcoded 6ch PCM WAV file)

DSPguru
14th February 2004, 22:31
i read and tested the code. very nice! (but incomplete..)

i won't have the time to integrate the code in the near future, but it should be very easy for other developers to modify the dtsdec project, or to be more precise, to extend the libao project by creating an "audio_out_BeSweet.c" module that is similar to existing "audio_out_float.c" module that will call PCM166_Bursts (for six channels) or PCM16S_Bursts (for stereo).
it would be best that this tool would have the exact same syntax like azidts, so do users could choose between the windvd decoder and the libdts decoder.

i would suggest contacting UMP (http://forum.doom9.org/member.php?s=&action=getinfo&userid=30358) for this task. perhaps he would be interested in writing "azidts v0.2".. ;)


Cheers,
Dg.

UMP
16th February 2004, 04:28
I've become very busy IRL, so I fear I won't be the one who will help much. Anyway, here is a quick hack demonstrating how besweet.dll could be used with dtsdec (included binary will always generate a 128 kbps MP3 file named dummy.mp3).

Hopefully you'll find someone having some time to clean the thing up.

http://fairuse.free.fr/Release/private/dtsdec-0.0.1_besweet.zip

Hope this helps anyway,

ump

DanielSun
11th May 2004, 14:25
Hoping for it!

E-Male
16th June 2004, 08:44
the link doesn't work
if i could get the source i might(!) get it to work with besweet parameters

daphy
16th June 2004, 09:59
:D dtsdec-0.0.2 is already developed

you can download it on needfulthings or rarewares

E-Male
16th June 2004, 16:54
i meant UMP's sample-tool

Dark-Cracker
16th June 2004, 17:42
i have host u the file :

http://dark.pluridis.org/dtsdec-0.0.1_besweet.zip

plz made us a nice plugin :)

Bye.

E-Male
16th June 2004, 18:36
thx

bond
16th June 2004, 18:46
would be great if there would be an easy way to do dts -> any format conversion in besweet, as it would allow highest quality possible :)

Dark-Cracker
16th June 2004, 18:52
yes a real plugin for besweet could be nice but i think dspguru will not include it to avoid pattent content (i hope it's the right word for copyright).

E-Male
16th June 2004, 20:13
it won't be real plugin
more like azidts
except i get to know how input plug-ins for besweet work (if such an interface exists)

but the general good news is, i should be able to extend UMP's code to take all besweet parameters

first i'll try to port his addition to libdts 2

my only real worry is if multichannel transcoding will work fine, for example have correct channel-mapping

but i won't gove any promises when i'll be done
it's my biggest project up to now

i'm not sure if i'll first finish the new version of bsn_paramod or start with this

E-Male
16th June 2004, 23:03
i ran into trouble, as expected

the annoying part is that the crash i get makes my pc speaker beep like crazy until i reboot
and with R2D2 on XTC i can't work on it at night, i'll have to fix that one over day

E-Male
17th June 2004, 00:05
my fear has become reality:
6ch output from libdts doesn't work with besweet.dll
i'll go through it tomorrow and try to get it to work

daphy
17th June 2004, 05:45
crash i get makes my pc speaker beep like crazy until i reboot
same problem here - I never managed to decode anything even with the 0.0.2 version ->OS W2K3/WinXP :confused: :confused: :confused:

E-Male
17th June 2004, 15:59
i'll make some more tests tomorrow and see if i can get dtsdec of libdts 0.0.2 to work, i'll report if i can
then i'll try to add besweet code
andwhen this finally works i'll look into 6ch

i'll keep you posted

E-Male
17th June 2004, 20:24
the output is send to the screen, so use ">"
like this:
dtsdec -o wav test.dts > test.wav

what doesn't work for me is:
dtsdec -o wav6 test.dts > test.wav

P0l1m0rph1c
18th June 2004, 01:06
Why not? Use "wavall", like

dtsdec -o wavall > bleh.wav bleh.dts

wav6 works fine here as well.

E-Male
18th June 2004, 01:41
do the resulting files work with any program, for example besweet??

E-Male
18th June 2004, 01:46
feeding besweet the stereo downmix from dtsdec is no problem with the sources i got
ported the "quick hack" to version 0.0.2 and changed it to ogg output

but 6 channel won't work
might be a problem with dtsdec itself, i gotta go back to the standart source and test some output files from it, in my last test they worked with some programs, but many (winamp, besweet) couldn't read them

so there is progress, but an azidts replacement won't be avaible from me any time soon