Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Programming and Hacking > Development

Reply
 
Thread Tools Display Modes
Old 2nd December 2002, 12:39   #1  |  Link
maormini
Registered User
 
Join Date: Aug 2002
Posts: 32
Avi + DTS

I searched the forum up and down, went through alot of posts but there is still no answer whether it's possible to extract and then mux a DTS sound stream with a DivX encoded avi file!

Is it possible at all, and if so PLEASE give me the method!
maormini is offline   Reply With Quote
Old 2nd December 2002, 14:03   #2  |  Link
rjamorim
Blah!
 
Join Date: Jul 2002
Location: Brazil
Posts: 337
Well, I guess possible to mux it is.

But there's no way you'll be able to playback this AVI. (Unless you maybe use InterVideo Platinum... it can playback DivX, and DTS, but I wonder if it can playback both at once... humm...)
__________________
Get latest LAME, Vorbis and more binaries at RareWares:
http://www.rarewares.org
rjamorim is offline   Reply With Quote
Old 2nd December 2002, 14:45   #3  |  Link
alexnoe
Banned
 
alexnoe's Avatar
 
Join Date: Aug 2002
Location: Germany
Posts: 1,741
If someone could provide me frameheader specs of DTS, then I could try to implement DTS support into AVI-Mux GUI!

Afaik, Intervideo AC3 filter can playback DTS, so this should not be the problem.
alexnoe is offline   Reply With Quote
Old 2nd December 2002, 14:50   #4  |  Link
DJ Bobo
Encoding Dinosaur!
 
DJ Bobo's Avatar
 
Join Date: Oct 2001
Location: Europe
Posts: 1,655
Implementing DTS support for AVI is senseless anyway. DTS has such high bitrates (768kbps and more) that it just doesn't make any sense to mux it with an AVI. You won't go under 3-CD-Rips if you wanna use DTS
DJ Bobo is offline   Reply With Quote
Old 2nd December 2002, 16:49   #5  |  Link
E-Male
mad computer-scientist
 
Join Date: Mar 2002
Posts: 1,377
depending on the lenth of the movie i could also b a 2cd rip
and for some movies it would definitivle worth it
E-Male is offline   Reply With Quote
Old 2nd December 2002, 18:18   #6  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506
Quote:
Originally posted by alexnoe
If someone could provide me frameheader specs of DTS, then I could try to implement DTS support into AVI-Mux GUI!

Afaik, Intervideo AC3 filter can playback DTS, so this should not be the problem.
http://forum.doom9.org/showthread.php?s=&threadid=34958
DSPguru is offline   Reply With Quote
Old 2nd December 2002, 19:02   #7  |  Link
alexnoe
Banned
 
alexnoe's Avatar
 
Join Date: Aug 2002
Location: Germany
Posts: 1,741
Why do you speak in sizes of CDs actually? What about putting 2 divX movies onto one DVD-R?

Last edited by alexnoe; 3rd December 2002 at 13:11.
alexnoe is offline   Reply With Quote
Old 3rd December 2002, 00:43   #8  |  Link
E-Male
mad computer-scientist
 
Join Date: Mar 2002
Posts: 1,377
well, i cross fingers this will work
E-Male is offline   Reply With Quote
Old 3rd December 2002, 13:09   #9  |  Link
DJ Bobo
Encoding Dinosaur!
 
DJ Bobo's Avatar
 
Join Date: Oct 2001
Location: Europe
Posts: 1,655
@ alexnoe
Good point! never thought about it... (don't have a DVD-R burner)
DJ Bobo is offline   Reply With Quote
Old 3rd December 2002, 13:11   #10  |  Link
alexnoe
Banned
 
alexnoe's Avatar
 
Join Date: Aug 2002
Location: Germany
Posts: 1,741
But you certainly want one
alexnoe is offline   Reply With Quote
Old 3rd December 2002, 15:37   #11  |  Link
DJ Bobo
Encoding Dinosaur!
 
DJ Bobo's Avatar
 
Join Date: Oct 2001
Location: Europe
Posts: 1,655
Oh yeah! if you lend me some money
DJ Bobo is offline   Reply With Quote
Old 22nd December 2002, 13:21   #12  |  Link
alexnoe
Banned
 
alexnoe's Avatar
 
Join Date: Aug 2002
Location: Germany
Posts: 1,741
DTS in an AVI file

I got hand on a DTS frame header description which seems to be accurate enough to add DTS support to AVI-Mux GUI.

Problem: The AC3fromAVI-filter will send it as AC3 to the decoder (it seems to interprete a wFormatTag of 0x2000 as AC3), which therefore does not replay anything (already tried it).

Since I have absolutely no knowledge on DirectShow programming: Could someone modify the AC3fromAVIfilter either to handle both DTS and AC3 (and add a new wformattag, such as 0x2001), or create a DTSfromAVI filter (also using a new wformattag)?
alexnoe is offline   Reply With Quote
Old 25th December 2002, 16:13   #13  |  Link
Wilbert
Moderator
 
Join Date: Nov 2001
Location: Netherlands
Posts: 5,579
Sorry for the useless post of mine, but I really hope that someone will help you because it will be really great if we can make/play avi with dts sound.
Wilbert is offline   Reply With Quote
Old 26th December 2002, 13:38   #14  |  Link
gabest
Registered User
 
gabest's Avatar
 
Join Date: Oct 2001
Posts: 1,459
Of course it would be possible, but do you know a filter which would transform DTS into wave samples for the avi muxer with this new id on the media type? Not that it was hard to make such too.

Ah, and one more thing, the current ac3 decoder filters accept wave with id=0x2000 natively, but they don't know about our new id for DTS.
__________________
gabest.org

Last edited by gabest; 26th December 2002 at 13:43.
gabest is offline   Reply With Quote
Old 27th December 2002, 09:58   #15  |  Link
alexnoe
Banned
 
alexnoe's Avatar
 
Join Date: Aug 2002
Location: Germany
Posts: 1,741
Quote:
but do you know a filter which would transform DTS into wave samples for the avi muxer


The problem is about the player, not the muxer. AVI-Mux GUI does not use any of this broken DS filter stuff.

What I want someone to make:
=> a DTSfromAVI filter, which works the same way as AC3fromAVI, just with another wFormatTag
=> a new filter which passes DTS audio over to intervideo decode, but which tells the decoder that it is DTS. Currently, it is passed over as AC3
alexnoe is offline   Reply With Quote
Old 27th December 2002, 14:30   #16  |  Link
gabest
Registered User
 
gabest's Avatar
 
Join Date: Oct 2001
Posts: 1,459
Quote:
a new filter which passes DTS audio over to intervideo decode, but which tells the decoder that it is DTS
I see, it should work as you say. Last question, what's the media type of DTS? The one to set at the output pin of the DTSFromAVI filter.
__________________
gabest.org
gabest is offline   Reply With Quote
Old 28th December 2002, 09:36   #17  |  Link
alexnoe
Banned
 
alexnoe's Avatar
 
Join Date: Aug 2002
Location: Germany
Posts: 1,741
Quote:
Last question, what's the media type of DTS? The one to set at the output pin of the DTSFromAVI filter.
I don't know, but why not use graphedit to find it out?

Maybe you can parse a vob file containing DTS audio with graphedit and then just look up the media type.
alexnoe is offline   Reply With Quote
Old 30th December 2002, 11:52   #18  |  Link
E-Male
mad computer-scientist
 
Join Date: Mar 2002
Posts: 1,377
any progress-reports alexnoe?
E-Male is offline   Reply With Quote
Old 30th December 2002, 20:44   #19  |  Link
Suiryc
Registered User
 
Join Date: Oct 2001
Location: France
Posts: 517
Last time I had a look into mmreg.h (where common tags are defined).
What is the WAVE_FORMAT_DTS (0x0008) value (wFormatTag) for ?
Even with this name I am not sure this is related to Digital Theater Systems because the comment next to it is 'Microsoft Corporation' ...
__________________
OGM tools, VirtualDubMod [SourceForge : Tracker/DL] (FAQ, Some rules)
Don't forget the Needed DLLs for VirtualDubMod. Post bugs/requests in our Tracker.
We give 100% of your donations to the Open Source community
Suiryc is offline   Reply With Quote
Old 31st December 2002, 00:16   #20  |  Link
Mango Madness
Registered User
 
Join Date: Sep 2002
Posts: 132
I would much rather see decoding of DTS so that we can have a cleaner source for mp3, ogg, or AAC compression. oh how i'd love to have a 6.1 channel 24bit wave file to have and to hold.
Mango Madness is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:37.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.