View Full Version : convert multiple avis to multiple svcds?
les_stockton
12th February 2004, 21:56
Is there or will there be a way in the future, to use DVD2SVCD to convert multiple avis to multiple svcds, ie. set up a batch that will convert one, then start another, then start another, etc.
r6d2
13th February 2004, 00:12
Originally posted by les_stockton
Is there or will there be a way in the future...AFAIK it is in the works, but not in high priority since there are several other stuff being improved. Can't tell you anything else, sorry. If I did, I'd have to kill you. :D
But AFAIK you can fake batch mode. Never tried myself with AVI sources, but if you add a line in the batch file for restarting an encode, DVD2SVCD should do it. Please post your results since it seems to be an interesting topic for several people.
ChickenMan
14th February 2004, 07:20
I do this all the time, be it episode AVI's or VOB's. Its been asked and answered here many times but difficult to find a straight answer.
This is how I do it. Load in your AVI (or VOB/IFO) into DVD2SVCD. Set it up the way you want. Start the encode. If an AVI, the first thing it does is extract the Audio track. Wait until this is finished and shut DVD2SVCD down. Load the next AVI in, set to a different output folder, set it up and start it also. Then shut DVD2SVCD down just after the audio is extracted.
Then make a Batch file ( I call mine BATCH.BAT :D ) in Notepad to read something like :
@ECHO OFF
REM DVD2SVCD Batch Control
"E:\DVD2SVCD\DVD2SVCD.exe" -d2s:"h:\TEMP1\dvd2svcd project file.d2s" -run -exit
"E:\DVD2SVCD\DVD2SVCD.exe" -d2s:"h:\TEMP2\dvd2svcd project file.d2s" -run -exit
"E:\DVD2SVCD\DVD2SVCD.exe" -d2s:"h:\TEMP3\dvd2svcd project file.d2s" -run -shutdown
Naturally, change the E:\DVD2SVCD\DVD2SVCD.exe to where ever you installed DVD2SVCD and the H:\TEMP1, etc to the folders you used where DVD2SVCD saved the files for each AVI. Dont forget to include the quotes "". -Shutdown on the last line instead of -Exit will shut the PC down when all is done.
Hope that helps.
CM
r6d2
14th February 2004, 14:50
:goodpost: Thanks, ChickenMan, this one will make it into the FAQ some day.
Nick
14th February 2004, 20:58
It just did :)
gusarapez2000
20th February 2004, 09:08
The method explained above by ChickenMan works well only when all the different AVIs have the same resolution. However, if the AVIs have different resolutions, the cropping and resizing options used for the first AVI will be applied also to the remaining ones. This results in that only the first AVI will be properly resized whereas the remaining ones, depending on their resolution, will be stretched or they will fill only part of the screen, etc.
This happens even if during setting up the batch conversion each AVI is given its own resizing and cropping parameters (I use the autofitCD plugin). But for whatever reason, the d2s file that is created at the beginning of the conversion and then called by the commands in the batch file does not contain the resizing information. Instead, AVI2SVCD uses the resizing information from the previous conversion.
Anybody has any idea of how to implement a batch AVI2SVCD conversion wherein each AVI is converted using a different cropping and resizing parameters?
Thanks
ChickenMan
20th February 2004, 09:32
Originally posted by gusarapez2000
The method explained above by ChickenMan works well only when all the different AVIs have the same resolution. However, if the AVIs have different resolutions, the cropping and resizing options used for the first AVI will be applied also to the remaining ones. This results in that only the first AVI will be properly resized whereas the remaining ones, depending on their resolution, will be stretched or they will fill only part of the screen, etc.
Arr... sorry not true for me. I regularly encode 4:3 followed by 16:9 by 2.3:1, etc., even NTSC, FILM & PAL and all one after the other. The most I have ever done is 16 in a Batch with some FILM, some PAL, some FILM converted to PAL with a sprinkling of 4:3 in amongst the normal 16:9 or 2.3:1. I even set diferent Audio bitrates and number of VBR passes, etc, etc. I have NEVER EVER had any AVI or IFO/VOB encode differently than how I originally set it up and 99.9% of all my encoding is done in Batch mode.
I would suggest you un-install and then re-install DVD2SVCD again if your having these problems.
The only problem/restriction I have found with the above Batch method is that I cant use eclCCE w/ newer versions of CCE (I use v 2.50) as it never seams to shut down and when it opens on the second file to encode, I get a "Cant run 2 or more sessions of eclCCE" error and the whole system sits there for ever waiting for me to close the error message.
Cheers,
CM
r6d2
20th February 2004, 12:49
Originally posted by gusarapez2000
This happens even if during setting up the batch conversion each AVI is given its own resizing and cropping parameters (I use the autofitCD plugin). But for whatever reason, the d2s file that is created at the beginning of the conversion and then called by the commands in the batch file does not contain the resizing information.
The resizing information is stored in the AVISYNTH.INI file, which on the last published version is located at the DVD2SVCD folder. This breaks batch mode when you use any resizer other that the default one, and you have to use the same one in all movies.
This is a reported issue and DVD2SVCD is working on it. It will be fixed on the next version by saving the INI files on the project folder with the D2S file. D2Sroba also supports this fix.
AldiMan
17th April 2004, 09:11
Originally posted by r6d2
The resizing information is stored in the AVISYNTH.INI file, which on the last published version is located at the DVD2SVCD folder. This breaks batch mode when you use any resizer other that the default one, and you have to use the same one in all movies.
This is a reported issue and DVD2SVCD is working on it. It will be fixed on the next version by saving the INI files on the project folder with the D2S file. D2Sroba also supports this fix.
Sorry, i think you mean, that the avisynth.ini will be build into
the .d2s project file, right ?
Is this fixed in the actually version 1.2.1 Build 3 ???
Cause i want to convert some multiple avis with AVI2DVD & AutoFitCD
in Batch-Mode to multiple "'720x576'-mpgs"
The No-Batch in avi2dvd is not the problem, i can do it manualy by
mutiple 'configure autofitcd -> Start Conversion -> Stop' ...
"E:\DVD2SVCD\DVD2SVCD.exe" -d2s:"h:\TEMP1\dvd2svcd project file.d2s" -run -exit
"E:\DVD2SVCD\DVD2SVCD.exe" -d2s:"h:\TEMP2\dvd2svcd project file.d2s" -run -exit
can i do this all in one folder, also not a subfolder for every
movie-file ? Like this:
copy all .d2s to h:\temp\projects\
the batchfile:
mkdir "h:\temp\ready"
"E:\DVD2SVCD\DVD2SVCD.exe" -d2s:"h:\TEMP\projects\dvd2svcd project file1.d2s" -run -exit
Ren "h:\temp\bbmpeg_muxed_file00.mpg" "h:\temp\1.mpg"
Move "h:\temp\1.mpg" "h:\temp\ready\"
Del "h:\temp\*.* /q
"E:\DVD2SVCD\DVD2SVCD.exe" -d2s:"h:\TEMP\projects\dvd2svcd project file2.d2s" -run -exit
Ren "h:\temp\bbmpeg_muxed_file00.mpg" "h:\temp\2.mpg"
Move "h:\temp\2.mpg" "h:\temp\ready\"
Del "h:\temp\*.* /q
...
...
or is this impossible, cause the avisynth.ini is needed for every
movie-file ?
Thanks a lot :-)
Cheers, aldiman
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.