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 8th July 2011, 11:20   #1  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
Repair ac3 because of dialog norm changing ?

Hi,
I recorded a show on HDTV with 5.1 sound (ac3 @ 384 k) and the level of Dialog Normalization brutally changes (in the middle of the show) from -6 to -16 db for a few seconds and comes again to -6 db.
I see this figure on my receiver, and I hear it of course.
I often have this problem on this TV channel and never on others, so I guess they have problems with their ac3 encoder.
I copied the sound on my pc by the Spdif output, I put the ac3 file in an avi container, and when I play it on my dvd player, this problem is still there (it makes sense).
I'd like to repair it if possible.
Is it a kind of "header" problem in the ac3 file that could be solved without re-encoding ?
If no, I guess I should cut this part, decode to PCM, increase its level to the same than the rest of the file, encode it again in ac3 and join the parts. Not very simple.
Any other ideas ?
Music Fan is offline   Reply With Quote
Old 8th July 2011, 14:44   #2  |  Link
Ghitulescu
Registered User
 
Ghitulescu's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 5,769
Any commercials?
Have you checked the raw/original file for transmission errors?
__________________
Born in the USB (not USA)
Ghitulescu is offline   Reply With Quote
Old 8th July 2011, 14:56   #3  |  Link
Kurtnoise
Swallowed in the Sea
 
Kurtnoise's Avatar
 
Join Date: Oct 2002
Location: Aix-en-Provence, France
Posts: 5,191
use eac3to to decode your entire file to wav and transcode it with aften using -dnorm switch...
Kurtnoise is offline   Reply With Quote
Old 8th July 2011, 18:33   #4  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
I'd like to avoid to re-encode all the file. Anyway, even if I do that, what will happen with the -16db part ? I'd like to understand this problem.

Quote:
Any commercials?
No of course, I wouldn't have asked this question in this case. This problem lasts 3 seconds in the middle of the show and happens sometimes several times by minute.

Quote:
Have you checked the raw/original file for transmission errors?
Of course (again), I explained it above. I have it on my set top box and also with the sound played from my pc.
Music Fan is offline   Reply With Quote
Old 8th July 2011, 19:10   #5  |  Link
Shirtfull
Registered User
 
Join Date: May 2007
Posts: 53
Quote:
Originally Posted by Music Fan View Post
Of course (again), I explained it above. I have it on my set top box and also with the sound played from my pc.

you have only checked the output from your settop box and not the raw file for TX errors
Shirtfull is offline   Reply With Quote
Old 8th July 2011, 19:31   #6  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
My set top box is crypted, I can't transfer its content to an external drive, so, the Spdif output is the only way to copy the 5.1 sound.
I don't know what is TX error but how do you explain that this error is still in the ac3 file played from my dvd player ?
Music Fan is offline   Reply With Quote
Old 9th July 2011, 08:37   #7  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
eac3to will remove dialnorm without transcoding:

Code:
eac3to.exe input.ac3 output.ac3
TinTime is offline   Reply With Quote
Old 9th July 2011, 09:56   #8  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
Thanks, it worked , but not directly.
I first had this message :
Quote:
The format of the source file could not be detected.
Thus, as advised in the FAQ, I tried Delay Cut ;
http://en.wikibooks.org/wiki/Eac3to/...be_detected.22

In Delay Cut, I ticked "Fix" under CRC errors.

Then the file was accepted by eac3to and the dialog norm problem is not there anymore !
Weird detail : eac3to detected a -25db level for dialog norm and not - 6 as I expected.

I also tried the file created by Delay Cut before using again eac3to, but the dialog norm problem was still there, so I need both programs.

Question : is the dialog normalization really useful ?


edit : I read the debut of this article ;
http://en.wikipedia.org/wiki/Dialnorm
and I believe I understand why the level was 25 (and not - 25) : the maximum value of dialog normalization is 31 (= 0 db), so 25 equals -6 for the receiver.

Last edited by Music Fan; 9th July 2011 at 10:34.
Music Fan is offline   Reply With Quote
Old 9th July 2011, 11:35   #9  |  Link
TinTime
Registered User
 
Join Date: Jan 2009
Location: UK
Posts: 403
Quote:
Originally Posted by Music Fan View Post
Question : is the dialog normalization really useful ?
I think it would be useful if it was used universally. But it isn't

Quote:
Originally Posted by Music Fan View Post
edit : I read the debut of this article ;
http://en.wikipedia.org/wiki/Dialnorm
and I believe I understand why the level was 25 (and not - 25) : the maximum value of dialog normalization is 31 (= 0 db), so 25 equals -6 for the receiver.
Yes, that's right.
TinTime is offline   Reply With Quote
Old 10th July 2011, 09:44   #10  |  Link
Music Fan
Registered User
 
Join Date: May 2009
Location: Belgium
Posts: 1,744
Quote:
Originally Posted by Music Fan View Post
I also tried the file created by Delay Cut before using again eac3to, but the dialog norm problem was still there, so I need both programs.
Not always actually.
This test was made with a short part of the ac3 file cut and extracted with Virtual Dub (I had previously put the ac3 file with a video in an avi container with Virtual Dub Mod).
But I tried eac3to with the entire ac3 file, and it was accepted without having to fix problems with Delay Cut.
And the dialog norm problem has well been removed.

I guess it means that Virtual Dub can't cut and/or extract correctly ac3 from avi, unless the problem comes from the mux done before with Virtual Dub Mod.
Music Fan is offline   Reply With Quote
Reply

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 08:02.


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