View Single Post
Old 13th September 2006, 03:45   #209  |  Link
ADLANCAS
Registered User
 
ADLANCAS's Avatar
 
Join Date: Apr 2003
Location: Brazil
Posts: 247
I´ve made a small batch file that uses the aplication wavrms.exe presents on Aften v0.05 package.

With this batch we can use Aften with a "automatic measure of parameter Dialog Normalization".

Code:
rem This batch works on Win-XP
@echo off
setlocal enabledelayedexpansion
wavrms.exe video1.wav | find "Dialnorm" > "Dialnorm.txt"

for %%F in (Dialnorm.txt) do (
    for /F "usebackq tokens=1 delims=B" %%J in ("%%F") do (
      set char=%%J
      set char=!char:~12,2!
      echo Dialnorm = - !char! dB
      aften -b 224 -dnorm !char! -acmod 2 -bwfilter 1 -dcfilter 1 video1.wav video1.ac3
    )
)
I hope that can be useful for community.
ADLANCAS is offline   Reply With Quote