i'am trying to encode my audio file(*.mp2) with batch file..
The problem is every audio has different DELAY..
For Example :
Audio1 1 PID 0c9 L2 2ch 48 256 DELAY 96ms.mp2
Audio2 1 PID 0c9 L2 2ch 48 256 DELAY 72ms.mp2
As you can see audio1 need to be encode with +96ms delay and audio2 +72ms
How can i dedect that value(96 or 72) and add this value automaticly in my batch file?
Here is my code for encode any .mp2 in folder
for /R %%A in (*.ts) do IF NOT EXIST "%~1%%~pnA.mp2" "%eac3to%" "%~1%%~pnxA" "%~1%%~pnA.mp2" +96ms
I added myself that +96ms everytime.. I Need to dedect and add automaticly..
Any ideas ??