View Single Post
Old 20th April 2019, 18:08   #14810  |  Link
Overdrive80
Anime addict
 
Overdrive80's Avatar
 
Join Date: Feb 2009
Location: Spain
Posts: 673
Quote:
Originally Posted by tebasuna51 View Post
I don't know what is the problem.

The process work without -normalize?

Maybe is not necesary at all or can be do in a second separate pass, now you force to do the resample for -changeTo23.976 and the -resampleTo48000 two times, in pass1 and in pass2.
Tested separating process and same result. New script:

Code:
@echo off
Title NTSC to FILM
COLOR A8

IF NOT EXIST "%~dp0Completados" (md "%~dp0Completados")

set "eac3to=C:\Users\Isra-PC\Desktop\eac3to\eac3to.exe" rem Put you directory for eac3to

for %%@ in (*.wav) do (
	::First pass, conversion
	"%eac3to%" "%%@" "%temp%\temp.wav" -24.000 -changeTo23.976 -resampleTo48000 -down32 -r8brain -log=NUL

	::Two pass, normalization
	"%eac3to%" "%temp%\temp.wav" "%%~dpn@_FILM.wav" -normalize -down32 -log=NUL

	::Remove temps files
	del "%temp%\temp.wav"

	::Move originals to completed
	move "%%@" "%~dp0Completados"
)

pause&exit
Will try ffmpeg:

Code:
"%ffmpeg%" -hide_banner -nostdin -y -channel_layout stereo -i "%input%" -filter:a "atempo=0.9990009" -c:a pcm_f32le -ar 48000 -vn -sn "%temp%\temp.wav"
__________________
Intel i7-6700K + Noctua NH-D15 + Z170A XPower G. Titanium + Kingston HyperX Savage DDR4 2x8GB + Radeon RX580 8GB DDR5 + ADATA SX8200 Pro 1 TB + Antec EDG750 80 Plus Gold Mod + Corsair 780T Graphite

Last edited by Overdrive80; 21st April 2019 at 00:56.
Overdrive80 is offline