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 > General > Audio encoding

Reply
 
Thread Tools Display Modes
Old 7th October 2001, 00:20   #1  |  Link
Taric25
Guest
 
Posts: n/a
6.1 DTS > multichannel MP2


Hello.
I posted the subject about how to convert AC3 to MP2 for SVCD and still be multichannel. The answer is to use SSRC to convert the AC3 from 48kHz to 44.1kHz and then transcode it to MP2 (MPEG-2 Tile Layer 2) for SVCD by using the AC3 > MP2 utility in ReMPEG.
Now I was wondering how to convert 6.1 DTS to multichannel MP2. My idea is that somehow the DTS could be converted to AC3 and then have that downsampled from 48kHz to 44.1kHz and then use the AC3 > MP2 utility in ReMPEG. The only problem I can see with this is that 6.1 AC3 might be impossible or extremely hard to support. If this is totally impossible, then I suppose that the DTS could be downmixed to 5.1 AC3 and then it could be converted to MP2 for SVCD. Any ideas?
I am using Windows 2000 Professional, a 550 MHz Pentium III with 128 MB of RAM.
  Reply With Quote
Old 7th October 2001, 06:30   #2  |  Link
DSPguru
Guest
 
Posts: n/a
oops


SSRC is not an AC3 sample-rate convertor, it's a WAVE sample-rate convertor.

the idea of :
48Khz DTS -> 48Khz AC3 -> 48Khz WAV -> 44.1Khz WAV -> 44.1Khz AC3 -> MPEG MultiChannel
isn't a good idea, due to the loss of quality in every step in this chain, which might lead to poor quality on the overall.

i suggest you a better chain :
48Khz AC3/DTS -> (using a decoder)
48Khz MultiChannel WAV -> (using SSRC)
44.1Khz MultiChannel WAV -> (using modified version of rempeg)
MPEG MultiChannel.

as for this ReMpeg program, it tried to work with it and it crashed a few times

as for DTS decoder... any1 ??


  Reply With Quote
Old 7th October 2001, 06:34   #3  |  Link
doom9
Guest
 
Posts: n/a
Re: oops


no player plays mpeg multichannel so you can save yourself all the trouble. Well.. it plays the format but only in 2 channel mode.
  Reply With Quote
Old 29th October 2001, 00:14   #4  |  Link
beergod
Registered User
 
Join Date: Oct 2001
Location: Cambridge
Posts: 60

doom9,

You are wrong. I have seen DVD player stream MPEG2 multichannel out hapilly. A lot of Sony's will do, and any surround decode that does MPEG multichannel will decode the streams. I have tried them on my machine .. it works.

The only thing is REMPEG had problems in encoding LFE channel. It makes the Left surround disspears.

sl --> gone
sr --> sl output
LFE --> sr output.

Duh ! anyone knows where to find a patched source code that fixes this problem ?

Beergod
beergod is offline   Reply With Quote
Old 29th October 2001, 10:19   #5  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,258

and since when does Sony support SVCDs? I know there are players that play mpeg2 multichannel, but that's on DVDs... and they will only give you 2 channels if you put an SVCD with the same audio format into the player... these are the facts my friend. My own player handles mpeg2 multichannel just fine when I put in a DVD that contains that audio format but that doesn't give you any info about how it reacts when the source is an SVCD.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 29th October 2001, 10:46   #6  |  Link
beergod
Registered User
 
Join Date: Oct 2001
Location: Cambridge
Posts: 60

Sorry, not sony, most C-Cube based DVD players plays SVCD, and mine certainly streams MPEG2 multichannel out successfully.

Any ideas how one can contact the author of REMPEG2, or author of MC MPEG2 encoder ?
beergod is offline   Reply With Quote
Old 29th October 2001, 15:48   #7  |  Link
Newacey
Registered User
 
Join Date: Oct 2001
Location: Germany
Posts: 23
My DVD-Player can play them too!!!


I Have the Philips DVD 762 (this is the new one) and it plays MPEG-2 MC without any problems. You can even switch to downmixing mode.
I simply used the 48kHz AC3 and converted straight to an 48 kHz mpeg2-mc using ReMpeg and even that worked.
Newacey is offline   Reply With Quote
Old 29th October 2001, 18:53   #8  |  Link
beergod
Registered User
 
Join Date: Oct 2001
Location: Cambridge
Posts: 60

There is a bug in REMPEG2's MC MPEG2 audio transcoder. It is based on musicin which have the same bug ...

notice the right surround speakers contains the LFE channel, and the left surround speaker contains the right surround signals.
And Left surround signals have disappeared.

If you follow laddv's guide for making the MC MPEG2 stream, but don't do anyhting with the LFE channel, taking the -L option out, then it works nicely.
beergod is offline   Reply With Quote
Old 29th October 2001, 19:24   #9  |  Link
Taric25
Anime Otaku
 
Taric25's Avatar
 
Join Date: Oct 2001
Location: Illinois, USA
Posts: 149
Let me clear this up. Let me clear this up.


Doom9,

You're a wonderful webmaster and an excellent source for information, but you have to be more optamistic. There are DVD players and recievers that support mutlichannel SVCD and DVD. Believe it. It's true. I have a MPEG-MC DVD player and it works just fine. I have had Dolby Pro-Logic sound on my DVD player and it worked just fine. I got 3, that's right, 3 channels of output. Other people here have also testified that MC-SVCD IS possible. Now I want to work on 5.1 SVCD and I seriousley don't like it when I try to start a conversation about it and you come in saying :
Quote:
Originally posted by Doom9 no player plays mpeg multichannel so you can save yourself all the trouble. Well.. it plays the format but only in 2 channel mode.
In my opinion, you (or someone else) should write a guide on this and have it on your site for all to see. I don't mean to sound like a jerk, but I needed to get that out.

Everyone else,

I guess I need to take babysteps until I acchieve 6.1 MPEG-1 Tile Layer 2 audio for VCD (and also have it outputed correctly), but I think I'm on my way. Heck, DVDx would have never been created without Doom9's "20 tool meathod" . Any ideas for a better way to convert 5.1 AC3 to MC-MPEG? You can contact the ReMPEG author. How? Ask DSPGuru. I wouldn't know.

Last edited by Taric25; 30th October 2001 at 01:32.
Taric25 is offline   Reply With Quote
Old 30th October 2001, 13:39   #10  |  Link
DSPguru
BeSweet Author
 
DSPguru's Avatar
 
Join Date: Oct 2001
Location: On top of a supercompact cardinal
Posts: 3,506

hi Taric

unfortuntly, ReMpeg2 authors didn't reply my email. (or it just went to trash by one of my spam-mail-rulez...

anyway, if anyone gets his hand on any source code related to M2MC or even dll, let me know.. and taric's wish could be fulfilled
DSPguru is offline   Reply With Quote
Old 30th October 2001, 19:59   #11  |  Link
Newacey
Registered User
 
Join Date: Oct 2001
Location: Germany
Posts: 23
Re:

If You need a SourceCode

try this page:

http://www.stud.uni-siegen.de/sven.koelsch/mpeg2mc/

If you can somehow compile a stable windows executable out of it. Please reply.

Greetings
Newacey is offline   Reply With Quote
Old 30th October 2001, 21:13   #12  |  Link
beergod
Registered User
 
Join Date: Oct 2001
Location: Cambridge
Posts: 60

I am seeking help on compiling a Win32 version of Musicin ... or even perhaps changing to code to make it accept wav files instead of AIFFs.

A couple of things needed to fix.

Anyone knows where to get multichannel wav2aiff ?

beergod is offline   Reply With Quote
Old 30th October 2001, 22:37   #13  |  Link
Newacey
Registered User
 
Join Date: Oct 2001
Location: Germany
Posts: 23

Try the link in my previous post.

The Tool is called PCM2AIFF (the modified version also accepts 5.1 wavs) there's also the source code of this tool.
Newacey is offline   Reply With Quote
Old 30th October 2001, 22:53   #14  |  Link
beergod
Registered User
 
Join Date: Oct 2001
Location: Cambridge
Posts: 60

Tried it, and compared the source code, it just added the support of an extra LFE channel ... but its still pmc2aiff .. not wav2aiff.

Thanks anyway
beergod is offline   Reply With Quote
Old 31st October 2001, 01:55   #15  |  Link
Taric25
Anime Otaku
 
Taric25's Avatar
 
Join Date: Oct 2001
Location: Illinois, USA
Posts: 149
PCM or PMC...?


Beergod,

I confused by something you typed.
Quote:
Originally posted by beergod
but its still pmc2aiff .. not wav2aiff.
Is there a differance between pmc and pcm or was that just a typographical error?

Everyone,

Also, what's the differance between DTS, WAV, PCM, PCM DTS, and PCM WAV?

Also, what is everyone dressing as for Halloween? Here is what I shall look like. I am the guy in the picture with the purple face.

Last edited by Taric25; 31st October 2001 at 06:21.
Taric25 is offline   Reply With Quote
Old 31st October 2001, 10:38   #16  |  Link
beergod
Registered User
 
Join Date: Oct 2001
Location: Cambridge
Posts: 60

Correction :

PCM, not PMC ... Sorry.

DTS is a lossy compression format used by movies and DVDs.

WAV is a sound file format mainly used by Microsoft installed PCs. It can is mainly used to store PCM audio. However, it can also be used to store some compressed format, but its rare.

PCM mean pulse code modulation, it uses code (eg. numbers) to represent audio waveform.

There is no such things as DTS PCM.

beergod is offline   Reply With Quote
Old 31st October 2001, 10:58   #17  |  Link
Taric25
Anime Otaku
 
Taric25's Avatar
 
Join Date: Oct 2001
Location: Illinois, USA
Posts: 149
Why are you up so late at night?


Beergod,

So, what's the differance betewwn PCM and WAV? Can't you use the program to do what you need? I found the directions on the page pretty simple. Yes, PCM DTS (not DTS PCM like you typed, spell check!) does exist. I have seen it. Where? I can't remember.

Everyone else,

Now that we have a bunch of source codes, should we mail them to Doom9 and have them put on his source page? I'm not a programmer, so is anyone up for making a multichannel 48kHz AC3 > multichannel 44.1kHz MP2 program? If possible, could the program be made to support MPEG-2 Tile Layer 2 and MPEG-1 Tile Layer 2? Should I move this to the development forum?

Ahhh. Bed time for me.

Last edited by Taric25; 31st October 2001 at 11:30.
Taric25 is offline   Reply With Quote
Old 31st October 2001, 13:26   #18  |  Link
Doom9
clueless n00b
 
Join Date: Oct 2001
Location: somewhere over the rainbow
Posts: 10,258

@newacey: give me the source you used, tell me how you burned and I'll make a disc which I take to the store to see for myself.
__________________
For the web's most comprehensive collection of DVD backup guides go to www.doom9.org
Doom9 is offline   Reply With Quote
Old 31st October 2001, 16:50   #19  |  Link
Newacey
Registered User
 
Join Date: Oct 2001
Location: Germany
Posts: 23

@doom9

Unfortunately I can’t remember the page I downloaded it from (all I know is that it was an ftp-site).
If you want to I could mail the file (ca. 10 megs) to you or at least part of it (or upload it somewhere).

I simply multiplexed this file with tmpegenc. Just take any SVCD-compliant video stream.
I took this muxed-file and burned it with Nero’s SVCD function.
And there it was.

The MC encoding also works with ReMpeg but the right surround channel will not work. But you can still hear the difference to normal 2ch sound.

If you are planning on going to a store, remember to switch the player to 6ch output, unless it will down mix the sound.
Newacey is offline   Reply With Quote
Old 31st October 2001, 21:54   #20  |  Link
beergod
Registered User
 
Join Date: Oct 2001
Location: Cambridge
Posts: 60

Doom9,

you can download it from here
http://www.labdv.com/en/examples/svcd_audio.php

WAV is a file format, PCM is a coding method for storing information. WAV can also have u-law ADPCM stored instead of PCM and othercoding method too.

Taric25, there is no much thing as PCM DTS or DTS PCM. I think you mean non-data marked CDs that carry DTS data stream.
beergod 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 03:25.


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