Quantcast File Prediction for Lazy People with DVD2SVCD - digitalFAQ.com Forums [Archives]
Go Back    digitalFAQ.com Forums [Archives] > Video Production Forums > Video Encoding and Conversion

Reply
 
LinkBack Thread Tools
  #1  
01-25-2003, 09:27 AM
Graal_CPM Graal_CPM is offline
Free Member
 
Join Date: Jun 2002
Location: Paris, France
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
With a 1.6Ghz CPU on my desk, I feel ashame to fire-up a calculator in order to encode a movie

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.

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
Reply With Quote
Someday, 12:01 PM
admin's Avatar
Site Staff / Ad Manager
 
Join Date: Dec 2002
Posts: 42
Thanks: ∞
Thanked 42 Times in 42 Posts
  #2  
01-25-2003, 12:09 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
hi Graal_CPM
thanks.

are you think of me when you do it???!

i test and post.

ps:
i read it all tomorrow.....now i'm.... :zzzsleep: ......lazy....!
Reply With Quote
  #3  
01-26-2003, 08:05 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
@ all,
we need more results here,
or you are so lazy?
waiting.....
Reply With Quote
  #4  
01-27-2003, 07:27 PM
Graal_CPM Graal_CPM is offline
Free Member
 
Join Date: Jun 2002
Location: Paris, France
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Bad news friends.

I have made a test with a 1,1 factor and movie came out 833! (video+sound). I wish I knew the formula DVD2SVCD is using (could it help?)... Anyone knows?

Anyway, I should try again with another movie, because this one was particularly difficult to encode.

Meanwhile I have played with Avisynth. Lazy people should like this :
http://www.kvcd.net/forum/viewtopic.php?p=15009#15009
Reply With Quote
  #5  
02-03-2003, 06:30 PM
Graal_CPM Graal_CPM is offline
Free Member
 
Join Date: Jun 2002
Location: Paris, France
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts

I just should go back to elementary school. On my way testing prediction factor there is 0.98, 0.99, 1.00 and... 1.01 NOT 1.1. *sight*

A 2 hour movie just came out 752Mo with factor=1. My next try should be 1.01.

Is anybody testing DVD2SVCD with latest templates and filters here?
Mmmm... This post belongs to DVD2SVCD topic I'll post further result in this section next time.
Reply With Quote
  #6  
02-03-2003, 09:36 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Graal_CPM

I just should go back to elementary school. On my way testing prediction factor there is 0.98, 0.99, 1.00 and... 1.01 NOT 1.1. *sight*

A 2 hour movie just came out 752Mo with factor=1. My next try should be 1.01.

Is anybody testing DVD2SVCD with latest templates and filters here?
Mmmm... This post belongs to DVD2SVCD topic I'll post further result in this section next time.

and let me go back with you to the elementary school.
i don't knew that !
i got with 62 minuts film , 723mb with factor 1 and CQ 100!

i'm testing and doing some(maybe 5 films)....
was changing the hd and buzzy too!
i post the results in 2 days.
Reply With Quote
  #7  
02-04-2003, 05:37 PM
VILLA21 VILLA21 is offline
Free Member
 
Join Date: Oct 2002
Location: Greece
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by Graal_CPM

I just should go back to elementary school. On my way testing prediction factor there is 0.98, 0.99, 1.00 and... 1.01 NOT 1.1. *sight*

A 2 hour movie just came out 752Mo with factor=1. My next try should be 1.01.

Is anybody testing DVD2SVCD with latest templates and filters here?
Mmmm... This post belongs to DVD2SVCD topic I'll post further result in this section next time.
Have u noticed that in the latest version the default factor value is 1.5 ?
By the way, do a little trick: increase the CD size from 800MB to 880, leave the factor to 1 and try to encode it again.
I econded in this way the "I"m Sam" (PAL) 352x288 LBR, 125mins movie and i got a 810MB bin file
__________________
The aRt oF FaLLing ApaRt
Reply With Quote
  #8  
02-04-2003, 09:26 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by VILLA21
Quote:
Originally Posted by Graal_CPM

I just should go back to elementary school. On my way testing prediction factor there is 0.98, 0.99, 1.00 and... 1.01 NOT 1.1. *sight*

A 2 hour movie just came out 752Mo with factor=1. My next try should be 1.01.

Is anybody testing DVD2SVCD with latest templates and filters here?
Mmmm... This post belongs to DVD2SVCD topic I'll post further result in this section next time.
Have u noticed that in the latest version the default factor value is 1.5 ?
By the way, do a little trick: increase the CD size from 800MB to 880, leave the factor to 1 and try to encode it again.
I econded in this way the "I"m Sam" (PAL) 352x288 LBR, 125mins movie and i got a 810MB bin file
".....in the latest version the default factor value is 1.5 ?"
yes VILLA21,i see it a few minutes,and when you change the value,
only acept to 1.000 and if you "tick" in another tab and after return
to the encoder tab,the factor return to 1.500 again!!
how can we adjust the factor to .95 ?

Reply With Quote
  #9  
02-05-2003, 02:40 AM
VILLA21 VILLA21 is offline
Free Member
 
Join Date: Oct 2002
Location: Greece
Posts: 63
Thanks: 0
Thanked 0 Times in 0 Posts
"...yes VILLA21,i see it a few minutes,and when you change the value,
only acept to 1.000 and if you "tick" in another tab and after return
to the encoder tab,the factor return to 1.500 again!! ..."

Maybe, it"s a bug, report it to Doom"s forums.
__________________
The aRt oF FaLLing ApaRt
Reply With Quote
  #10  
02-05-2003, 05:42 PM
Graal_CPM Graal_CPM is offline
Free Member
 
Join Date: Jun 2002
Location: Paris, France
Posts: 54
Thanks: 0
Thanked 0 Times in 0 Posts
Thanx guys for your input.
I have the (bad) feeling that the prediction formula used in D2S is not ok for CQ (it was designed for CQ_VBR if I remember well). Anyway I should try the 880Mo trick.

Last test with latest script and filters : 732Mb with factor 1.02.
Reply With Quote
  #11  
02-08-2003, 01:14 PM
jorel jorel is offline
Invalid Email / Banned / Spammer
 
Join Date: Aug 2002
Location: Brasil - MG - third stone from the sun
Posts: 5,570
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by VILLA21
"...yes VILLA21,i see it a few minutes,and when you change the value,
only acept to 1.000 and if you "tick" in another tab and after return
to the encoder tab,the factor return to 1.500 again!! ..."

Maybe, it"s a bug, report it to Doom"s forums.
VILLA21...and all,...hi
well,i do it,and got a solution:


solution from dvd2svcd(Fiddler of DVD2sVCD) that wrote:
It's a bug Luckyli there's an easy workaround until next update:

Go to Controlpanel / Regional Options / Numbers and change:

Decimalseparator to .
Thousandseperator to ,

read about:
http://forum.doom9.org/showthread.php?s=&threadid=45192

Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
DVD2SVCD: For All Those People Who Get Choppy / Jerky Playback!! bazzy2004 Video Encoding and Conversion 0 05-19-2004 07:35 PM
DVD2SVCD: File prediction and CQ telemike Video Encoding and Conversion 4 04-16-2003 05:27 PM
Tmpgenc cannot open source file for file prediction Kane Avisynth Scripting 3 02-03-2003 02:44 PM
DVD2SVCD: DVD2SVCD file size prediction for CQ_VBR black prince Video Encoding and Conversion 0 12-04-2002 07:32 PM
KVCD: DVD2SVCD? Where is the File Prediction included?? Jellygoose Video Encoding and Conversion 6 11-20-2002 11:23 AM




 
All times are GMT -5. The time now is 05:40 PM  —  vBulletin © Jelsoft Enterprises Ltd