Graal_CPM |
01-25-2003 09:27 AM |
File prediction for lazy people with DVD2SVCD
With a 1.6Ghz CPU on my desk, I feel ashame to fire-up a calculator in order to encode a movie :oops:
:idea: So I use a lazy way, letting DVD2SVCD do the math.
Here after is my DVD2SVCD ini with parms I have used for a Fahrenheit
451 encode (01:47) with last kvcdx3 PAL template tweaked at 480x576.
You'll see that I've used Vobsub, because it gives a far better quality than
DVD2SVCD's subtitles. It took 8 hours on a P4 1,6Ghz.
Calculated Q is 51,32 and quality pleases my eyes. DVD source was very
clean (and how do I attach a file in here? :? )
It came out 760Mb with an File prediction factor of 1. I could reencode
sound at 192 instead of 128, but I won't because source is in mono.
I will increase prediction factor on my next encodes and let you know if it
works better. Before that, remember this method won't bring you the
*best* quality out of kvcd templates, because of those lost Mb.
Hope it helps.
:!: You may have to update matrices.ini in dvd2svcd folder too.
Just save following into kvcd_new.ini, load as D2S settings, edit progs path accordingly, load your ifo and hit Go.
:roll: EDIT : use the last setting
[AVISYNTH_LegalClip_GripFit_FluxSmooth_TemporalSmoo ther_Vobsub]
Code:
[Executables]
PVA Executable=
vStrip Executable=
DVD2AVI Executable=F:\Video\Dvd2svcd\DVD2AVI\DVD2AVI.exe
BeSweet Executable=F:\Video\Dvd2svcd\BeSweet\BeSweet.exe
MadPlay Executable=F:\Video\Dvd2svcd\MADPlay\madplay.exe
MPEG51 Executable=
CCE Executable=E:\VIDEO\CINEMA~1\cctsp.exe
VFAPI Executable=
TMPGEnc Executable=F:\Video\TMPGEenc_2510\TMPGEnc.exe
Pulldown Executable=F:\Video\Dvd2svcd\Pulldown\pulldown.exe
SubMux Executable=
bbMPEG Executable=F:\Video\Dvd2svcd\bbMPEG\RunbbMPEG.exe
I-Author Executable=
VCDImager Executable=
VCDXBuild Executable=F:\Video\Dvd2svcd\VCDImager\vcdxbuild.exe
CDMage Executable=
RunPerCDImage Executable=
RunFinal Executable=
MPG2Dec DLL=F:\Video\Dvd2svcd\MPEG2Dec\MPEG2DEC2.dll
InverseTelecine DLL=F:\Video\Dvd2svcd\InverseTelecine\Donald Graft\Decomb.dll
Subtitle DLL=F:\Video\Dvd2svcd\Avisynth Subtitler.dll
BMP Loader DLL=F:\Video\Dvd2svcd\Avisynth BMP Loader.dll
Title Picture=H:\VCDs\vcd_lebow\lebows_cover.jpg
Change CD Picture=
Last CD Picture=
Dividee MPEG2Dec=F:\Video\Dvd2svcd\MPEG2Dec\MPEG2DEC.dll
[Folders]
PVA Folder=H:\VCDs\vcd_farenheit\
DVD2AVI Folder=H:\VCDs\vcd_farenheit\
vStrip Folder=H:\VCDs\vcd_farenheit\
Audio Folder=H:\VCDs\vcd_farenheit\
CCE Folder=H:\VCDs\vcd_farenheit\
TMPGEnc Folder=H:\VCDs\vcd_farenheit\
Pulldown Folder=H:\VCDs\vcd_farenheit\
bbMPEG Folder=H:\VCDs\vcd_farenheit\
I-Author Folder=H:\VCDs\vcd_farenheit\
Subpictures Folder=H:\VCDs\vcd_farenheit\Subs
[Settings]
XPos=194
YPos=228
FirstRun=0
UsePVA2SVCD=0
UseDVD2SVCD=1
UseAVI2SVCD=0
UseMPEG1=1
UseMPEG2=0
Convert to Canopus codec=0
Convert to Divx4=0
Use Frameselection=0
New Default Folder=0
DVD2SVCD Level=1
UseDVDRip=0
UsevStrip=1
UseInternalRip=0
Eject DVD=0
iDCT=0
DVD2AVI Pause=0
Luminance Gain=0
Luminance Offset=0
Audio1Downsampling=1
Audio2Downsampling=1
Audio1BitRate=7
Audio2BitRate=9
tooLame Mode=1
Autodetect Azid Gain=1
Folder Structure Source=
Folder Structure Video=
Folder Structure Audio=
Folder Structure Muxed=
Folder Structure Subs=Subs
Intra=8,9,12,22,26,27,29,34,9,10,14,26,27,29,34,37,12,14,18,27,29,34,37,38,22,26,27,31,36,37,38,40,26,27,29,36,39,38,40,48,27,29,34,37,38,40,48,58,29,34,37,38,40,48,58,69,34,37,38,40,48,58,69,79
NonIntra=16,18,20,22,24,26,28,30,18,20,22,24,26,28,30,32,20,22,24,26,28,30,32,34,22,24,26,30,32,32,34,36,24,26,28,32,34,34,36,38,26,28,30,32,34,36,38,40,28,30,32,34,36,38,42,42,30,32,34,36,38,40,42,44
Matrice Preset=KVCD Notch
Use deafult Matrice=0
LFEDownmixLR6Ch=-3
LFEDownmixLFE6Ch=0
CenterDownmix6Ch=0
SurroundDownmix6Ch=0
DynamicCompression6Ch=1
StereoDownmixType6Ch=0
RearChannelFiltering6Ch=0
DialogNorm6Ch=0
LFEDownmixLR2Ch=-3
LFEDownmixLFE2Ch=0
CenterDownmix2Ch=-1
SurroundDownmix2Ch=-1
DynamicCompression2Ch=1
StereoDownmixType2Ch=0
RearChannelFiltering2Ch=0
DialogNorm2Ch=0
No Audio Conversion=0
Flip Vertival=0
Add ResampleAudio=0
Resize To=0
Use CCE=0
Use TMPGEnc=1
CCE Safe Mode=0
NoOfpasses=5
CCE Image Quality=17
CCE Anti noise value=2
CCE Anti noise=0
CBR=0
One Pass VBR=0
Multi Pass VBR=1
RoBa Multi Pass=0
RoBa Visibel=0
CCE Bias=20
CCE Field Order=2
Progressive=1
Auto Intra DC=0
DVD Compliant=0
Restrict auto I frame insertion=0
Close all GOPs=0
Intra DC=2
M GOP=3
MN GOP=5
SEQ Header=1
Constrained Parameter Set=1
TMPGEnc Rate Control Mode=2
TMPGEnc Motion search precision=3
TMPGEnc Field Order=2
TMPGEnc Num of passes=2
Prediction Size=1
OffsetFixed CQ Value=100
OffsetFixed CQ_VBR Value=30
Use fixed CQ Value=0
DC component precision=0
Output YUV data as Basic YCbCr not CCIR601=0
Use floating point DCT=1
No motion search for still picture part by half pixel=0
Soften block noise=0
Soften Intra=35
Soften NonIntra=35
TMPGEnc GOP I Pictures=1
TMPGEnc GOP P Pictures=24
TMPGEnc GOP B Pictures=2
TMPGEnc SEQ Headers=1
TMPGEnc Max frames in GOP=24
TMPGEnc Close GOPs=0
TMPGEnc Detect Scene Change=0
Enabled Padding=1
TMPGEnc VBVBuffer=40
Dont Delete Files=1
Create VAF=1
QFactor=60
Linear quantizer scale=1
Zigzag scanning order=1
Use2Streams=0
Pri1Audio1=28
Pri1Audio2=139
Pri2Audio1=139
Pri2Audio2=139
Sub1=34
Sub2=139
Sub3=139
Sub4=139
Sub5=139
Sub6=139
Sub7=139
Sub8=139
Azid Gain Offset=6
SubOutputPalette0=clBlack
SubBlendPalette0=0
SubOutputPalette1=clWhite
SubBlendPalette1=15
SubOutputPalette2=$001E1E1E
SubBlendPalette2=15
SubOutputPalette3=clGray
SubBlendPalette3=15
Rip subtitles=0
Min. Delay. Between Subtitles=100
Resize Subtitles=100
SVCD subtitles=0
CVD subtitles=0
Permanent subtitles=1
PAL Y-Pos=-1
NTSC Y-Pos=-1
bbMPEG MPEG1=0
bbMPEG VCD=1
bbMPEG MPEG2=0
bbMPEG SVCD=0
bbMPEG DVD=0
bbMPEG VBR=1
bbMPEG Pad VCD=0
bbMPEG Write PEC=1
bbMPEG Add Scan Offsets=0
bbMPEG Align Sequence Headers=0
bbMPEG Use Private Stream 2=0
bbMPEG Computed Bitrate=1
bbMPEG TimeStamps=0
bbMPEG Pulldown=2
bbMPEG MuxRate=0
bbMPEG Pack Size=2324
bbMPEG Packets Pack=1
bbMPEG Video Buffer=46
bbMPEG Audio 1 Buffer=4
bbMPEG Audio 2 Buffer=4
bbMPEG videoDelay Adjustment=344
bbMPEG audioDelay Adjustment=344
bbMPEG audio1Delay Adjustment=344
Use MPEGAV=0
MinsHigh1=50
MinsHigh2=63
MinsHigh3=102
MinsHigh4=125
MinsHigh5=170
NumCd1=1
NumCd2=1
NumCd3=1
NumCd4=1
NumCd5=1
NumCd6=1
CDSize 1=800
CDSize 2=800
CDSize 3=800
CDSize 4=800
CDSize 5=800
CDSize 6=800
MaxBitrate=2500
MinBitrate=300
MaxAvg=0
MinAvg=1600
Adjust Audio Bitrate=0
Use Min. Avg.=0
Force Film=0
Movie Offset=2
CDOverlap=0
UseCDOverlap=0
FixedChapters=0
DVDChapters=1
PBCType=0
Data Preparer=DVD2SVCD
Use I-Author=0
Use VCDImager=0
No images=1
Use VCDXBuild=0
Length of Chapters=120
Use TitlePicture=0
Use ChangeCD Picture=0
Use LastCD Picture=0
Use EntrySVD=0
Save XML=1
Save Movie Info=1
ProcessPriority=1
SmartDeinterlace Mode=2
SmartDeinterlace Treshold=10
SmartDeinterlace Denoise=1
SmartDeinterlace Blend=0
SmartDeinterlace Fast=1
Edit Avisynth Script file=0
Use CDMage=0
RunPerCDImage=0
RunPerCDImage Params=
RunFinal=0
RunFinal Params=
Automatic Shutdown=0
Avisynth Setup=LegalClip_GripFit_FluxSmooth_TemporalSmoother_Vobsub
Anamorphic Aspect=1
[AVISYNTH_BilinearResizeFluxSmoothBlockBusterDCTFilter_BBnoiseonly_Manualresize]
0=BilinearResize(^Width,^Height,^Cropleft,^CropTop,^CropWidth,^CropHeight)
1=LoadPlugin(!LegalClip.dll)
2=LegalClip()
3=LoadPlugin(!Fluxsmooth.dll)
4=FluxSmooth()
5=LoadPlugin(!Blockbuster.dll)
6=Blockbuster(method="dither", detail_min=1, detail_max=10, variance=.7)
7=LegalClip()
8=AddBorders(^BLeft,^BTop,^BRight,^BBottom)
9=LoadPlugin("vobsub.dll")
10=VobSub(!Subtitles)
11=LoadPlugin(!dctfilter.dll)
12=DctFilter(1,1,1,1,1,1,.5,0)
^Width=512
^Height=414
^Cropleft=4
^CropTop=0
^CropWidth=712
^CropHeight=576
!LegalClip.dll=f:\video\avisynth\legalclip.dll
!Fluxsmooth.dll=f:\video\avisynth\fluxsmooth.dll
!Blockbuster.dll=f:\video\avisynth\blockbuster.dll
^BLeft=16
^BTop=81
^BRight=16
^BBottom=81
!Subtitles=d:\dvdump\dvd_cube\Vts_03_0
!dctfilter.dll=f:\video\avisynth\dctfilter_YUY2.dll
[AVISYNTH_LegalClip_GripFit_FluxSmooth_BBnoiseonly]
0=LoadPlugin(!LegalClip.dll)
1=LoadPlugin(!GripFit_preview.dll)
2=LoadPlugin(!Fluxsmooth.dll)
3=LoadPlugin(!Blockbuster.dll)
4=LegalClip()
5=GripFit(width=^Width,height=^Height,overscan=^Overscan)
6=FluxSmooth()
7=Blockbuster(method="noise",variance=^Variance,seed=1)
8=LegalClip()
9=AddBorders(^BLeft,^BTop,^BRight,^BBottom)
!LegalClip.dll=f:\video\avisynth\legalclip.dll
!GripFit_preview.dll=f:\video\avisynth\gripfit_preview.dll
!Fluxsmooth.dll=f:\video\avisynth\fluxsmooth.dll
!Blockbuster.dll=f:\video\avisynth\blockbuster.dll
^Width=352
^Height=576
^Overscan=2
^Variance=.7
^BLeft=16
^BTop=144
^BRight=16
^BBottom=144
[AVISYNTH_LegalClip_GripFit_FluxSmooth_TemporalSmoother_Vobsub]
0=LoadPlugin(!LegalClip.dll)
1=LoadPlugin(!GripFit_preview.dll)
2=LoadPlugin(!Fluxsmooth.dll)
3=LoadPlugin("vobsub.dll")
4=LegalClip()
5=Letterbox(0,0,^CropLeft,^CropRight)
6=GripCrop(width=^Width,height=^Height,overscan=^Overscan,source_anamorphic=?s_anamorphic)
7=GripSize()
8=FluxSmooth()
9=TemporalSmoother(^Strength,^Radius)
10=LegalClip()
11=GripBorders()
12=VobSub(!Subtitles)
!LegalClip.dll=f:\video\avisynth\legalclip.dll
!GripFit_preview.dll=f:\video\avisynth\gripfit_preview.dll
!Fluxsmooth.dll=f:\video\avisynth\fluxsmooth.dll
^CropLeft=0
^CropRight=0
^Width=480
^Height=576
^Overscan=1
?s_anamorphic=true
^Strength=2
^Radius=1
!Subtitles=d:\dvdump\dvd_farenheit\vts_02_0
|