View Full Version : d2s script files
kyuuketsuki
22nd November 2005, 22:40
I have been editing d2s script files and sending them to DVD2SVCD via the command line with the -d2s -run switches, but it is not working.
It seems that the parameters are being read from my DVD.ini file instead of my dvd2svcd project file.d2s file.
Specifically, I can see the AvgBitRate, MaxBitRate, and MinBitRate not being updated.
Short of copying a new DVD.ini file into the main directory, is there any way to get DVD2SVCD to use the parameters in the d2s file?
ArchieX
23rd November 2005, 00:08
D2S fills the appropriate details in the d2s file as it works, if you take note the dvd.ini file is copied to the directory by d2s when process is started.
You could edit the dvd.ini file in the d2s directory, but make sure you back it up first.
raquete
23rd November 2005, 00:38
kyuuketsuki,
look some lines from avisynth.ini inside dvd2svcd folder:
[AVISYNTH_SimpleResize]
0=Import(!RoBaConditional.avs)
1=LoadPlugin(!SimpleResize.dll)
2=ConvertToYUY2().SimpleResize(^TargetWidth,^TargetHeight)
!SimpleResize.dll=C:\Arquivos de programas\DVD2SVCD\Avisynth2.5 Plugins\SimpleResize\SimpleResize.dll
3=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
!RoBaConditional.avs=C:\Arquivos de programas\DVD2SVCD\Tylo\RoBaConditional.avs
before you start,edit(notepad)avisynth.ini and create one new option like this example:
[AVISYNTH_BicubicResize-FFT3d-colormatrix]
0=FFT3DFilter(bt=-1,sharpen=0.6)
1=BicubicResize(^TargetWidth,^TargetHeight,^b_value,^c_value)
2=AddBorders(^BorderLeft,^BorderTop,^BorderRight,^BorderBottom)
3=colormatrix()
^b_value=0.0
^c_value=0.6
save the file,start d2s and select the new option in Frameserver tab(avisynth setup)
the easy way is check in Frameserver tab = "Edit as part of video encode".
when "Edit Avisynth Script File" pop-up after extract/encode audio,change the filters and/or his parameters as your taste and save.
open the script saved from d2s default output folder in vdub.
if you don't see message with error and the movie running fine,close vdub.
after that click ok in "Edit Avisynth Script File".
more details in the faqs
excuse poor english!
kyuuketsuki
23rd November 2005, 04:01
Sorry, I don't think I was clear. I checked the FAQ and I searched the forum, but I still cannot find a way to do what I want.
I would like to run DVD2SVCD with custom parameters from the command line without pausing (batch mode). I have 5 independent AVIs that use different cropping, bitrates, encoding modes, etc.
I thought the .d2s file held the input parameters, but I can see that only some parameters are input and the rest are read in from some other file.
I also tried using a dvd.ini and avisynth.ini for each AVI and copying these to the dvd2svcd folder before running, but this also does not work.
I understand there are ways to run AVI2DVD batch mode using the same parameters for all AVIs, but I want to use different parameters for each one.
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.