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 5th January 2009, 18:33   #7701  |  Link
DrNein
Registered User
 
Join Date: Sep 2002
Posts: 145
Okay, so I may as well enter the nearest myself. However, is it invalid to use other delays and does the delaycut program allow them or also automatically adjust to the nearest?
DrNein is offline  
Old 5th January 2009, 20:47   #7702  |  Link
kartman_canada
Registered User
 
Join Date: Jan 2008
Posts: 30
Suggestions for audio conversion options?

I'm trying to convert my HD-DVDs to something that is good for the PS3. I've been using EAC3TO to demux the VC-1 and demux the audio and convert to AC3 5.1 @ 640kbps. The final step is to convert the VC-1 to AVC and mux these into an M2TS.

I thought all was good until I tried watching a converted copy of Hot Fuzz. The video looks good and the audio is all there and in sync but I'm hearing some weirdness in the balance between the channels... dialog too quiet and fronts/sides too strong. I keep trying to turn up the volume to hear the dialog and then panic looking for the remote when an explosion happens.

Below is a listing from the filter test:

Code:
eac3to v2.84
command line: "E:\Video_Encoding\eac3to\eac3to.exe" -test
------------------------------------------------------------------------------
Nero Audio Decoder (Nero 7) works fine
ArcSoft DTS Decoder (1.1.0.0) works fine
Sonic Audio Decoder (2.87.0.0) doesn't seem to be installed
Haali Matroska Muxer (2008-03-29) is up to date
Nero AAC Encoder (1.1.34.2) is installed
  There's a new version (1.3.3.0) available
  http://www.nero.com/eng/downloads-nerodigital-nero-aac-codec.php
Surcode DTS Encoder (1.0.23.0) is installed
MkvToolnix (2.4.1.0, beta 2008-12-07) is installed
This particular movie is 5.1 E-AC3 EX. Are my filter versions the issue? Are there any EAC3TO audio switches that I should be using?

Here is an example of what I've been doing... in this case I'm only processing the audio and I experimented with not removing the dialog normalization. It didn't seem to help. I'd really appreciate any input the more experienced users out there might be able to offer!

Many thanx to Madshi too...

Code:
eac3to v2.84
command line: "E:\eac3to.exe" "E:\FEATURE_1.EVO"+"E:\FEATURE_2.EVO" 4: "E:\movie.ac3" -640 -keepDialnorm
------------------------------------------------------------------------------
EVO, 1 video track, 6 audio tracks, 7 subtitle tracks, 2:00:52
"Main Movie"
1: Joined EVO file
2: Chapters, 28 chapters with names
3: VC-1, 1080p24 /1.001 (16:9) with pulldown flags
4: E-AC3 EX, English, 5.1 channels, 1536kbps, 48khz, dialnorm: -27dB, 133ms
5: E-AC3 EX, French, 5.1 channels, 768kbps, 48khz, dialnorm: -27dB, 133ms
6: E-AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, 133ms
   "Feature Commentary w/ Simon Pegg and Edgar Wright"
7: E-AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, 133ms
   "Feature Commentary w/ Sandford Police Service"
8: E-AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, 133ms
   "Feature Commentary w/ Sandford Village People"
9: E-AC3 Surround, English, 2.0 channels, 192kbps, 48khz, dialnorm: -27dB, 133ms
   "Feature Commentary w/ The Real Fuzz"
10: Subtitle, English, "SDH"
11: Subtitle, French
12: Subtitle
13: Subtitle
14: Subtitle
15: Subtitle
16: Subtitle, English, "Fuzz-O-Meter: Trivia Track"
[a04] Extracting audio track number 4...
[a04] Decoding with DirectShow (Nero Audio Decoder 2)...
[a04] DirectShow reports 5.1 channels, 24 bits, 48khz
[a04] Applying RAW/PCM delay...
[a04] Encoding AC3 <640kbps> with libAften...
[a04] Creating file "E:\movie.ac3"...
Video track 3 contains 173880 frames.
eac3to processing took 15 minutes, 54 seconds.
Done.

Last edited by kartman_canada; 5th January 2009 at 22:50.
kartman_canada is offline  
Old 6th January 2009, 00:34   #7703  |  Link
Nullity
Registered User
 
Join Date: Mar 2007
Posts: 46
Quote:
Originally Posted by kartman_canada View Post
I'm trying to convert my HD-DVDs to something that is good for the PS3. I've been using EAC3TO to demux the VC-1 and demux the audio and convert to AC3 5.1 @ 640kbps. The final step is to convert the VC-1 to AVC and mux these into an M2TS.

I thought all was good until I tried watching a converted copy of Hot Fuzz. The video looks good and the audio is all there and in sync but I'm hearing some weirdness in the balance between the channels... dialog too quiet and fronts/sides too strong. I keep trying to turn up the volume to hear the dialog and then panic looking for the remote when an explosion happens.
Don't use the "-keepDialnorm" switch, it lowers the volume of the center channel. Or to be more correct, not using that switch allows eac3to to remove the dialog normalization which increases the volume of the center channel.
Nullity is offline  
Old 6th January 2009, 00:40   #7704  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
Quote:
Originally Posted by kartman_canada View Post
... dialog too quiet and fronts/sides too strong. I keep trying to turn up the volume to hear the dialog and then panic looking for the remote when an explosion happens...
This is called 'Full Dynamic Range Preserved'.
Your command line are ok and -keepDialnorm don't help. This is the original sound.

By default many players apply a 'Dynamic Range Compression' than reduce the differences between low and high volume values (the quality is also reduced).

If you want this effect the receivers have a 'Night Mode' to use.

EDIT: @Nullity, the DialNorm value lower the volume of all channels not only center channel.
__________________
BeHappy, AviSynth audio transcoder.

Last edited by tebasuna51; 6th January 2009 at 00:45.
tebasuna51 is offline  
Old 6th January 2009, 01:50   #7705  |  Link
Nullity
Registered User
 
Join Date: Mar 2007
Posts: 46
Quote:
Originally Posted by tebasuna51 View Post
@Nullity, the DialNorm value lower the volume of all channels not only center channel.
Ah, thanks for the clarification.
Nullity is offline  
Old 6th January 2009, 04:26   #7706  |  Link
kartman_canada
Registered User
 
Join Date: Jan 2008
Posts: 30
Quote:
Originally Posted by tebasuna51 View Post
This is called 'Full Dynamic Range Preserved'.
Your command line are ok and -keepDialnorm don't help. This is the original sound.
OK... The initial converted audio that I listened to (and found that I didn't like the level of the center channel) was processed using the command line below.
Code:
command line: "E:\eac3to.exe" "E:\FEATURE_1.EVO"+"E:\FEATURE_2.EVO" 4: "E:\movie.ac3" -640
I'm glad to hear that this is "correct" but I still think the center channel is too weak. Seeing as it's coming from an HD-DVD it's very hard for me to arrange a proper A/B comparison between the converted AC3 audio and the original E-AC3.

Is there anything else that might cause the level of the center to be reduced (or the other channels to be boosted)? It seems wrong but I guess that I could look to tweak the AC3 before muxing...

Any other comments or suggestions?
kartman_canada is offline  
Old 6th January 2009, 14:19   #7707  |  Link
ultratoto14
Registered User
 
Join Date: Jan 2005
Posts: 112
I think that that was already asked but could it be possible to convert h264-dts-movie.mkv to h264-ac3-movie.mkv or just video-with-dts-movie.mkv to audio.ac3. I know that reading mkv is not the same as writing but it could be very interesting.
ultratoto14 is offline  
Old 7th January 2009, 15:06   #7708  |  Link
MichaelAnders
Registered User
 
Join Date: Jan 2007
Posts: 24
Mashi, found a bug in v2.87 with a BD, wrong play duration is displayed.

O:\bd\2>eac3to h:
1) 00021.mpls, 00005.m2ts+00006.m2ts, 1:53:44
- VC-1, 1080p24 /1.001 (16:9)
- DTS, German, multi-channel, 48khz
- DTS, English, multi-channel, 48khz
- RAW/PCM, German, multi-channel, 48khz
- RAW/PCM, English, multi-channel, 48khz

2) 00006.mpls, 00006.m2ts, 1:53:39
- VC-1, 1080p24 /1.001 (16:9)
- DTS Master Audio, German, multi-channel, 48khz
- DTS Master Audio, English, multi-channel, 48khz
- RAW/PCM, German, multi-channel, 48khz
- RAW/PCM, English, multi-channel, 48khz

3) 00014.mpls, 00014.m2ts, 0:21:15
- MPEG2, 480i60 /1.001 (16:9)
- DTS, English, stereo, 48khz

4) 00011.mpls, 00011.m2ts, 0:20:40
- MPEG2, 480i60 /1.001 (16:9)
- DTS, English, stereo, 48khz

O:\bd\2>eac3to h: 1)
M2TS, 1 video track, 4 audio tracks, 2 subtitle tracks, 0:00:05
1: Chapters, 22 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: DTS, German, 5.1 channels, 24 bits, 768kbps, 48khz
4: DTS, English, 5.1 channels, 24 bits, 768kbps, 48khz
5: RAW/PCM, German, 5.1 channels, 16 bits, 48khz
6: RAW/PCM, English, 5.1 channels, 16 bits, 48khz
7: Subtitle (PGS), German
8: Subtitle (PGS), German

Here the duration is now just 5 sec - seems this is the time for 00005.m2ts file which just displays "Senator"?

O:\bd\2>eac3to h: 2)
M2TS, 1 video track, 4 audio tracks, 2 subtitle tracks, 1:53:39
1: Chapters, 22 chapters
2: VC-1, 1080p24 /1.001 (16:9)
3: DTS Master Audio, German, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 768kbps, 48khz)
4: DTS Master Audio, English, 5.1 channels, 24 bits, 48khz
(core: DTS, 5.1 channels, 24 bits, 768kbps, 48khz)
5: RAW/PCM, German, 5.1 channels, 16 bits, 48khz
6: RAW/PCM, English, 5.1 channels, 16 bits, 48khz
7: Subtitle (PGS), German
8: Subtitle (PGS), German

Here the time is correct...
MichaelAnders is offline  
Old 7th January 2009, 15:35   #7709  |  Link
madshi
Registered Developer
 
Join Date: Sep 2006
Posts: 9,140
Quote:
Originally Posted by DrNein View Post
However, is it invalid to use other delays and does the delaycut program allow them or also automatically adjust to the nearest?
But eac3to and delaycut accept any number, but round it to the nearest possible value.

Quote:
Originally Posted by kartman_canada View Post
I'm glad to hear that this is "correct" but I still think the center channel is too weak.
Maybe the studio mix was bad? Or maybe there's something else going on with your playback chain? It's really hard to diagnose for us without having access to your PC and your playback hardware. What I can say is that you've used a Dolby reference decoder for decoding the E-AC3 track and you've used a well tested and usually very reliable AC3 encoder for encoding. So the tracks you created should be fine.

Quote:
Originally Posted by kartman_canada View Post
Is there anything else that might cause the level of the center to be reduced (or the other channels to be boosted)? It seems wrong but I guess that I could look to tweak the AC3 before muxing...
You could decode to WAV and then tweak the track in e.g. Audacity.

Quote:
Originally Posted by ultratoto14 View Post
I think that that was already asked but could it be possible to convert h264-dts-movie.mkv to h264-ac3-movie.mkv or just video-with-dts-movie.mkv to audio.ac3. I know that reading mkv is not the same as writing but it could be very interesting.
It is not possible with the current eac3to version. You can use mkvextract (part of mkvtoolnix) to extract tracks from MKV container. Then you can use eac3to to convert the extracted audio tracks to whatever format you prefer. And then you can use mkvmerge (part of mkvtoolnix again) to mux the final track back into the MKV and to remove the tracks you don't like.

Quote:
Originally Posted by MichaelAnders View Post
Mashi, found a bug in v2.87 with a BD, wrong play duration is displayed.
Could you please zip the "CLIPINF" and "PLAYLIST" folders and upload them? Should be just a few KBs. Thanks!
madshi is offline  
Old 7th January 2009, 15:40   #7710  |  Link
~bT~
н∂-ƒαиαтι¢
 
Join Date: May 2006
Location: Bedfordshire, UK
Posts: 1,005
@ madshi

i'm sorry if this has been asked before but i was wondering if its poss to output celltimes.txt or not? cheers!

ps. if not, will it be poss to implement it?
~bT~ is offline  
Old 7th January 2009, 16:02   #7711  |  Link
ultratoto14
Registered User
 
Join Date: Jan 2005
Posts: 112
@madshi

Thanks for the answer.
I already do that.
I use a DLNA media server for the PS3 that can in real time send mkv remuxed to ts or m2ts. The server can transcode DTS to ac3 in real time during muxing as the PS3 does not handle DTS via streaming.
This is the only server i know that can do this and do not loose original mkv quality. But i prefer the sound quality of eac3to compared to the one used in this server (ffmpeg).

The writer told me that he could use eac3to if eac3to could be able to handle mkv or pipes as input/output.
Do you do some check on existing files before running ?
Can eac3to work with named pipes ?
ultratoto14 is offline  
Old 7th January 2009, 19:16   #7712  |  Link
shambles
Registered User
 
Join Date: Nov 2007
Posts: 132
eac3to seems not to strip zero bytes from truehd->flac anymore:

Code:
eac3to v2.87
command line: eac3to test 1) 3: test.flac
------------------------------------------------------------------------------
M2TS, 1 video track, 8 audio tracks, 18 subtitle tracks, 0:09:34
1: VC-1, 1080p24 /1.001 (16:9)
2: AC3, English, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB
3: TrueHD/AC3, English, 5.1 channels, 48khz, dialnorm: -27dB
   (embedded: AC3, 5.1 channels, 640kbps, 48khz, dialnorm: -27dB)
-snip-
[a03] Extracting audio track number 3...
[a03] Extracting TrueHD stream...
[a03] Removing TrueHD dialog normalization...
[a03] Decoding with libav/ffmpeg...
[a03] Encoding FLAC with libFlac...
[a03] Creating file "test.flac"...
[a03] [libav] End of stream indicated
[a03] [libav] Lossless check failed - expected 0, calculated fe
[a03] The original audio track has a constant bit depth of 16 bits.
Video track 1 contains 13762 frames.
eac3to processing took 1 minute, 55 seconds.
Done.

command line: eac3to test.flac test.wav
------------------------------------------------------------------------------
FLAC, 5.1 channels, 0:09:34, 16/24 bits, 2034kbps, 48khz
Decoding FLAC...
Stripping zero bytes...
Writing WAV...
Creating file "test.wav"...
The original audio track has a constant bit depth of 16 bits.
eac3to processing took 13 seconds.
Done.

command line: eac3to test.wav test.flac
------------------------------------------------------------------------------
WAV, 5.1 channels, 0:09:34, 16 bits, 4608kbps, 48khz
Reading WAV...
Encoding FLAC with libFlac...
Creating file "test.flac"...
The original audio track has a constant bit depth of 16 bits.
eac3to processing took 29 seconds.
Done.

eac3to test.flac
FLAC, 5.1 channels, 0:09:34, 16 bits, 2033kbps, 48khz
shambles is offline  
Old 7th January 2009, 19:51   #7713  |  Link
MichaelAnders
Registered User
 
Join Date: Jan 2007
Posts: 24
Quote:
Originally Posted by madshi View Post
Could you please zip the "CLIPINF" and "PLAYLIST" folders and upload them? Should be just a few KBs. Thanks!
http://rapidshare.com/files/180787649/BDMV.zip.html
MichaelAnders is offline  
Old 7th January 2009, 21:06   #7714  |  Link
n0mag!c
use 'r'
 
n0mag!c's Avatar
 
Join Date: Feb 2008
Posts: 230
bug report

Code:
eac3to v2.87
command line: D:\PROGRAMS\AUDIO\EAC3TO\eac3to.EXE 5e.ac3 j:5e.wav
------------------------------------------------------------------------------
AC3, 2.0 channels, 0:28:46, 192kbps, 48khz, dialnorm: -27dB
The Nero decoder doesn't seem to work, will use libav instead.
Removing AC3 dialog normalization...
Decoding with libav/ffmpeg...
Reducing depth from 64 to 24 bits...
Writing WAV...
Creating file "j5e.wav"...
eac3to processing took 20 seconds.
Done.
Now "eac3to" creates file "j5e.wav" in current folder of current disk, but v.2.80 (I've upgraded from this version to 2.87) has created file "5e.wav" in current folder of disk "j", as it's supposed to be. Can you please fix it back?!

And second problem - "sound forge 8" can't open stereo wav-files, generated by "eac3to".
Headers for 16-bit wav-files:
sforge:
Code:
0000000000: 52 49 46 46 24 C8 C0 13 │ 57 41 56 45 66 6D 74 20  RIFF$ИА‼WAVEfmt
0000000010: 10 00 00 00 01 00 02 00 │ 80 BB 00 00 00 EE 02 00  ►   ☺ ☻ _>   о☻
0000000020: 04 00 10 00 64 61 74 61 │ 00 C8 C0 13 01 00 00 00  ♦ ► data ИА‼☺
eac3to:
Code:
0000000000: 52 49 46 46 3C C8 C0 13 │ 57 41 56 45 66 6D 74 20  RIFF<ИА‼WAVEfmt
0000000010: 28 00 00 00 FE FF 02 00 │ 80 BB 00 00 00 EE 02 00  (   юя☻ _>   о☻
0000000020: 04 00 10 00 16 00 10 00 │ 03 00 00 00 01 00 00 00  ♦ ► ■ ► ♥   ☺
0000000030: 00 00 10 00 80 00 00 AA │ 00 38 9B 71 64 61 74 61    ► _  Є 8>qdata
eac3to mono:
Code:
0000000000: 52 49 46 46 24 64 E0 09 │ 57 41 56 45 66 6D 74 20  RIFF$dа○WAVEfmt
0000000010: 10 00 00 00 01 00 01 00 │ 80 BB 00 00 00 77 01 00  ►   ☺ ☺ _>   w☺
0000000020: 02 00 10 00 64 61 74 61 │ 00 64 E0 09 01 00 00 00  ☻ ► data dа○☺
Is there special reason that "eac3to" creates different header for stereo file?
n0mag!c is offline  
Old 8th January 2009, 00:45   #7715  |  Link
tebasuna51
Moderator
 
tebasuna51's Avatar
 
Join Date: Feb 2005
Location: Spain
Posts: 6,890
@n0mag!c
About the wav headers:

v2.57
...
* parameter "-extensible" is no longer supported (it's default now)
* new parameter "-simple" can be used to disable the "-extensible" wav header

I obtain also mono with WAVE_FORMAT_EXTENSIBLE headers.
__________________
BeHappy, AviSynth audio transcoder.
tebasuna51 is offline  
Old 8th January 2009, 01:07   #7716  |  Link
Snowknight26
Registered User
 
Join Date: Aug 2007
Posts: 1,430
Quote:
Originally Posted by n0mag!c View Post
Now "eac3to" creates file "j5e.wav" in current folder of current disk, but v.2.80 (I've upgraded from this version to 2.87) has created file "5e.wav" in current folder of disk "j", as it's supposed to be. Can you please fix it back?!
You should be using J:\5e.wav.
Snowknight26 is offline  
Old 8th January 2009, 11:30   #7717  |  Link
n0mag!c
use 'r'
 
n0mag!c's Avatar
 
Join Date: Feb 2008
Posts: 230
"j:\5e.wav" means create file in ROOT folder of disk "j", but I want to create file in CURRENT folder of disk "j".
Obviously Madshi added/change parser, which removes ":" in file names now.
n0mag!c is offline  
Old 8th January 2009, 14:26   #7718  |  Link
n0mag!c
use 'r'
 
n0mag!c's Avatar
 
Join Date: Feb 2008
Posts: 230
Quote:
Originally Posted by tebasuna51 View Post
* new parameter "-simple" can be used to disable the "-extensible" wav header
Thanks for the tip!
Can this switch be mentioned on the first page, as like as all other yet unmentioned switches? I forgot in time the switch, with which I can get float-wav. Can somebody please remind me? If I ain't wrong about its existing.

Quote:
Originally Posted by tebasuna51 View Post
I obtain also mono with WAVE_FORMAT_EXTENSIBLE headers.
Why?


Another problem - "eac3to" crashes with this "m2ts"-file.
VC-1 stream was incorporated from WMV-file.
n0mag!c is offline  
Old 8th January 2009, 14:56   #7719  |  Link
nautilus7
Registered User
 
nautilus7's Avatar
 
Join Date: Jan 2006
Location: Athens, Greece
Posts: 1,518
Quote:
Originally Posted by n0mag!c View Post
"j:\5e.wav" means create file in ROOT folder of disk "j", but I want to create file in CURRENT folder of disk "j".
Obviously Madshi added/change parser, which removes ":" in file names now.
The output file is written in the folder where eac3to.exe is called from or in whatever folder you set.
nautilus7 is offline  
Old 8th January 2009, 15:56   #7720  |  Link
Chumbo
Registered User
 
Chumbo's Avatar
 
Join Date: Feb 2005
Posts: 585
Quote:
Originally Posted by n0mag!c View Post
...Can this switch be mentioned on the first page, as like as all other yet unmentioned switches?...
Read your changelog.txt that's included with every release.

And for all those that don't use this file as a reference, it's the least you can do to show madshi you appreciate all his efforts.
__________________
Chumbo
Chumbo 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 20:47.


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