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] P.S.S. I also need an expert’s opinion on this. |
Anyone tried this yet?
I have been testing it out, got amazing results, but it has little options when makeing the right file size. |
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. :) |
This might help you Zyphon
http://www.kvcd.net/forum/viewtopic.php?t=5352 |
Thanks for the link ak47. :)
|
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 |
Does any one have a templete for kvcd - 352x288 (pal)?
|
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.
|
Quote:
|
I'm using mpeg-1, ill give it a go and see what it does
i'll let you know |
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 ) |
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.
|
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.
|
Quote:
Thanks. |
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. |
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.
|
Thanks for the info 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 |
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.
|
Quote:
|
Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.