digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Encoding and Conversion (http://www.digitalfaq.com/archives/encode/)
-   -   Finally optimized MainConcept Encoder for kvcd! (http://www.digitalfaq.com/archives/encode/6256-finally-optimized-mainconcept.html)

ak47 10-22-2003 02:04 PM

Finally optimized MainConcept Encoder for kvcd!
 
I did a lot of messing around with Main Concept Encoder Version 1.4 and found out (in my eyes) that the quality/compression is better than TMPGEnc 2.52 with mpeg-2. I think TMPGEnc is more designed more for Mpeg-1. Since my DVD-player only supports kvcd only at 29.97 fps, I have to use mpeg-2 to get good quality out of it. Back to MCE I did these two things at once to fix my problems so it could only be one that fixed the problem, but I haven’t had a problem with either of them, first is to replace the dll files with more optimized ones, the link for the dll’s are at the bottom of this page and information on it, http://forum.mainconcept.com/viewtopic.php?t=892. Second is to follow the instructions on this page http://www.dvdrhelp.com/forum/archive/t178276.html. And finally I found a way to copy the kvcd mpeg-2 x3 v2.0 script. First you must open MCE, open an input file, then click on mpeg type and go to SVCD, save the project without messing with it (options, save settings profile as). Then do the same with an mpeg-2 mpeg type, but save it as something you will remember like kvcd mpeg-2. Then go to documents and settings, *user name*, Application data (make sure you can read hidden folder), MCMPEGEnc, then open the file that you save as the mpeg-2 type. I am using windows XP so its most likely going to be stored differently in 98 so if you can’t find the file use search and type the name you stored it as with a .mef at the end.

Code:

[MAIN]
StreamType=1
MpegType=2
VideoMode=0
AudioMode=2
Width=544
Height=480
DestStartX=0
DestStartY=0
DestWidth=544
DestHeight=480
SrcStartX=0
SrcStartY=0
SrcWidth=544
SrcHeight=480
FlipVertical=0
SampleRate=44100
LineFiltering=0
Deinterlacing=0
Passes=1
ID=mep-profile
Name=kvcd mpeg2
[WaveAudio]
Channels=2048
Bits=758
[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=128
ipFrameDistance=2
bitrateFlag=0
mquantValue=4
constBitrate=6000000
maxBitrate=3000000
avgBitrate=0
minBitrate=0
timeCode0=0
dropFrameTC=0
constrParms=0
closedGOPs=18
[audio]
audioLayer=0
audioMode=0
deEmphasis=0
audioBitrate=4864
privateBit=0
copyrightBit=1342182150
originalBit=0
errorProtection=134222577
psychModel=0
[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=2
vbvBufferSize=56
forceVBVDelay=1
displayHorizontalSize=544
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=0
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=4
forwVertFCodeP=4
forwHorzSearchP=40
forwVertSearchP=34
forwHorzFCodeB1=3
forwVertFCodeB1=3
forwHorzSearchB1=20
forwVertSearchB1=17
backHorzFCodeB1=3
backVertFCodeB1=3
backHorzSearchB1=20
backVertSearchB1=17
forwHorzFCodeB2=4
forwVertFCodeB2=4
forwHorzSearchB2=40
forwVertSearchB2=34
backHorzFCodeB2=3
backVertFCodeB2=3
backHorzSearchB2=20
backVertSearchB2=17
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

P.S. The main thing that is different is 2 things which I change for my settings were the GOP and the resolution, which you can change back. Also you can try 2 pass it’s double the time and a tiny bit better.
P.S.S. I also need an expert’s opinion on this.

ak47 10-24-2003 05:19 PM

Anyone tried this yet?
I have been testing it out, got amazing results, but it has little options when makeing the right file size.

Zyphon 10-24-2003 06:14 PM

I only use TMPGEnc at the moment as im still new to this stuff and dont want to cloud my head any further lol.

I would love to know how to fully use CCE that is suppose to be pretty fast encoder. :)

ak47 10-24-2003 06:34 PM

This might help you Zyphon
http://www.kvcd.net/forum/viewtopic.php?t=5352

Zyphon 10-24-2003 06:55 PM

Thanks for the link ak47. :)

Markymoo 10-25-2003 05:06 AM

WOW

Way to Go AK47!

I have got fantastic results ,great quality,speed and small file size.1 pass encoding).

Please try AK47's script YOU WILL NOT BE DISAPPOINTED.

My avs scripts load in a charm now :wink:

Filesizes are very similar to tmpgenc, avisynth,filters(more compression) etc. Speed is big improvement, alot less cpu resources than TmpgEnc.
You have to use a very low figure CQ the lower the CQ the better the quality. 5 or lower. To use set Average Bitrate to 0 then CQ u can alter.Alot has been done using average bitrate setting and not much of the CQ feature. I realised to set the Rate Control Mode to Fast otherwise dropped Frames which is not on by default but will be set in the template. AK47's template is for NTSC 29fps.

Below is the same template i have modified to use with PAL and changed it to default 704x576. All thanks to AK47's template :D


Use this Pal Formula if your not using avisynth in Crop & Scale.

height = ((720 / Pixels_X) x Pixels_Y) / (54 / 59)

for NTSC use this:
height = ((720 / Pixels_X) x Pixels_Y) / (11 / 10)


PAL


[MAIN]
StreamType=1
MpegType=2
VideoMode=1
AudioMode=2
Width=704
Height=576
DestStartX=0
DestStartY=0
DestWidth=704
DestHeight=576
SrcStartX=0
SrcStartY=0
SrcWidth=704
SrcHeight=576
FlipVertical=0
SampleRate=44100
LineFiltering=0
Deinterlacing=0
Passes=1
ID=mep-profile
Name=KVCDX3
[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=3
iFramesInGOP=90
ipFrameDistance=3
bitrateFlag=0
mquantValue=4
constBitrate=6000000
maxBitrate=3000000
avgBitrate=0
minBitrate=0
timeCode0=0
dropFrameTC=0
constrParms=0
closedGOPs=15
[audio]
audioLayer=0
audioMode=0
deEmphasis=0
audioBitrate=0
privateBit=0
copyrightBit=0
originalBit=0
errorProtection=0
psychModel=0
[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=5
transferCharacteristics=5
matrixCoefficients=5
videoFormat=1
intraDCPrec=1
vbvBufferSize=0
forceVBVDelay=1
displayHorizontalSize=704
displayVerticalSize=576
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=4
forwVertFCodeP=4
forwHorzSearchP=50
forwVertSearchP=42
forwHorzFCodeB1=3
forwVertFCodeB1=3
forwHorzSearchB1=25
forwVertSearchB1=21
backHorzFCodeB1=3
backVertFCodeB1=3
backHorzSearchB1=25
backVertSearchB1=21
forwHorzFCodeB2=4
forwVertFCodeB2=4
forwHorzSearchB2=50
forwVertSearchB2=42
backHorzFCodeB2=3
backVertFCodeB2=3
backHorzSearchB2=25
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

fozzieb 10-25-2003 06:53 AM

Does any one have a templete for kvcd - 352x288 (pal)?

ak47 10-25-2003 08:53 AM

Just load the script Markymoo made and change the resolution, also which mpeg layer are you using, because I didn't test mpeg-1 out yet. I can't truly give it a good test since my DVD-player will not play mpeg-1 right.

Zyphon 10-25-2003 10:33 AM

Quote:

Originally Posted by ak47
Just load the script Markymoo made and change the resolution, also which mpeg layer are you using, because I didn't test mpeg-1 out yet. I can't truly give it a good test since my DVD-player will not play mpeg-1 right.

I might give Markymoo's PAL script a go and do some Mpeg-1 tests as this prog sounds impressive especially if its faster than TMPGEncoder, thats the one thing about TMPG that annoyes me is its slow encode speeds. :(

fozzieb 10-25-2003 11:00 AM

I'm using mpeg-1, ill give it a go and see what it does


i'll let you know

fozzieb 10-25-2003 11:10 AM

OK, here is the templete as i have it:

[MAIN]
StreamType=1
MpegType=1
VideoMode=1
AudioMode=2
Width=352
Height=288
DestStartX=0
DestStartY=0
DestWidth=352
DestHeight=288
SrcStartX=0
SrcStartY=0
SrcWidth=352
SrcHeight=288
FlipVertical=0
SampleRate=44100
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=3
iFramesInGOP=128
ipFrameDistance=2
bitrateFlag=0
mquantValue=4
constBitrate=6000000
maxBitrate=3000000
avgBitrate=0
minBitrate=0
timeCode0=0
dropFrameTC=0
constrParms=0
closedGOPs=15
[audio]
audioLayer=0
audioMode=0
deEmphasis=0
audioBitrate=0
privateBit=0
copyrightBit=0
originalBit=0
errorProtection=0
psychModel=0
[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=5
transferCharacteristics=5
matrixCoefficients=5
videoFormat=1
intraDCPrec=1
vbvBufferSize=0
forceVBVDelay=1
displayHorizontalSize=704
displayVerticalSize=576
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=4
forwVertFCodeP=4
forwHorzSearchP=50
forwVertSearchP=42
forwHorzFCodeB1=3
forwVertFCodeB1=3
forwHorzSearchB1=25
forwVertSearchB1=21
backHorzFCodeB1=3
backVertFCodeB1=3
backHorzSearchB1=25
backVertSearchB1=21
forwHorzFCodeB2=4
forwVertFCodeB2=4
forwHorzSearchB2=50
forwVertSearchB2=42
backHorzFCodeB2=3
backVertFCodeB2=3
backHorzSearchB2=25
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

when ever i choose the templete (named kvcd) in changes to VCD or Mpeg2, Any reason for this?

( noob alert :D )

ak47 10-25-2003 12:16 PM

When you change stuff like CQ rate the mpeg type will go to it original format, but all you stats should stay the same, so when it does this check if the maxtrixes/gop, and so on, are all the same as the template you created, if not tell me were you change or save the templates.

Markymoo 10-25-2003 01:32 PM

Mainconcept loves to change back to its original settings especially when you use a new input so tick "use last profile as default" once you have your new kvcd template setup. If you change any of the settings yes it will revert back to default mpeg2 but keep the kvcd settings which you can then save as a new profile. I have noticed from changing script from ntsc to pal if all settings are not compliant it deletes the profile you have saved. I had a fun time not!. Mainconcept works better at the higher bitrate and there is a limit 1800 bitrate with mpeg-1.

Zyphon 10-25-2003 01:50 PM

Quote:

Originally Posted by Markymoo
Mainconcept loves to change back to its original settings especially when you use a new input so tick "use last profile as default" once you have your new kvcd template setup. If you change any of the settings yes it will revert back to mpeg2. I have noticed from changing script from ntsc to pal if all settings are not compliant it deletes the script. I had a fun time not!. Mainconcept works better at the higher bitrate and there is a limit 1800 bitrate with mpeg-1.

Hi Markymoo i completely understand what you are saying about the quality differences between Mpeg1 and Mpeg2 but the only question i have is will the Mpeg1 results be as good as TMPGEncoder Mpeg1 results?

Thanks.

Markymoo 10-25-2003 02:27 PM

I have compared Mainconcept Mpeg-1 with TmpgEnc and TmpgEnc was superior in the past but not yet tried with this new profile/template.

If you want to use all your kvcd matrice settings with Mpeg-1 you need to edit your newly created profile kvcd.mef file as you cant edit the matrices in the program then replace MpegType from 2 to 0 and also change the line maxBitrate further down for Mpeg-1 compliancy. Any other settings you change then save this as a new profile. You can edit your mef file and reload the new settings back in all the time mainconcept is running reselect the "Mpeg Type" KVCD. Changing VideoMode from 1 to 0 will change it to NTSC. In the Pal template Gop is setup for KDVD 15 or with AK47's Ntsc template set to 18. If you using for KVCD or KVCD make sure you change this to 24 either for pal or ntsc.


[MAIN]
MpegType=0

VideoMode=1

maxBitrate=3000000

closedGOPs=15


Whenever you change the settings you have to create a new profile so you might end up with quite a few profiles till you get the one your happy with. If all is working right you should have the "quantinization kvcd matrices" ticked and loaded every time in your new kvcd profile.

Markymoo 10-25-2003 02:39 PM

I quoted you have to have max bitrate of 1800 with mpeg-1 strictly not true. I'm referring to the smaller templates and what works more in a DVD box. Players can't handle a high bitrate with Mpeg-1.

Zyphon 10-25-2003 04:17 PM

Thanks for the info Markymoo :)

Markymoo 10-25-2003 04:55 PM

I have just used a CQ of 1 and very pleased with results seems similar to CQ of 90 in TmpgEnc.

2.8ghz 512 ddr400,533bus

100m film takes approx 100m encoding

filesize 1.57gig

CQ of 4 was 640mb

I think i use a CQ of 2-3 that way i can just fit 4 kdvd on 1 dvd maintaining quality :P

Markymoo 10-25-2003 05:26 PM

I just like to know AK47 if you experimented alot with the I Frames 128 and PFrames of 2 and how you came up with those figures. Are these the optimum figures. In TmpgEnc its 1 IFrame/Gop.

Zyphon 10-25-2003 05:37 PM

Quote:

Originally Posted by Markymoo
I have just used a CQ of 1 and very pleased with results seems similar to CQ of 90 in TmpgEnc.

2.8ghz 512 ddr400,533bus

100m film takes approx 100m encoding

filesize 1.57gig

CQ of 4 was 640mb

I think i use a CQ of 2-3 that way i can just fit 4 kdvd on 1 dvd maintaining quality :P

Wow sounds impressive. :) :wink:

ak47 10-25-2003 06:49 PM

With the I frames and P Frames I just tried to get it as close to kwags template, but MCE doesn't go up to 5823 P frames. In MCE its either a miss code or something that they changed for a reason, that the P frames are I frames and there is no B frames option, but replaced with P, and there must be a fixed setting for the I frames, I think. I am not good at explaining this stuff so be free to be confused :wink: . I did find an error in my template you should use 3 for P frames and 126 for I frames it is closer looking in the structure example picture in the kvcd template on TMPGenc in the MCE's.

kwag 10-25-2003 08:43 PM

Quote:

Originally Posted by ak47
With the I frames and P Frames I just tried to get it as close to kwags template, but MCE doesn't go up to 5823 P frames.

Don't do that with MCE :!:
"5823" is KVCD's signature ( Look at your telephone key pad ;) )
In TMPEG, the MAX number of frames per GOP is set by the field: "MAX Number of frames in GOP". So the 5823 is truncated.
Use a MAX number of 24 frames for NTSC ( or 25 for PAL ).

-kwag

Markymoo 10-25-2003 09:07 PM

Now im thinking is MainConcept P Frames not relevent as Tmpgenc P Frames and only by the GOP?

CrashUK 10-26-2003 07:26 AM

I find the Main Concept Encoder gives very poor quality. Lots of mircoblocks

ak47 10-26-2003 08:54 AM

CrashUK can I have more information, like what template or settings you are using, what version of MCE are you using, and are you using a frameserver (like avisyth) and if so then what is your script.

Markymoo 10-26-2003 08:55 AM

So you know changing I Frames to 128 and P Frames to 3 wont make any difference because you know now the example structure is make believe because 5823 alters example structure and gets truncated. So set them both back to 1 & 1. By doing this you can set Rate Control Mode to Mode 1 and no skipped frames, so main reason you get quality is to do with the high bitrate and low cq. I have set motion search mode to 15, which take alot longer in TmpgEnc but we have speed here.

ak47 10-26-2003 09:16 AM

Then whats the point of having B, I, and P frames. Sorry, but I am confused, a can someone explain or give a link.

Markymoo 10-26-2003 10:03 AM

Ok i've now established keeping I Frames High and P Frames low gives the most compression smaller filesize without any difference in quality.

So your original size of 126 and 3 were good settings but are improved below, sorry disregard what i was saying about keeping it 1 & 1.

I have found 126 I Frames and 1 P Frames gives the most compression now.

ak47 10-26-2003 10:12 AM

But with that you get no B frames. I remember try that method but didn't play correctly.

Markymoo 10-26-2003 10:21 AM

Yes there is no B Frames. Kwag did 5823 in P Frames and only the last number is used in 5823 which is 3 so looks you had the right idea all along. So i keep it at 3 after all that lol

I did a Mpeg-1 and Mpeg-2 compare and very hard to tell the difference.

Always Learning

Markymoo 10-28-2003 12:28 AM

With I Frames of 126 it is not dvd compliant. Even with gop of 15 and 18 You can create vobs but wont playback in dvd. Some dvd authoring software check for exact dvd compliancy, so this fails in dvd-lab with gop size memory error. Maybe you got this to work with ntsc 29 but not with pal. The MainConcept B Frames internal default setting is 2 recommended and can't change this but you can with the maninconcept plugin.

Yes B Frames make it DVD compliant

IBBP is better than IBBBP as far as quality, but not compression wise

kwag 10-28-2003 06:18 AM

Quote:

Originally Posted by Markymoo
Yes there is no B Frames. Kwag did 5823 in P Frames and only the last number is used in 5823 which is 3 so looks you had the right idea all along.

No. That's not the way it works :!:
5823 get "cut off" by the field "MAX Number of frames in a GOP" which is normally set to 24 in all templates.
That means that there can be no more than 24 total frames per GOP.
So the usuall structure will be: IBBPBBPBBPBBPBBPBBPBBPBB > NEXT GOP.

-kwag

Markymoo 10-28-2003 11:16 AM

Yes i understand that, i went off on a tangent trying so many settings i lost the plot for awhile.

Markymoo 10-28-2003 08:36 PM

Ak47 settings will work not work on KDVD and closed gop is 18 which isnt needed , i think you got confused with maximum gop settings in TmpgEnc.

ak47 10-29-2003 06:14 PM

http://forum.mainconcept.com/viewtopic.php?t=1022
All I can say is LOL. All he need to do is copy and past this link, and site his improved methods.

Zyphon 10-29-2003 07:24 PM

Quote:

Originally Posted by ak47
http://forum.mainconcept.com/viewtopic.php?t=1022
All I can say is LOL. All he need to do is copy and past this link, and site his improved methods.

Thanks for the link ak47 a very interesting read i will try that method out. :)

ak47 10-29-2003 08:53 PM

Well if you check out all the previous posts on this forum or thread(whatever you call it) you will see that he copy and pasted what I created and added a few improvement/details.

Funky Hell 10-30-2003 12:45 AM

Yes it is i Renaissance from MainConcept.

My modified script http://forum.mainconcept.com/viewtopic.php?t=1022 with thanks from ak47.

Yes your script started the ball rolling again for me with Mainconcept as i had lost faith in it and went back to TmpgEnc. Sure i took your script and improved corrected it. The main changes of this script being Gop settings. I Frames is equal to Maximum Gop which has to be 15, 18 (sony standard) kdvd or 24 for kvcd to play. Your setting was way over of 126 that is disaster. Will not play/author. Too much compression. Nice Try.

Course were all here to help each other and look for improvements and publish them thats how knowledge grows. If you do a search on this forum alone you see the same information duplicated many times because people ask the same questions again and again without searching the forums for the answer. I'm not ripping anything off that wasn't the intention. I just put my results down being abit more wiser about MainConcept from your experiences and my past exp. Its been well known Mpeg-2 has been good with high bitrate but questionable with low for ages. People like to tweak all the time thats half the fun. Yours is fine for KVCD and great work and time you have done but mines more for KVCD on DVD. I spent time experienting i thought i pass on my knowledge to others. Some of this is just common sense and not taking anything away from you. Looking around i also saw results about the update capture and disable directshow on http://www.dvdrhelp.com/forum/viewforum.php?f=14 The advanced conversion forum.

I thought i wrote a very easy explanation more broken down on what to do. I didnt copy and paste just because you see about getting the same update fix in mine. Some of this stuff is well known already in the last 2 months. Sure your posts gave me good results,thanks. I just simplified it further and made it easier for people to try so we all get more results and people thinking. All im trying to do is improve whats been done before. Thanks to people like you and me. I'm not hiding from it.


Quote:

At fifty, everyone has the face he deserves

Zyphon 10-30-2003 07:29 AM

Thanks for fine tuning ak47's excellent script I for one appreciate you treaking it for improved quality. :)

Thanks for helping us further with MCE. ;)

PS: I do think you could have put a note on the bottom of your post though to acknowledge that the intial method was done by ak47 and that you were imroving on it. :)

ak47 10-30-2003 12:25 PM

Quote:

Sure i took your script and improved corrected it.
I didn't care that you took it, but now since you quoted me for my work, and improved it now I thank you.

Quote:

I Frames is equal to Maximum Gop which has to be 15, 18 (sony standard) kdvd or 24 for kvcd to play. Your setting was way over of 126 that is disaster.
I did my encode and i was able to play it on my dvd-player and my computer. I can set it to 30000 if i wanted to, but like kwag said it cuts off with the max Gop. I don't think it does matter how much you set it to it just matters what the max Gop is set for the frame.
Quote:

I thought i wrote a very easy explanation more broken down on what to do.
Thanx, ya mine is explain, but on many threads and spread out detail, and harder to read, yes my grammer is not the best :( .


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

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.