View Full Version : batch convert avi's to bin and cue


lazy_dave
10th May 2002, 23:11
apologies if i'm going over old ground here, but i searched and couldn't find any answers.....

is it possible to convert multiple avi files (different films) to separate bin and cue files using d2s.
i've read about batch conversion from dvd, but nothing about avi files.

any help would be appreciated.
dave.

gerti67
11th May 2002, 16:29
Hi lazy_dave,

this is not possible by default but you can do this if you prepare it manually before.

Here's the procedure:

1. Set your default output folder in "Misc." tab (e.g "D:\Rip\Avi1")
2. Do your preferred settings and start the AVI conversion
3. After the process started close DVD2SVCD
4. Start DVD2SVCD again and follow the above steps but use a new default output folder for each AVI (e.g. "D:\Rip\Avi2") now
5. After you have done this for all the AVIs you want to batch-convert then edit the "dvd2svcd batch.bat" file by choosing the appropriate menu entry from the DVD2SVCD program menu.
6. Now edit it like this:

@ECHO OFF
@REM DVD2SVCD Batch Control
"D:\Programme\DVD2SVCD\DVD2SVCD.exe" -d2s:"D:\Rip\Avi1\dvd2svcd project file.d2s" -run -exit
"D:\Programme\DVD2SVCD\DVD2SVCD.exe" -d2s:"G:\Rip\Avi2\dvd2svcd project file.d2s" -run -exit

Be aware that this is an example and you have to adjust it to match your specific pathes.

7. Save the changes and start the batch process

Be aware: the resizing with some AVIs (DivX) is not correct (yet) with DVD2SVCD so you have to manually edit the AviSynth script - but this is not possible during batch conversion. So there will be no advantage with this procedure but it should be ok for some DV AVI batch conversion.

HTH,
Gerti

lazy_dave
12th May 2002, 09:22
tried what you've suggested.

here's my batch file.....

############################################################
@echo off
rem **************************
rem * DVD2SVCD Batch Control *
rem **************************
"c:\program files\dvd2svcd\dvd2svcd.exe" -d2s:"d:\temp\batch\mb_cdone\dvd2svcd project file.d2s" -run -exit
"c:\program files\dvd2svcd\dvd2svcd.exe" -d2s:"d:\temp\batch\mb_cdtwo\dvd2svcd project file.d2s" -run -exit
"c:\program files\dvd2svcd\dvd2svcd.exe" -d2s:"d:\temp\batch\vs_cdone\dvd2svcd project file.d2s" -run -exit
"c:\program files\dvd2svcd\dvd2svcd.exe" -d2s:"d:\temp\batch\vs_cdtwo\dvd2svcd project file.d2s" -run -exit
############################################################

i started and stopped d2s four times with all setting for the 4 avi files i want to convert.

when i run the batch file d2s starts, as if it's going to convert the first avi file. however, rather than extracting the audio, like what usually happens, d2s runs dvd2avi?!

the log file looks like this.....

############################################################
--------------------------------------------------------
- 12/5/02 8:59:41 am
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.0.9 build 1
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 12/5/02 8:59:44 am
- Free on drive D: 15661.15 mb
- AUDIO Extraction
--------------------------------------------------------
--------------------------------------------------------
- 12/5/02 9:00:33 am
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.0.9 build 1
--------------------------------------------------------
Initializing
Initializing finished.

--------------------------------------------------------
- 12/5/02 9:00:33 am
- Free on drive D: 15645.13 mb
- Restarting Wrom: SWZIDREXCAXZOW
--------------------------------------------------------
- 12/5/02 9:00:35 am
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"C:\Program Files\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[D:\Temp\batch\mb_cdone\DVD2AVI_Project_file] -IF=[D:\Video\Monster's Ball (2002).CD1.DVL.ShareReactor.avi]
############################################################

d2s hangs at this point of the conversion process - with 'analyzing dvd2avi project file' as the last line in the d2s window (this doesn't appear in the log file) and goes no further.

i left it running all last night and this morning d2s is at exactly the same point.

any idea how to get d2s to run normally and start the conversion from the audio extraction point?

thanks,
dave.

lazy_dave
16th May 2002, 11:19
c'mon guys - someone must have worked out how to batch convert!

mrbass
16th May 2002, 12:16
you can throw all you .avi files into vegas video 3.0 and then render as one huge .avi file..voila.

gerti67
16th May 2002, 12:26
Hello lazy_dave,

what happens if you try to convert only a single file of your AVIs? - Is DVD2AVI run also? - It shouldn't run at all with a AVI so that is really the problem in here. During my testings with this procedure it never ran a single moment. So I really don't know why it starts on your PC.

So please try a single conversion of the first AVI and see what happens to sort out this error.

Greetings,
Gerti

lazy_dave
16th May 2002, 18:40
thanks guys, although through a fluke i've sussed it out.

before, i was starting the conversion process and then closing d2s straight away - if d2s didn't close, i stopped it using the task manager. that's when i was getting the problem above.

when creating the separate 'dvd2svcd project file.d2s' files you have to let dvd2svcd complete the audio extraction before you close the program. then when you run d2s again from the batch file everything works as it should - the process re-starts at the audio converstion stage and runs right through to the end.

once again, thanks for the help.

dave.

gerti67
16th May 2002, 22:22
Hello lazy_dave,

thanks for reporting back. I did test this procedure with only a few little DivX clips so I was just on the lucky side with it as the audio extraction step was already finished with these short clips when my "old slowhand" managed to close DVD2SVCD by hitting the little "X" button. :D

Greetings,
Gerti

acer2k
6th September 2002, 12:09
deleted

Twizzle
10th December 2003, 13:23
Hi guys

I have tried the above and it all seems to make sense and my batch file looks like this:

@echo off
rem **************************
rem * DVD2SVCD Batch Control *
rem **************************
"C:\Video\DVD2SVCD\DVD2SVCD.exe" -d2s:"I:\swat1\dvd2svcd project file.d2s" -run -exit
"C:\Video\DVD2SVCD\DVD2SVCD.exe" -d2s:"I:\swat1\dvd2svcd project file.d2s" -run -exit
"C:\Video\DVD2SVCD\DVD2SVCD.exe" -d2s:"I:\TTcd1\dvd2svcd project file.d2s" -run -exit
"C:\Video\DVD2SVCD\DVD2SVCD.exe" -d2s:"I:\TTcd2\dvd2svcd project file.d2s" -run -exit


but when i run it DVD2SVCD crashed with a Windows error. The log produced is this:

WNASPI32.DLL 4.71.1.0
--------------------------------------------------------
- 10/12/2003 11:56:44
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.1 build 3
--------------------------------------------------------
Initializing
WARNING! You seem to be using "Norton Unerase Protection" and
you want to delete the temporary files created by dvd2svcd.
This can cause DVD2SVCD problems. Even though DVD2SVCD deletes
the temporary files, Norton doesn't, therefore DVD2SVCD
might run into diskspace problems. I suggest that you stop the
"Norton Unerase Protection" Service.
- I:\Films\SWAT\imbt-xvid-swat-cd2.avi
Initializing finished.

--------------------------------------------------------
- 10/12/2003 11:56:47
- Free on drive I: 21842.23 mb
- AUDIO Extraction
--------------------------------------------------------
Audio extraction finished.

--------------------------------------------------------
- 10/12/2003 11:57:36
- Free on drive I: 21647.92 mb
- AUDIO conversion
--------------------------------------------------------
--------------------------------------------------------
- 10/12/2003 12:10:48
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.1 build 3
--------------------------------------------------------
Initializing
WARNING! You seem to be using "Norton Unerase Protection" and
you want to delete the temporary files created by dvd2svcd.
This can cause DVD2SVCD problems. Even though DVD2SVCD deletes
the temporary files, Norton doesn't, therefore DVD2SVCD
might run into diskspace problems. I suggest that you stop the
"Norton Unerase Protection" Service.
-
Initializing finished.

--------------------------------------------------------
- 10/12/2003 12:10:49
- Free on drive I: 21609.61 mb
- Restarting from: From the start
--------------------------------------------------------
- 10/12/2003 12:10:50
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- c:\Video\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"c:\Video\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[I:\swat1\DVD2AVI_Project_file] -IF=[I:\Films\SWAT\imbt-xvid-swat-cd1.avi]

DVD2AVI failed to execute.
--------------------------------------------------------
- 10/12/2003 12:11:22
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.1 build 3
--------------------------------------------------------
Initializing
WARNING! You seem to be using "Norton Unerase Protection" and
you want to delete the temporary files created by dvd2svcd.
This can cause DVD2SVCD problems. Even though DVD2SVCD deletes
the temporary files, Norton doesn't, therefore DVD2SVCD
might run into diskspace problems. I suggest that you stop the
"Norton Unerase Protection" Service.
-
Initializing finished.

--------------------------------------------------------
- 10/12/2003 12:11:22
- Free on drive I: 21608.01 mb
- Restarting from: From the start
--------------------------------------------------------
- 10/12/2003 12:11:23
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- c:\Video\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX
--------------------------------------------------------
- 10/12/2003 12:11:25
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.1 build 3
--------------------------------------------------------
Initializing
WARNING! You seem to be using "Norton Unerase Protection" and
you want to delete the temporary files created by dvd2svcd.
This can cause DVD2SVCD problems. Even though DVD2SVCD deletes
the temporary files, Norton doesn't, therefore DVD2SVCD
might run into diskspace problems. I suggest that you stop the
"Norton Unerase Protection" Service.
-
Initializing finished.

--------------------------------------------------------
- 10/12/2003 12:11:25
- Free on drive I: 21607.76 mb
- Restarting from: Audio Processing
--------------------------------------------------------
- 10/12/2003 12:11:28
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.1 build 3
--------------------------------------------------------
Initializing
WARNING! You seem to be using "Norton Unerase Protection" and
you want to delete the temporary files created by dvd2svcd.
This can cause DVD2SVCD problems. Even though DVD2SVCD deletes
the temporary files, Norton doesn't, therefore DVD2SVCD
might run into diskspace problems. I suggest that you stop the
"Norton Unerase Protection" Service.
-
Initializing finished.

--------------------------------------------------------
- 10/12/2003 12:11:28
- Free on drive I: 21607.76 mb
- Restarting from: Audio Processing
--------------------------------------------------------
- 10/12/2003 12:13:12
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.1 build 3
--------------------------------------------------------
Initializing
WARNING! You seem to be using "Norton Unerase Protection" and
you want to delete the temporary files created by dvd2svcd.
This can cause DVD2SVCD problems. Even though DVD2SVCD deletes
the temporary files, Norton doesn't, therefore DVD2SVCD
might run into diskspace problems. I suggest that you stop the
"Norton Unerase Protection" Service.
-
Initializing finished.

--------------------------------------------------------
- 10/12/2003 12:13:12
- Free on drive I: 23000.50 mb
- Restarting from: From the start
--------------------------------------------------------
- 10/12/2003 12:13:13
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- c:\Video\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"c:\Video\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[I:\swat1\DVD2AVI_Project_file] -IF=[I:\Films\SWAT\imbt-xvid-swat-cd1.avi]

DVD2AVI failed to execute.
--------------------------------------------------------
- 10/12/2003 12:13:38
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.1 build 3
--------------------------------------------------------
Initializing
WARNING! You seem to be using "Norton Unerase Protection" and
you want to delete the temporary files created by dvd2svcd.
This can cause DVD2SVCD problems. Even though DVD2SVCD deletes
the temporary files, Norton doesn't, therefore DVD2SVCD
might run into diskspace problems. I suggest that you stop the
"Norton Unerase Protection" Service.
-
Initializing finished.

--------------------------------------------------------
- 10/12/2003 12:13:38
- Free on drive I: 22999.38 mb
- Restarting from: From the start
--------------------------------------------------------
- 10/12/2003 12:13:39
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- c:\Video\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX
--------------------------------------------------------
- 10/12/2003 12:16:32
- AVI to SVCD Conversion
- AVI2SVCD ver. 1.2.1 build 3
--------------------------------------------------------
Initializing
WARNING! You seem to be using "Norton Unerase Protection" and
you want to delete the temporary files created by dvd2svcd.
This can cause DVD2SVCD problems. Even though DVD2SVCD deletes
the temporary files, Norton doesn't, therefore DVD2SVCD
might run into diskspace problems. I suggest that you stop the
"Norton Unerase Protection" Service.
-
Initializing finished.

--------------------------------------------------------
- 10/12/2003 12:16:33
- Free on drive I: 22990.88 mb
- Restarting from: From the start
--------------------------------------------------------
- 10/12/2003 12:16:34
- DVD2AVI
--------------------------------------------------------
Creating DVD2AVI INI file:
- c:\Video\DVD2SVCD\DVD2AVI\DVD2AVI.INI

Variable settings:
iDCT_Algorithm: 32-bit SSE MMX

Executing DVD2AVI.
Executing DVD2AVI. Commandline:
"c:\Video\DVD2SVCD\DVD2AVI\DVD2AVI.exe" -CS=2 -YR=1 -EXIT -OF=[I:\swat1\DVD2AVI_Project_file] -IF=[I:\Films\SWAT\imbt-xvid-swat-cd1.avi]

DVD2AVI failed to execute.


I have managed to run without batch files loads of times so I know that it is not the proggy itself that is causing the problem.

Any ideas?