Code:
C:\Documents and Settings\Administrator\Desktop\tttttttttt>(
REM "C:\Program Files\anrichan\fieldorder.exe" I01_001.vob
REM IF NOT !ERRORLEVEL!==-1 (
IF 6324224 GTR 5000 (
REM Run current vob through dgindex. Set to demux all tracks. Place vid,aud,dela
y info into temporary avs file.
"C:\Program Files\anrichan\dgmpgdec149\dgindex.exe" -IF=[I01_001.vob] -OM=2 -OF
=[ttttttttttI01_001] -AT=[C:\Program Files\anrichan\dgmpgdec149\infotemplate.avs
] -exit
REM If there's more than one file to be joined, they must be appended together.
IF NOT !num! == 1 echo \++\ 1>>tttttttttt.avs
REM Detect audio type, set vid,aud,delay to parameters a, b and c, generate sou
rce line.
IF EXIST *.ac3 (FOR /F "tokens=1,2,3 delims=," %A IN (ttttttttttI01_001.avs) DO
(ECHO AC3source(MPEG2source("%A"),"%B").DelayAudio(%C) 1>>tttttttttt.avs ) )
ELSE (IF EXIST *.mpa (FOR /F "tokens=1,2,3 delims=," %A IN (ttttttttttI01_001.av
s) DO (ECHO AudioDub(MPEG2source("%A"),mpasource("%B")).DelayAudio(%C) 1>>ttttt
ttttt.avs ) ) ELSE (IF EXIST *.wav (FOR /F "tokens=1,2 delims=," %A IN (ttttttt
tttI01_001.avs) DO (ECHO AudioDub(MPEG2source("%A"),wavsource("%B")) 1>>ttttttt
ttt.avs ) ) ) )
DEL ttttttttttI01_001.avs
SET /A num=!num!+1
)
ENDLOCAL ENABLEDELAYEDEXPANSION
)
C:\Documents and Settings\Administrator\Desktop\tttttttttt>(ECHO AC3source(MPEG2
source("ttttttttttI01_001.d2v"),"ttttttttttI01_001 T01 2_0ch 256Kbps DELAY 64ms.
ac3").DelayAudio(0.064) 1>>tttttttttt.avs )
C:\Documents and Settings\Administrator\Desktop\tttttttttt>(
REM "C:\Program Files\anrichan\fieldorder.exe" I02_002.vob
REM IF NOT !ERRORLEVEL!==-1 (
IF 7204864 GTR 5000 (
REM Run current vob through dgindex. Set to demux all tracks. Place vid,aud,dela
y info into temporary avs file.
"C:\Program Files\anrichan\dgmpgdec149\dgindex.exe" -IF=[I02_002.vob] -OM=2 -OF
=[ttttttttttI02_002] -AT=[C:\Program Files\anrichan\dgmpgdec149\infotemplate.avs
] -exit
REM If there's more than one file to be joined, they must be appended together.
IF NOT !num! == 1 echo \++\ 1>>tttttttttt.avs
REM Detect audio type, set vid,aud,delay to parameters a, b and c, generate sou
rce line.
IF EXIST *.ac3 (FOR /F "tokens=1,2,3 delims=," %A IN (ttttttttttI02_002.avs) DO
(ECHO AC3source(MPEG2source("%A"),"%B").DelayAudio(%C) 1>>tttttttttt.avs ) )
ELSE (IF EXIST *.mpa (FOR /F "tokens=1,2,3 delims=," %A IN (ttttttttttI02_002.av
s) DO (ECHO AudioDub(MPEG2source("%A"),mpasource("%B")).DelayAudio(%C) 1>>ttttt
ttttt.avs ) ) ELSE (IF EXIST *.wav (FOR /F "tokens=1,2 delims=," %A IN (ttttttt
tttI02_002.avs) DO (ECHO AudioDub(MPEG2source("%A"),wavsource("%B")) 1>>ttttttt
ttt.avs ) ) ) )
DEL ttttttttttI02_002.avs
SET /A num=!num!+1
)
ENDLOCAL ENABLEDELAYEDEXPANSION
)
C:\Documents and Settings\Administrator\Desktop\tttttttttt>(ECHO AC3source(MPEG2
source("ttttttttttI02_002.d2v"),"ttttttttttI02_002 T01 2_0ch 256Kbps DELAY 64ms.
ac3").DelayAudio(0.064) 1>>tttttttttt.avs )
Missing operator.
C:\Documents and Settings\Administrator\Desktop\tttttttttt>(
REM "C:\Program Files\anrichan\fieldorder.exe" I03_003.vob





