Quantcast MainConcept 1.4 Multi Movies on 1 DVD with KVCD Template? - digitalFAQ.com Forums [Archives]
  #1  
10-28-2003, 07:55 PM
Funky Hell Funky Hell is offline
Free Member
 
Join Date: Oct 2003
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Mainconcept 1.4 can now load avisynth scripts and is fast. Here is way to use with KVCDx3 template to play on DVD keeping a small filesize so you can fit several high quality movies on 1 DVD. You can not make a silk purse out of a pigs ear so you need a high/cleanish quality source to begin with. I can fit 3 or 4 movies with great great quality. It all depends what your original resolution is. This template with these settings is only suitable for fitting videos on 1 DVD. You will not be able to encode your audio with Mainconcept using a avisynth script but a quality way is included at the end. I will be working in Mpeg-2 format but you can change this for Mpeg-1 but you will be restricted of around 2000 bitrate and reduced quality with MainConcept.

First of all get the update fix http://www.jltoca.uaivip.com.br/file...tureEngine.zip and extract these files to your MC dir overwriting the existing files but make sure you close mainconcept before hand as they are in use. This fixes several bugs.

First load mainconcept and then input your avisynth script or video file. Change your MPEG type to MPEG 2 and Stream Type Elementary Video now select your video mode NTSC.

NB. If your using a *avisynth script* in Mainconcept and want to convert your video source from NTSC to PAL then you have to use the command AssumeFPS(25.00) at end of your avisynth source script. Changing video mode from NTSC to PAL in Mainconcept will not convert it.

If your using a avisynth script as input it might crash so to get this working close MC and rename idshow.dll to idshow.bak in the MC dir and restart. This disables the directshow filter so you can't load audio but as we are encoding audio seperately it dosent matter.

Now making sure you have selected MPEG type to MPEG 2 you need to save settings as a Profile so goto options pulldown menu and select save settings as profile and call the profile KVCD. The profile will now be selectable in Mpeg Type list.

Ok now we are going to edit the kvcd profile as we need to add kvcd settings to it which cant be done from MC. Close MC and in explorer goto
C:\Documents and Settings\LognName\Application Data\MCMPEGEnc\ and there you will see a file called kvcd.mef if not you have not turned on show all hidden files. Open this file in notepad and delete all data and replace with the following data below starting from [MAIN] and save the file keeping the original filename kvcd.mef.

[MAIN]
StreamType=1
MpegType=2
VideoMode=0
AudioMode=2
Width=704
Height=480
DestStartX=0
DestStartY=0
DestWidth=704
DestHeight=480
SrcStartX=0
SrcStartY=0
SrcWidth=576
SrcHeight=304
FlipVertical=0
SampleRate=48000
LineFiltering=0
Deinterlacing=0
Passes=1
ID=mep-profile
Name=KVCD
[WaveAudio]
Channels=9216
Bits=5888
[basic]
settingsVersion=2
online=0
perfLevel=16
motionSearchType=23
mpegType=2
deinterlacing_mode=0
relaxed_standards=1
[video]
videoPulldownFlag=0
rateControlMode=0
aspectRatio=2
frameRateCode=4
iFramesInGOP=18
ipFrameDistance=3
bitrateFlag=0
mquantValue=2
constBitrate=6000000
maxBitrate=3000000
avgBitrate=0
minBitrate=0
timeCode0=0
dropFrameTC=0
constrParms=0
closedGOPs=0
[audio]
audioLayer=2
audioMode=0
deEmphasis=0
audioBitrate=11
privateBit=0
copyrightBit=0
originalBit=0
errorProtection=0
psychModel=2
[multiplex]
programStreamType=2
vbrMultiplex=1
padVCDAudio=0
writeProgramEndCode=1
muxSVCDScanOffsets=0
alignSequenceHeaders=0
usePrivateStream2=0
useComputedBitrate=0
frameTimestamps=0
muxPulldownFlag=3
userMuxRate=0
sectorSize=2048
packetsPerPack=1
videoBufferSize=0
audioBufferSize=0
audio1BufferSize=0
sectorDelay=0
videoDelay=180
audioDelay=180
audio1Delay=180
alwaysWriteSysHeader=0
maxFileSize=0
muxStartTime=0
muxStopTime=0
resetClocks=1
setBrokenLink=1
writeEndCodes=1
[advVideo]
profile=4
level=8
chromaFormat=1
colorPrimaries=4
transferCharacteristics=4
matrixCoefficients=5
videoFormat=2
intraDCPrec=1
vbvBufferSize=0
forceVBVDelay=1
displayHorizontalSize=704
displayVerticalSize=480
progressiveSequence=0
progressiveFrame=0
fieldPictures=0
topFieldFirst=0
repeatFirstField=0
intraVLCFormatI=1
intraVLCFormatP=1
intraVLCFormatB=1
framePredDCTI=0
framePredDCTP=0
framePredDCTB=0
quantizationScaleI=1
quantizationScaleP=1
quantizationScaleB=1
alternateScanI=1
alternateScanP=1
alternateScanB=1
writeSequenceDisplayExt=0
writeSequenceEveryGOP=1
writeSequenceEndCode=1
embedSVCDUserBlocks=0
writePictureDisplayExt=0
frameCentreHorizontalOffset=0
frameCentreVerticalOffset=0
qtNoiseSensitivity=0
featureFlags=256
reactionParameter=0
initialAverageActivity=0
initialIComplexity=0
initialPComplexity=0
initialBComplexity=0
initialIFullness=0
initialPFullness=0
initialBFullness=0
minFramePercentage=25
padFramePercentage=0
autoVectorLengths=0
horzPelMovement=0
vertPelMovement=0
forwHorzFCodeP=5
forwVertFCodeP=4
forwHorzSearchP=93
forwVertSearchP=63
forwHorzFCodeB1=3
forwVertFCodeB1=3
forwHorzSearchB1=31
forwVertSearchB1=21
backHorzFCodeB1=4
backVertFCodeB1=4
backHorzSearchB1=62
backVertSearchB1=42
forwHorzFCodeB2=4
forwVertFCodeB2=4
forwHorzSearchB2=62
forwVertSearchB2=42
backHorzFCodeB2=3
backVertFCodeB2=3
backHorzSearchB2=31
backVertSearchB2=21
forwHorzFCodeB3=0
forwVertFCodeB3=0
forwHorzSearchB3=0
forwVertSearchB3=0
backHorzFCodeB3=0
backVertFCodeB3=0
backHorzSearchB3=0
backVertSearchB3=0
forwHorzFCodeB4=0
forwVertFCodeB4=0
forwHorzSearchB4=0
forwVertSearchB4=0
backHorzFCodeB4=0
backVertFCodeB4=0
backHorzSearchB4=0
backVertSearchB4=0
forwHorzFCodeB5=0
forwVertFCodeB5=0
forwHorzSearchB5=0
forwVertSearchB5=0
backHorzFCodeB5=0
backVertFCodeB5=0
backHorzSearchB5=0
backVertSearchB5=0
forwHorzFCodeB6=0
forwVertFCodeB6=0
forwHorzSearchB6=0
forwVertSearchB6=0
backHorzFCodeB6=0
backVertFCodeB6=0
backHorzSearchB6=0
backVertSearchB6=0
forwHorzFCodeB7=0
forwVertFCodeB7=0
forwHorzSearchB7=0
forwVertSearchB7=0
backHorzFCodeB7=0
backVertFCodeB7=0
backHorzSearchB7=0
backVertSearchB7=0
ignore_frame_interval=0
user_iquant=1
intra_q[0]=8
intra_q[1]=9
intra_q[2]=12
intra_q[3]=22
intra_q[4]=26
intra_q[5]=27
intra_q[6]=29
intra_q[7]=34
intra_q[8]=9
intra_q[9]=10
intra_q[10]=14
intra_q[11]=26
intra_q[12]=27
intra_q[13]=29
intra_q[14]=34
intra_q[15]=37
intra_q[16]=12
intra_q[17]=14
intra_q[18]=18
intra_q[19]=27
intra_q[20]=29
intra_q[21]=34
intra_q[22]=37
intra_q[23]=38
intra_q[24]=22
intra_q[25]=26
intra_q[26]=27
intra_q[27]=31
intra_q[28]=36
intra_q[29]=37
intra_q[30]=38
intra_q[31]=40
intra_q[32]=26
intra_q[33]=27
intra_q[34]=29
intra_q[35]=36
intra_q[36]=39
intra_q[37]=38
intra_q[38]=40
intra_q[39]=48
intra_q[40]=27
intra_q[41]=29
intra_q[42]=34
intra_q[43]=37
intra_q[44]=38
intra_q[45]=40
intra_q[46]=48
intra_q[47]=58
intra_q[48]=29
intra_q[49]=34
intra_q[50]=37
intra_q[51]=38
intra_q[52]=40
intra_q[53]=48
intra_q[54]=58
intra_q[55]=69
intra_q[56]=34
intra_q[57]=37
intra_q[58]=38
intra_q[59]=40
intra_q[60]=48
intra_q[61]=58
intra_q[62]=69
intra_q[63]=79
user_niquant=1
inter_q[0]=16
inter_q[1]=18
inter_q[2]=20
inter_q[3]=22
inter_q[4]=24
inter_q[5]=26
inter_q[6]=28
inter_q[7]=30
inter_q[8]=18
inter_q[9]=20
inter_q[10]=22
inter_q[11]=24
inter_q[12]=26
inter_q[13]=28
inter_q[14]=30
inter_q[15]=32
inter_q[16]=20
inter_q[17]=22
inter_q[18]=24
inter_q[19]=26
inter_q[20]=28
inter_q[21]=30
inter_q[22]=32
inter_q[23]=34
inter_q[24]=22
inter_q[25]=24
inter_q[26]=26
inter_q[27]=30
inter_q[28]=32
inter_q[29]=32
inter_q[30]=34
inter_q[31]=36
inter_q[32]=24
inter_q[33]=26
inter_q[34]=28
inter_q[35]=32
inter_q[36]=34
inter_q[37]=34
inter_q[38]=36
inter_q[39]=38
inter_q[40]=26
inter_q[41]=28
inter_q[42]=30
inter_q[43]=32
inter_q[44]=34
inter_q[45]=36
inter_q[46]=38
inter_q[47]=40
inter_q[48]=28
inter_q[49]=30
inter_q[50]=32
inter_q[51]=34
inter_q[52]=36
inter_q[53]=38
inter_q[54]=42
inter_q[55]=42
inter_q[56]=30
inter_q[57]=32
inter_q[58]=34
inter_q[59]=36
inter_q[60]=38
inter_q[61]=40
inter_q[62]=42
inter_q[63]=44


Ok now load up MC input your video file or avisynth script and select the Mpeg type KVCD and after a brief wait the new kvcd settings will be loaded with an output format of 704x480 which can be changed to your desired output resolution.

All settings have been setup for a good optimum output from lots of tests. Only ones that maybe need adjusting are the Aspect Ratio, CQ and whether to turn on 2 pass encoding. All can be tweaked in Details and Advanced Settings and are explained below.

If you have done all of the above you should see the explained settings below loaded.

Details Menu & Advanced Settings
-------------------------------------------

Crop and Scale can be used to adjust output resolution keeping proportions.

Line Filtering will give you a poorer output so is turned off.

2 Crop Encoding turned off but can be turned on doubles the encoding time but slight increase in final quality 1 pass is sufficient.

Search Method is set to 11 wont benefit higher setting.

Search Range is set 31 for quality.

Ok now the juicy settings the Advanced Settings click on Advanced to get there.

Notice Rate Control Mode is set to Fast and not default Mode 1 otherwise you have encode errors.

Maximum Bitrate is set to 3000 another good setting is kvcd 2500 for lower filesize but try 3000 first.

CQ of 2 is high, 10 is low, so lower the CQ the higher the quality, try a CQ of 1 for even higher quality. This will of course affect filesize.

*UPDATE* With a cq of 1 quality is superb with a filesize of 1500-2000mb
so still room for 2-3 movies.

Gop Structure has been taken from TmpgEnc settings and inserted for DVD compatibilty. I frames is 18 same as Max Gop of 18 in TmpgEnc. There is no option to insert B Frames manually but by inserting 3 P Frames 2 B Frames are added. Changing these settings will not play your dvd well or not at all and result in errors,jerks etc. Closed Gop is not needed unless for editing later.

Noise Sensitivity can be changed if not using avisynth scripts with filtering.

Any settings you change can be saved under a new extra kvcd profile and to reload every time select Use last profile as default in Options pulldown.

To extract sound use Virtualdub, load your video file and select full processing mode in audio menu and then select save as wav in file menu then use this wav file in besweet and convert wav to mp2 192bitrate 48,000.

N.B. If original video source was NTSC and you converted it to PAL then you will also have to convert the audio with besweet to PAL too by selecting Presets NTSC -> PAL otherwise sound will be out of sync.

Now you will have a video and sound file ready to be imported into your dvd authoring software.

Try this. Test your movie(s) and burn them to a DVD-RW(not to waste blanks) and burn them at 1x to stop jerks. This might not work.

Opinions and Results Welcome

Happy Encoding.

Credits to ak47 on the kvcd.net forum for his original script and contributions.
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
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
AviSynth Multi-Core? tengo6dedos Avisynth Scripting 13 10-27-2009 05:30 AM
V4 optimal template - convert movies with great quality? bigggt Video Encoding and Conversion 2 07-27-2004 11:44 AM
kvcd: which template for very long movies? (lord of the rings, etc) Razorblade2000 Video Encoding and Conversion 9 03-11-2003 09:53 AM
possible to have a multi angle function in a svcd? andybno1 Video Encoding and Conversion 0 12-19-2002 05:50 PM
KVCD: Best template for internet movies? odd Video Encoding and Conversion 3 11-16-2002 02:34 PM

Thread Tools



 
All times are GMT -5. The time now is 08:26 AM  —  vBulletin © Jelsoft Enterprises Ltd