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 Search this Thread Display Modes
Old 9th June 2008, 17:33   #5041  |  Link
3ngel
Registered User
 
Join Date: Mar 2005
Posts: 457
I want to signal a possible bug. With

eac3to -test

it doesn't work with Sonic CinePlayer HDDVD Decoder v4.3.0.exe, but it works ok with 4.2.2
3ngel is offline   Reply With Quote
Old 9th June 2008, 17:59   #5042  |  Link
laserfan
Aging Video Hobbyist
 
Join Date: Dec 2004
Location: Off the Map
Posts: 2,459
Quote:
Originally Posted by 3ngel View Post
I want to signal a possible bug. With eac3to -test it doesn't work with Sonic CinePlayer HDDVD Decoder v4.3.0.exe, but it works ok with 4.2.2
Does here, unless I've misunderstood what you are saying?

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

eac3to -test
Nero Audio Decoder (Nero 7 or older) works fine
Sonic Audio Decoder (4.3.0.169) works fine
Haali Media Splitter (2008-3-29) is installed
Surcode DTS Encoder doesn't seem to be installed
MkvToolnix doesn't seem to be installed
laserfan is offline   Reply With Quote
Old 9th June 2008, 20:32   #5043  |  Link
3ngel
Registered User
 
Join Date: Mar 2005
Posts: 457
Here is my data

Code:
Microsoft Windows [Versione 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

eac3to.exe -test

Nero Audio Decoder (Nero 7 or older) doesn't seem to be installed
Find sync word: 7ffe8001
Find sync extension: 3f
Sonic Audio Decoder (4.3.0.169) is not working correctly
Haali Media Splitter (2008-3-29) is installed
Surcode DTS Encoder doesn't seem to be installed
MkvToolnix doesn't seem to be installed
Where did you get your Sonic Decoder? It's some particular version?

Last edited by 3ngel; 9th June 2008 at 20:36.
3ngel is offline   Reply With Quote
Old 9th June 2008, 21:46   #5044  |  Link
xkodi
Registered User
 
Join Date: Aug 2002
Posts: 221
@madshi

ArcSoft TotalMedia Theatre build 113 Trial:

http://www.arcsoft.com/support/downl...downloadid=384

can decode DTS-HD MA including DTS-HD MA 7.1 channels using GraphEdit:

FileSource (Async.) -> ArcSoft MPEG Demuxer -> ArcSoft Audio Decoder HD -> Dump.ax

still doing tests, but initial results look very promising, i.e. decodes are bit-perfect.
xkodi is offline   Reply With Quote
Old 9th June 2008, 22:15   #5045  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
Just a quick question. When converting DTS to AC3, using eac3to and the Sonic Audio Decoder (which takes about 9 minutes), I see only 1 of my 4 cores is being used. Does eac3to have a multi-threaded switch by any chance? I couldn't find any. Or maybe the Sonic Audio Decoder is not muti-threaded?

Thanks
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 10th June 2008, 01:21   #5046  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,517
It seems xkodi is right.

Did some tests also and:
1. Arcosoft decoder decodes the full DTS-HD info
2. It can output 7.1ch 24bit

I used The Orphanage Blu-ray with 7.1 DTS-HD Master Audio sound and i got 7.1 channels using xkodi's graph. When I set the decoder to 5.1 ch, I got bit identical results with Sonic decoder (except from some garbage data at the beginning). Below are screenshots from the 2 decoders (5.1 sonic and 7.1 arcsoft).


Last edited by nautilus7; 10th June 2008 at 01:32.
nautilus7 is offline   Reply With Quote
Old 10th June 2008, 01:22   #5047  |  Link
xkodi
Registered User
 
Join Date: Aug 2002
Posts: 221
Quote:
Originally Posted by xkodi View Post
still doing tests, but initial results look very promising, i.e. decodes are bit-perfect.
some results:

1) DTS-HD MA, 5.1 channels, 24bits, 48kHz: ArcSoft decodes identical to Sonic, i.e. bit-perfect

2) DTS-HD MA, 5.0 channels, 24bits, 96kHz: ArcSoft decodes as 5.1 channel WAV with silent (all bytes are zero) LFE channel, other 5 channels identical to Sonic, i.e. again it is bit-perfect

3) DTS-HD MA, 5.1 channels, 16bits, 48kHz: ArcSoft decodes always as 24bit, but LSB is not zero, when convert to 16bit with Wavewizard 0.54b it is identical to Sonic. however, because of the rounding error during the 24bit->16bit conversion some byte are greater or lesser with 1 than the corresponding reference byte from the Sonic decode, but still it is it is bit-perfect decode

4) DTS-HD MA, 7.1 channels, 24bits, 48kHz: ArcSoft decodes all 7.1 channels, first 6 channels are identical to the 6 channels decoded by Sonic, so we can assume that the channel 7 and 8 are decoded also bit-perfect, but it is not a proof for that we need good sample like Blu-ray with 7.1 LPCM (or TrueHD) for reference and DTS-HD MA 7.1 24bits track to compare against.

5) DTS-HD MA, 7.1 channels, 16bits, 48kHz: "Dragon Tiger Gate" Blu-ray has TrueHD 7.1 track and DTS-HD MA 7.1 16bits track. the six channels decoded by Sonic are identical to the first 6 channels from the TrueHD 7.1 decoded with libav. however, ArcSoft failed to decode the 16bits DTS-HD MA 7.1 track. the result is very strange, because seems like channel 1 and channel 2 are decoded as all zero.

Last edited by xkodi; 10th June 2008 at 01:25.
xkodi is offline   Reply With Quote
Old 10th June 2008, 11:50   #5048  |  Link
dorati
Registered User
 
Join Date: Oct 2002
Posts: 70
@madshi:

When demuxing a m2ts-File with MPEG2-VideoCodec the Videofile is defekt and not playing on Standaloneplayer.

The Problem ist - the Header is 2x at the beginning of the m2v-File.
dorati is offline   Reply With Quote
Old 10th June 2008, 12:06   #5049  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
@madshi:

When demuxing a m2ts file (extracting DTS sound of "The Matrix"), eac3to reported a 600000ms offset (10 mins). That seems a bit excessive. I was able to correct it again by specifying a negative -600000ms delay to compensate. But any idea what might have caused this?
__________________
Gorgeous, delicious, deculture!
asarian is offline   Reply With Quote
Old 10th June 2008, 13:29   #5050  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,517
@ Asarian

This isn't a studio made blu-ray. You made with tsmuxer, right? It happens all the time with my tsmuxer made m2ts files. I think it's a problem with tsmuxer, so i recommend you ask there.

@ ALL

When asking something or posting a log or whatever, please say which movie it is and if it's not an original disc say how it was made. It's that someone else has that movie and can test it.

Last edited by nautilus7; 10th June 2008 at 13:32.
nautilus7 is offline   Reply With Quote
Old 10th June 2008, 13:43   #5051  |  Link
asarian
Registered User
 
Join Date: May 2005
Posts: 1,372
Quote:
Originally Posted by nautilus7 View Post
@ Asarian

This isn't a studio made blu-ray. You made with tsmuxer, right? It happens all the time with my tsmuxer made m2ts files. I think it's a problem with tsmuxer, so i recommend you ask there.
It was an HD-DVD originally, but I demuxed the audio indeed with tsMuxeR (from an mkv). It said it had 0ms delay, but the extracted audio in eac3to said it had a 600000ms delay. So, likely, indeed something went wrong in tsMuxeR.

Thanks.
__________________
Gorgeous, delicious, deculture!

Last edited by asarian; 10th June 2008 at 14:01.
asarian is offline   Reply With Quote
Old 10th June 2008, 15:07   #5052  |  Link
xkodi
Registered User
 
Join Date: Aug 2002
Posts: 221
Quote:
Originally Posted by xkodi View Post
ArcSoft TotalMedia Theatre build 113
today, during the test i found two important properties of ArcSoft Audio HD decoder:

1) when decoding DTS-HD MA, no matter if 16bit or 24bit is selected in the "ArcSoft Audio HD Decoder Setting" the decoder output is always the same and has 24bit

2) for bit-perfect decoding of DTS-HD MA the real number of channels of the DTS track should be selected in "ArcSoft Audio HD Decoder Setting"

these two properties along with:

1.1) DTS-HD MA 16bit files are always decoded as 24bit, but LSB is not zero, when convert them to 16bit, the output is bit-perfect with small rounding error (as i mentioned here: http://forum.doom9.org/showthread.ph...67#post1147467)

allow us to find out the real parameters (number of channels, bit-depth, sample rate) of the DTS-HD MA track with very simple procedure:

- decode the track with eac3to using "Sonic Audio Decoder" and get "DirectShow reports C channels, B bits, Skhz", where S is the real sample rate, B is the real bit-depth and C is the number of channels, but not always the real number, because Sonic do not understand 7.1 channels

- decode the track with "ArcSoft Audio HD Decoder" with different settings for number of channels until the first two decoded channels are byte-by-byte identical with the first two channels decoded with the "Sonic Audio Decoder", then this is the real number of channels

using this procedure managed to find out the real parameters on most of the samples from "DTS-HD 2008 High Definition Audio Demonstration Blu-ray Disc":

00004.m2ts: (Demo Sample: SFX) : DTS-HD MA, 7.1, 24bit, 96kHz

00005.m2ts (Movie Sample - Night At The Museum) : DTS-HD MA, 5.1, 24bit, 48kHz
00006.m2ts (Movie Sample - Eragon) : DTS-HD MA, 5.1, 24bit, 48kHz
00008.m2ts (Movie Sample - Hairspray) : DTS-HD MA, 7.1, 24bit, 48kHz
00009.m2ts (Movie Sample - Rush Hour 3) : DTS-HD MA, 7.1, 24bit, 48kHz
00010.m2ts (Movie Sample - Nature's Journey I) : DTS-HD MA, 5.0, 24bit, 96kHz
00011.m2ts (Movie Sample - Nature's Journey II) : DTS-HD MA, 5.0, 24bit, 96kHz

00013.m2ts (Music Sample: BT - Dynamic Symmetry) : DTS-HD MA, 7.1, 24bit, 48kHz
00015.m2ts (Music Sample: Pixies - Debaser) : DTS-HD MA, 5.1, 16bit, 48kHz
00016.m2ts (Music Sample: The Who - Pinball Wizard) : DTS-HD MA, 5.1, 16bit, 48kHz
00017.m2ts (Music Sample: Chieli Minucci - Daybreak) : DTS-HD MA, 7.1, 24bit, 48kHz

00022.m2ts: (Demo Sample: Orchestra) : DTS-HD MA, 7.1, 24bit, 96kHz
xkodi is offline   Reply With Quote
Old 10th June 2008, 18:23   #5053  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,517
Nice tests. Madshi has some job to do...

Did you try any dts-hd hi res tracks? I tried one (5.1, 24bit, 2082 kbps from Testoteron HD DVD), Arcsoft decoded it, but i am not sure what it decoded. Feeding both decoders with the whole dts-hd track, didn't gave the same results. Feeding both decoders with the dts core of that track, didn't gave the same output also. So, either they don't use the same code, or something else is happening.

Last edited by nautilus7; 10th June 2008 at 18:25.
nautilus7 is offline   Reply With Quote
Old 11th June 2008, 17:54   #5054  |  Link
Jong
Registered User
 
Join Date: Mar 2007
Location: London, UK
Posts: 576
@Madshi,

Hi again,

I know this is a bit of a basic question, but there is a small debate over @AVSForums over whether Eac3to automatically applies the delay shown in the audio filename or if it has to be manually applied in mkvmerge. Could you please confirm is the audio delay appplied automatically when a file is demuxed or re-encoded? Is this true for both Blu-ray and HD-DVD? is there a still a bug where for some titles this does not work? How do we know? What action should we take if this problem does still exist?

Thanks.
Jong is offline   Reply With Quote
Old 11th June 2008, 18:40   #5055  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,394
If you see something along the liens of "[a01] Applying audio delay..." in the output, then you can sleep soundly knowing that the appropriate delay has been applied to audio stream 01.
Snowknight26 is offline   Reply With Quote
Old 11th June 2008, 19:44   #5056  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,171
Quote:
Originally Posted by Jong View Post
@Madshi,

Hi again,

I know this is a bit of a basic question, but there is a small debate over @AVSForums over whether Eac3to automatically applies the delay shown in the audio filename or if it has to be manually applied in mkvmerge. Could you please confirm is the audio delay appplied automatically when a file is demuxed or re-encoded? Is this true for both Blu-ray and HD-DVD? is there a still a bug where for some titles this does not work? How do we know? What action should we take if this problem does still exist?

Thanks.
its done automatically, unless when you demux a trueHD track, because you cant delay these track type. but the delay needed is included in the filename then
Thunderbolt8 is offline   Reply With Quote
Old 11th June 2008, 19:57   #5057  |  Link
Jong
Registered User
 
Join Date: Mar 2007
Location: London, UK
Posts: 576
Quote:
Originally Posted by Snowknight26 View Post
If you see something along the liens of "[a01] Applying audio delay..." in the output, then you can sleep soundly knowing that the appropriate delay has been applied to audio stream 01.
Thanks, that is what I thought. But wanted to be 100% sure, especially as there was a bug a couple of months ago where it was not always applied.
Jong is offline   Reply With Quote
Old 11th June 2008, 20:08   #5058  |  Link
kurt
sidekick
 
kurt's Avatar
 
Join Date: Apr 2004
Location: old Europe
Posts: 610
I don't get it: If I demux an audio stream which has a delay with sth. like tsmuxer and then process this stream with eac3to, will be the delay ignored or not?

__________________
greets, kurt.
Pioneer PDP-427 XA | Popcorn Hour NMT C-200 | Sony STR-DB 840 QS | Canton Ergo 91 DC
kurt is offline   Reply With Quote
Old 11th June 2008, 22:43   #5059  |  Link
Thunderbolt8
Registered User
 
Join Date: Sep 2006
Posts: 2,171
if you dont use eac3to for demuxing or encoding from the source then you have to add the delay yourself, because the delay is determined from its position in the source. so when you use another program for demuxing the audio and only after that use eac3to for encoding then eac3to of course doesnt know how the relationship of that track in the source to the video stream was.
Thunderbolt8 is offline   Reply With Quote
Old 11th June 2008, 22:54   #5060  |  Link
kurt
sidekick
 
kurt's Avatar
 
Join Date: Apr 2004
Location: old Europe
Posts: 610
thanks for clarification! now I will sleep well
__________________
greets, kurt.
Pioneer PDP-427 XA | Popcorn Hour NMT C-200 | Sony STR-DB 840 QS | Canton Ergo 91 DC
kurt is offline   Reply With Quote
Reply

Tags
eac3to

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 09:29.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2020, vBulletin Solutions Inc.