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

Closed Thread
 
Thread Tools Search this Thread Display Modes
Old 17th September 2009, 10:27   #9341  |  Link
buzzqw
HDConvertToX author
 
Join Date: Nov 2003
Location: Cesena,Italy
Posts: 6,552
same here...

just installed haali, ffdshow tryouts, xvid.. and used clsid reg tools for windows 7

BHH
__________________
HDConvertToX: your tool for BD backup
MultiX264: The quick gui for x264
AutoMen: The Mencoder GUI
AutoWebM: supporting WebM/VP8
buzzqw is offline  
Old 20th September 2009, 22:39   #9342  |  Link
magic144
Registered User
 
Join Date: May 2005
Posts: 395
hi,
just been converting an HD-DVD I own (Elizabeth: The Golden Age) and I came across the following issue.

Here's the log of eac3to's operation:
Code:
eac3to v3.16
command line: eac3to.exe  L: 1) 2: chapters.txt 3: video.mkv 4: audio.dts 8: subs08.sup
------------------------------------------------------------------------------
EVO, 1 video track, 4 audio tracks, 3 subtitle tracks, 1:54:50
1: Joined EVO file
2: Chapters, 20 chapters with names
3: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
4: TrueHD, English, 5.1 channels, 48khz, dialnorm: -27dB
5: E-AC3, English, 5.1 channels, 384kbps, 48khz, dialnorm: -27dB, -8ms
6: E-AC3, French, 5.1 channels, 384kbps, 48khz, dialnorm: -27dB, -8ms
7: E-AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, -8ms
   "Director Commentary"
8: Subtitle (DVD), English, "SDH"
9: Subtitle (DVD), French
10: Subtitle (DVD), French, "Forced"
Creating file "chapters.txt"...
[v03] Extracting video track number 3...
[a04] Extracting audio track number 4...
[v03] Writing new framerate "24fps /1.001" to bitstream.
[a04] Removing TrueHD dialog normalization...
[v03] Removing VC-1 pulldown...
[a04] Decoding with libav/ffmpeg...
[a04] Writing WAVs...
[v03] Muxing video to Matroska...
[a04] Creating file "audio.C.wav"...
[a04] Creating file "audio.L.wav"...
[a04] Creating file "audio.R.wav"...
[a04] Creating file "audio.SL.wav"...
[a04] Creating file "audio.LFE.wav"...
[a04] Creating file "audio.SR.wav"...
[s08] Extracting subtitle track number 8...
[s08] Creating file "subs08.sup"...
[a04] Original audio track, L+R+C+LFE: constant bit depth of 16 bits.
[a04] Original audio track, SL+SR: constant bit depth of 24 bits.
[a04] Audio has a gap of 10ms at playtime 0:00:00.  <WARNING>
[a04] Starting 2nd pass...
[a04] Extracting audio track number 4...
[a04] Removing TrueHD dialog normalization...
[a04] Decoding with libav/ffmpeg...
[a04] Writing WAVs...
[a04] Realizing RAW/PCM gaps...
[a04] Creating file "audio.L.wav"...
[a04] Creating file "audio.SL.wav"...
[a04] Creating file "audio.C.wav"...
[a04] Creating file "audio.R.wav"...
[a04] Creating file "audio.SR.wav"...
[a04] Creating file "audio.LFE.wav"...
[a04] Processed audio track, L+R+C+LFE: constant bit depth of 16 bits.
[a04] Processed audio track, SL+SR: constant bit depth of 24 bits.
Encoding DTS <1536kbps> with Surcode...
Found Surcode DTS Encoder version 1.0.29.0.
Surcode encoding successfully started. Please wait...
Closing Surcode...
Added fps value to MKV header.
Video track 3 contains 165207 frames.
Subtitle track 8 contains 1093 captions.
eac3to processing took 43 minutes, 37 seconds.
Surcode encoding took 14 minutes, 35 seconds.
Done.
now everything appears fine, but when I later compared the .dts file here with the equivalent .ac3 file I got when separately extracting track 5 - the English E-AC3 audio is perfectly in sync with the video, whereas this .dts audio is 89ms too early (it needs a +89ms delay to be in-sync with the E-AC3 and the video) - I measured this delay by comparing the .wav versions
Code:
eac3to audio.dts audio.wavs
eac3to audio2.ac3 audio2.wavs
of the centre-channels of each soundtrack, using a multichannel .wav file editor.

I watched the original disc on my HD-DVD HD-A30 player and there was no noticeable sync issue with the TrueHD track.

The 89ms sync issue was noticeable when watching the video muxed with this derived .dts audio on my PC. (Again, the same video muxed with .ac3 derived from the E-AC3 track was also in-sync on my PC)

Can it be that eac3to hasn't read/observed some kind of delay (separate meta-data?) that should apply to the TrueHD track in this case? And would this delay/offset only turn up when extracting TrueHD from HD-DVD sources (vs BluRay TrueHD tracks)?

(has the HD-DVD side of the code been abandoned anyway?!)

Thanks in advance of any help or feedback.

ps - probably an easier question - what does (DVD) signify in the subtitle track listings? Obviously, these extract as HD subs in a .sup file (albeit presumably an HD-DVD specific .sup variant)

Last edited by magic144; 20th September 2009 at 22:43.
magic144 is offline  
Old 22nd September 2009, 13:56   #9343  |  Link
magic144
Registered User
 
Join Date: May 2005
Posts: 395
just tried another HD-DVD disc
"Pride & Prejudice" - this also has both TrueHD and EAC-3 English audio alternatives.
Extracted both audio tracks directly to .wavs using eac3to 3.16 (latest). Here is the log.

Code:
eac3to v3.16
command line: eac3to  L: 1) 4: audio_thd.wavs 5: audio_eac3.wavs
------------------------------------------------------------------------------
EVO, 1 video track, 4 audio tracks, 3 subtitle tracks, 2:08:18
1: Joined EVO file
2: Chapters, 16 chapters with names
3: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
4: TrueHD, English, 5.1 channels, 48khz, dialnorm: -27dB
5: E-AC3, English, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB, -8ms
6: E-AC3, French, 5.1 channels, 448kbps, 48khz, dialnorm: -27dB, -8ms
7: E-AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, -8ms
   "Director Commentary"
8: Subtitle (DVD), English, "SDH"
9: Subtitle (DVD), French
10: Subtitle (DVD), French, "Forced"
[a05] The Nero decoder doesn't seem to work, will use libav instead.
[a04] Extracting audio track number 4...
[a05] Extracting audio track number 5...
[a04] Removing TrueHD dialog normalization...
[a05] Removing E-AC3 dialog normalization...
[a04] Decoding with libav/ffmpeg...
[a05] Decoding with libav/ffmpeg...
[a04] Writing WAVs...
[a05] Remapping channels...
[a05] Applying RAW/PCM delay...
[a05] Reducing depth from 64 to 24 bits...
[a05] Writing WAVs...
[a04] Creating file "audio_thd.L.wav"...
[a04] Creating file "audio_thd.R.wav"...
[a04] Creating file "audio_thd.SR.wav"...
[a04] Creating file "audio_thd.C.wav"...
[a04] Creating file "audio_thd.LFE.wav"...
[a04] Creating file "audio_thd.SL.wav"...
[a05] Creating file "audio_eac3.L.wav"...
[a05] Creating file "audio_eac3.LFE.wav"...
[a05] Creating file "audio_eac3.SR.wav"...
[a05] Creating file "audio_eac3.C.wav"...
[a05] Creating file "audio_eac3.SL.wav"...
[a05] Creating file "audio_eac3.R.wav"...
[a04] Original audio track, L+R+C+LFE: constant bit depth of 16 bits.
[a04] Original audio track, SL+SR: constant bit depth of 24 bits.
Video track 3 contains 184586 frames.
eac3to processing took 22 minutes, 25 seconds.
Done.
Whilst the centre-channel audio was distinctly closer in time in this case, there was still a measurable 10ms gap between the THD and EAC3 variants, again with the THD lagging (i.e. it would need a +10ms audio delay to match the EAC3).

As a complementary test, last night I compared the centre-channel of the separate THD and AC3 tracks from my BluRay version of 2010 (the THD track actually has AC3 embedded, but I used eac3to to only extract the THD for comparison with a separate AC3 track). In this case, there was no measurable time lag between the two.

Unfortunately (or fortunately?) I don't have any more HDDVD discs with THD audio, however I will dig out a few more BluRay discs for comparison over the coming days/weeks and report any significant discrepancies if I find any. Perhaps others could repeat my experiment with their own HDDVD THD/EAC3 discs and report their findings.

Last edited by magic144; 22nd September 2009 at 14:02.
magic144 is offline  
Old 23rd September 2009, 06:31   #9344  |  Link
magic144
Registered User
 
Join Date: May 2005
Posts: 395
FYI, just compared the distinct TrueHD and AC3 Japanese audio tracks from my Letters from Iwo Jima BluRay - another small measureable difference of -9ms (THD actually is AHEAD of the AC3 in this case), this would be very hard to detect perceptually - nothing like the 89ms from eac3to's audio extractions from the Elizabeth HDDVD.

Maybe the "Audio has a gap of 10ms at playtime 0:00:00. <WARNING>" message in the Elizabeth HDDVD THD track extraction log is a clue to the discrepency.

Last edited by magic144; 23rd September 2009 at 06:34.
magic144 is offline  
Old 24th September 2009, 14:10   #9345  |  Link
HunterXXX
Registered User
 
HunterXXX's Avatar
 
Join Date: Mar 2009
Posts: 1
Help me extract to E-ac-3 to Wav???

Quote:
Format : E-AC-3
Format/Info : Audio Coding 3
File size : 1.16 GiB
Duration : 1h 47mn
Overall bit rate : 1 536 Kbps

Audio
Format : E-AC-3
Format/Info : Audio Coding 3
Duration : 1h 47mn
Bit rate mode : Constant
Bit rate : 1 536 Kbps
Channel(s) : 6 channels
Channel positions : Front: L C R, Surround: L R, LFE
Sampling rate : 48.0 KHz
Stream size : 1.16 GiB (100%)
HunterXXX is offline  
Old 24th September 2009, 14:37   #9346  |  Link
Beastie Boy
Registered User
 
Beastie Boy's Avatar
 
Join Date: Mar 2002
Posts: 353
See the first post of this thread for eac3to usage examples.

Cheers, Beastie.
Beastie Boy is offline  
Old 27th September 2009, 03:47   #9347  |  Link
Nnoitra
Registered User
 
Join Date: Jul 2009
Posts: 4
I notice that in some movies, like Kill Bill 1&2, forced subtitles are not detected. There is one big English subtitle track with all subs, and another much smaller track with just the forced subs, but eac3to does not detect it as forced (nor does any other tool like BDSupToSub). Yet standalone Blu-Ray players somehow figure this out... how?
Nnoitra is offline  
Old 28th September 2009, 05:36   #9348  |  Link
TruckChase!
Registered User
 
Join Date: Jul 2003
Location: MN, US
Posts: 27
Hey guys; I've searched the thread and addressed all the concerns regarding this issue that have been posted already with no luck.

OS: Win7 x64 (I had this working fine with Vixta x64 with the same installs)

E:\Encoding\video\eac3to>eac3to.exe -test
eac3to (v3.16) is up to date
Nero Audio Decoder (Nero 6 or older) doesn't seem to be installed
http://www.nero.com/eng/store-blu-ray.html
CAUTION: You need Nero 7. Nero 8 won't work with eac3to.

Nero 7.8.5.0 installed, including showtime, and the BluRay/HDDVD plugin is successfully "unlocked". The codecs are showing up correctly, but eac3to doesn't seem to like 'em.

Like I said, I have the same config installed in Vista x64 and it works fine. Has anyone else had probs with Win7?
__________________
I encode with a commodore Vic 20.
TruckChase! is offline  
Old 28th September 2009, 13:52   #9349  |  Link
JoyMonkey
Registered User
 
Join Date: Jul 2008
Posts: 2
I've got the same problem with Win7 x86.
I'm using Nero Ultra 7.10.1.0 and the Blu-Ray/HD-DVD plugin license, which was working fine with Windows XP.
JoyMonkey is offline  
Old 28th September 2009, 15:08   #9350  |  Link
JoyMonkey
Registered User
 
Join Date: Jul 2008
Posts: 2
I found a solution to the Windows 7 problem!

For some reason the file...
C:\Program Files\Common Files\Ahead\DSFilter\NeAudio2.ax
didn't get installed with Nero on my Windows 7 machine. This is Nero's DirectShow audio filter module. I copied that file over from my XP machine, then registered that module as a service with Windows by opening a command prompt in that folder and using the command...
regsvr32 neaudio2.ax

Now when I run eac3to -test it says that Nero Audio Decoder is working fine.
JoyMonkey is offline  
Old 28th September 2009, 15:10   #9351  |  Link
Jeff Flowerday
Registered User
 
Join Date: Aug 2008
Location: Calgary, AB
Posts: 150
eac3to will decode DD+ without Nero 7. Nero 7 was only really needed for DD+ because it a certified DD+ decoder.

Madshi has indicated many times he can't hear the different between Nero doing the DD+ decoding and the default eac3to library.

So the question becomes how important is it to have DD+ certified decoding of a lossy stream or can you survive with the default eac3to decoding which gives you pretty much the same results? How many HD-DVDs do you have to rip, because DD+ only existing on HD-DVDs and maybe a couple Blu-Rays?
Jeff Flowerday is offline  
Old 29th September 2009, 06:37   #9352  |  Link
TruckChase!
Registered User
 
Join Date: Jul 2003
Location: MN, US
Posts: 27
Quote:
Originally Posted by JoyMonkey View Post
I found a solution to the Windows 7 problem!

For some reason the file...
C:\Program Files\Common Files\Ahead\DSFilter\NeAudio2.ax
didn't get installed with Nero on my Windows 7 machine. This is Nero's DirectShow audio filter module. I copied that file over from my XP machine, then registered that module as a service with Windows by opening a command prompt in that folder and using the command...
regsvr32 neaudio2.ax

Now when I run eac3to -test it says that Nero Audio Decoder is working fine.
Thank you, that worked great! (copied from my Vista install)

Quote:
Originally Posted by Jeff Flowerday View Post
eac3to will decode DD+ without Nero 7. Nero 7 was only really needed for DD+ because it a certified DD+ decoder.

Madshi has indicated many times he can't hear the different between Nero doing the DD+ decoding and the default eac3to library.

So the question becomes how important is it to have DD+ certified decoding of a lossy stream or can you survive with the default eac3to decoding which gives you pretty much the same results? How many HD-DVDs do you have to rip, because DD+ only existing on HD-DVDs and maybe a couple Blu-Rays?
1. I'm anal.
2. I installed this bloatware (Nero + Arcsoft) on my new Win7 install, I want to use it damnit.
__________________
I encode with a commodore Vic 20.
TruckChase! is offline  
Old 29th September 2009, 10:00   #9353  |  Link
ACrowley
Registered User
 
Join Date: Apr 2006
Posts: 1,008
Im wondering that i cant see the "removing Dialog Normalization" Message anymore when decoding A(E)C3,TrueHD ?
I think because the DialNom removal is a standard Operation and latest eac3to wont output that Message everytime?
ACrowley is offline  
Old 30th September 2009, 07:57   #9354  |  Link
magic144
Registered User
 
Join Date: May 2005
Posts: 395
@ACrowley
I saw this message for both HDDVD and BluRay audio streams just this week using eac3to 3.16
(HD-DVD was E-AC3 extracting to .ac3, BluRay was TrueHD/AC3 extracting to .ac3, both sources reported as having dialnorm: -27dB)
What is your source/command-line/output?
magic144 is offline  
Old 30th September 2009, 10:49   #9355  |  Link
ACrowley
Registered User
 
Join Date: Apr 2006
Posts: 1,008
Quote:
Originally Posted by magic144 View Post
@ACrowley
I saw this message for both HDDVD and BluRay audio streams just this week using eac3to 3.16
(HD-DVD was E-AC3 extracting to .ac3, BluRay was TrueHD/AC3 extracting to .ac3, both sources reported as having dialnorm: -27dB)
What is your source/command-line/output?
Standard cmd using Gui

something like:
eac3to input.truhd output.wavs

Decoder is libavcodec for Dolby. I dont get this DialNorm removal Message anymore for TrueHD and AC3
ACrowley is offline  
Old 30th September 2009, 14:34   #9356  |  Link
magic144
Registered User
 
Join Date: May 2005
Posts: 395
I assume if your input file (.thd or .ac3) was previously extracted from a disc source, the DialNorm removal will have been done then (and only then) - unless perhaps you initially used keepDialnorm (I've never tried).

I still see it when I do something like this (track 2 being an AC3 stream in the source):-
eac3to L: 1) 2: audio.ac3

Last edited by magic144; 30th September 2009 at 15:09.
magic144 is offline  
Old 30th September 2009, 18:33   #9357  |  Link
EpheMeroN
EphMan
 
Join Date: May 2004
Posts: 737
TimeStretch

Can do eac3to do timestretching to audio?

I used to use BeHappy to use timestretch for audio that I wanted to change the pitch of, but maintain the same tempo when going from 25>23.976.
EpheMeroN is offline  
Old 1st October 2009, 02:06   #9358  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by EpheMeroN View Post
Can do eac3to do timestretching to audio?

I used to use BeHappy to use timestretch for audio that I wanted to change the pitch of, but maintain the same tempo when going from 25>23.976.
The -slowdown eac3to parameter is equal to use in AviSynth (for a 48 KHz audio):
SSRC(50050).AssumeSampleRate(48000)

Maybe the SSRC routines used in Eac3to are more recent than SSRC routines in AviSynth.

And is equivalent to TimeStretch(rate=98.0/1.001), the duration and the pitch change.

Eac3to can't do the others TimeStretch modes:
TimeStretch(tempo=98.0/1.001), change duration and preserve the pitch
TimeStretch(pitch=98.0/1.001), change pitch and preserve duration
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 2nd October 2009, 10:05   #9359  |  Link
odyssey
Registered User
 
Join Date: Dec 2003
Posts: 155
Quote:
Originally Posted by idbirch2 View Post
It didn't work for me either, in Nero licence management, it clearly shows the BluRay/HDDVD plugin being registered but eac3to just can't detect it. It detects Arcsoft, Sonic and Surcode just fine but something about the Windows 7 architecture is preventing eac3to from accurately checking Nero 7 status. To get around this, I am running eac3to in a WinXP virtual machine.
Are there any update on this issue? I can't get it to work at all on Windows 7.
odyssey is offline  
Old 2nd October 2009, 10:23   #9360  |  Link
ACrowley
Registered User
 
Join Date: Apr 2006
Posts: 1,008
Quote:
Originally Posted by odyssey View Post
Are there any update on this issue? I can't get it to work at all on Windows 7.
same Problem here on W7 x64 RTM

Anyway, i use libavcodec for AC3/THd. THD output should be Bitperfect from libavcodec and i cant hear any difference for AC3 decoding
ACrowley is offline  
Closed Thread

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 07:46.


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