Log in

View Full Version : Anybody interested in making AAC2MKA or DTS2MKA ?


ChristianHJW
12th May 2003, 09:19
Hi,

our core dev team is still busy with developing the library ( adding more features, main files are stable ) and the development of the DirectShow parser filter, so there is not much going on about adding new audio formats to matroska currently :( ...

Anybody feels like looking at the existing code from MPA2MKA and WAV2MKA and try making AAC2MKA and/or DTS2MKA ? De_xt just recently made a fancy AAC and MP4 AAC audio plugin for TCMP using FAAD2, i am sure he could assist you with finding the interesting parts of FAAD2.

If any C/C++ developer reading here feels bored and was looking for a new thing to try out, please get an IRC client and join us on irc.corecodec.com , #matroska. You'll be more than welcome ...

DeXT
12th May 2003, 21:16
If I understood well, WAV2MKA and MPA2MKA cannot be used as a starting point since they no longer produce specs-compliant Matroska streams. And currently there's another tool that can replace their functionality: mkvtoolnix (a win32 port is available, too).

So IMHO it would be much more useful to integrate AAC support into mkvtoolnix as it's a complete mkv muxing tool with multiple streams support (so you can use AAC audio together with a video track, as an example). I started looking at mkvtoolnix code but unfortunately I'm afraid it's too complex for my (limited) skills. Perhaps it's too unix-ish? ;)

Anyways hardly I can find another code example about how to make a proper Matroska stream. This is where an API documentation would really help (I know that's a huge task, and to say it clear, a pain in the *ss to write). ;)

robUx4
13th May 2003, 09:23
DeXT, there is Test6 in libmatroska/test/mux that shows a simple example on how to make a basic Matroska stream.

All writing tools are based on this example. And the only problem with mpa2mka and wav2mka is that the timecode set is wrong. Otherwise everything is fine.

Mosu
13th May 2003, 09:28
Originally posted by DeXT
So IMHO it would be much more useful to integrate AAC support into mkvtoolnix as it's a complete mkv muxing tool with multiple streams support (so you can use AAC audio together with a video track, as an example).

This is definitely one of the next things I'll implement. A nice soul has sent me a patch on Sunday that enabled reading at least some DTS files. Unfortunately I don't have the hardware to test it though - and neither is there any open source DTS reader. Therefore I cannot include proper support for all kinds of DTS files (split the stream into packets), and information about that format is very sparse.

AAC may be a completely different matter as there is faac which I can take a look at (and also test the files with mplayer). For DTS there simply is no software decoder for Linux, so don't count on mkvmerge too much regarding DTS.

ChristianHJW
13th May 2003, 09:36
Originally posted by Mosu For DTS there simply is no software decoder for Linux, so don't count on mkvmerge too much regarding DTS.

I was delighted about the DTS patch for mkvmerger, but why was this guy adding it if you cant play DTS on Linux ? There shouldnt be many external surround receivers that can accept DTS on their SPDIF input ?

As you have added the new codec ID 'A_DTS' to the matroska codec ID list already, if anybody here could give us the wFormat tag or GUID of DTS on DShow we could map it in the matroska DShow parser filter and use hypercube's DShow filter to play the files on Windows.

Does mkvtoolnix compile on Cygwin with the DTS muxing patch ? Did you create any test files yet ?

P.S. This is the very first time somebody was contributing to matroska that was not invited to do so by me :scared: ..... things getting out of my hands, obviously :D :D ... LOL !!

Wilbert
13th May 2003, 09:45
if anybody here could give us the wFormat tag or GUID of DTS on DShow
I'm sure that Alexnoe or Suiryc can give you that.

and use hypercube's DShow filter to play the files on Windows.
If you are talking about dtssource.ax, it's made by Gabest. DTSWAVsource.ax is from Hypercube.

Mosu
13th May 2003, 09:45
Originally posted by ChristianHJW
I was delighted about the DTS patch for mkvmerger, but why was this guy adding it if you cant play DTS on Linux ? There shouldnt be many external surround receivers that can accept DTS on their SPDIF input ?

He also included a small patch for the Matroska demuxer in mplayer. The thing is that mplayer can pass the digital data through to the hardware, and that's his setup. He has a hardware decoder capable of decoding it, so it's no problem for me :)

As you have added the new codec ID 'A_DTS' to the matroska codec ID list already, if anybody here could give us the wFormat tag or GUID of DTS on DShow we could map it in the matroska DShow parser filter and use hypercube's DShow filter to play the files on Windows.

Would be cool, because then I can actually test the files I create. I don't like including features that I cannot test ;)

Does mkvtoolnix compile on Cygwin with the DTS muxing patch ? Did you create any test files yet ?

Sure and no. Maybe I'll try something tonight after I've come back from the cinema.