Quantcast My First KVCD, Have a Look! - digitalFAQ.com Forums [Archives]
  #1  
03-10-2012, 08:05 PM
hansolh960 hansolh960 is offline
Free Member
 
Join Date: Jan 2011
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
take alook at my first kvcd
the source is KVCDx3- 480x576 MPEG-1-PAL
MPEG-1 480x576 25fps CQ 60
here are the links

https://rapidshare.com/files/2719456998/k-pax.mpg
https://rapidshare.com/files/4114329105/new_moon.mpg
https://rapidshare.com/files/2894907607/matrix.mpg

what you think of the quality
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  
03-10-2012, 08:43 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Not bad but can be a lot better.

1/ what is the final size ? Do you have to use CQ60 for all or was it only for the test ? Did you try CQMatic ?

2/ What encoder did you use ? TMPGenc probably. You may give a try to HCenc and encode in MPEG2 instead of MPEG1, the result may be better (don't use TMPGEnc for MPEG2, it is less efficient on low bitrate than in MPEG1)

3/ what is your source ? DVD ? Did you use avisynth ? What script ?
Reply With Quote
  #3  
03-11-2012, 05:15 AM
hansolh960 hansolh960 is offline
Free Member
 
Join Date: Jan 2011
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
The final size is 1 cdr for all the films they are full encoded

Matrix cq 55
New Moon cq 67
K-pax cq 63


1/ i did it with the Manual File size Prediction

2/ TMPGenc 2.524.63.181

3/ the source is DVD

the script is

# -= AviSynth v2.5.4.0 script by Fit2Disc v1.2.8 =-

Mpeg2Source("C:\kvcd\K-Pax\k-Pax.d2v")
LoadPlugin("C:\Program Files (x86)\MovieStacker\Filters\aSharp.dll")
#LoadPlugin("C:\Programme\MovieStacker\Filters\aSh arp.dll")


Limiter()
LanczosResize(448,304,0,71,720,434)
AddBorders(16,128,16,144)
#Trim(0,185941).FadeOut(150)
aSharp (1, 8
Limiter()

## Linear Motion Adaptive Filtering ##
ScriptClip("nf = YDifferenceToNext()" + chr(13) + " \
UnFilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ). \
TemporalSoften( fmin(round(2/nf),6), round(1/nf), round(3/nf), 1, 1) ")

#AddBorders(0, 65, 0, 65)
## Functions ##
function fmin(int a, int b) {return (a < b) ? a : b}
## Functions ###

function fmin( int f1, int f2) {
return ( f1<f2 ) ? f1 : f2

}

#Sampler(length=24)
## MPEG size = ((Total frames/MovieTimeInMinutes)/24) * MPEG sample file size ##
Reply With Quote
  #4  
03-11-2012, 08:16 AM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
Ok your CQ values explain what I've felt looking at your samples: new moon is ok, kpax should be better (I did not look Matrix).

Actually, I did not use Tmpgenc since years, but for what I remember, I always targeted a CQ of 70 (or upper). Between 65-70 its good, under this I find the result too bad for my eyes.

This is the template of the script I used when I did KVCD:
Code:
DGDecode_Mpeg2Source("PATH\NAME.d2v",cpu=4,idct=7)
ColorMatrix(d2v="PATH\NAME.d2v")

#TDeint(tryweave=true)
#FieldDeinterlace(blend=false)
#LeakKernelDeint(order=1)

LanczosResize(...)

LimitedSharpenFaster()
LRemoveDust_YV12(17,1)

#MergeLuma(Blur(0.2))
#MergeChroma(Blur(1))

ScriptClip(" nf = YDifferenceToNext()" +chr(13)+ "unfilter( -(fmin(round(nf)*2, 100)), -(fmin(round(nf)*2, 100)) ).TemporalSoften( fmin( round(2/nf), 6), round(1/nf) , round(3/nf) , 1, 1)  ")

Addborders(...)
The 3rd commented lines are if the source is interlaced (not your case here)
The 2 "Merge..." lines are only if the CQ is still too low withtout them. I uncomment first the Chroma , then the Luma if it is not enought.

You can find all my filters here: http://www.kvcd.net/downloads/Avisynth_All_Plugins.rar


Note: why are you adding uneven borders ? 128/144 ?
Reply With Quote
  #5  
08-22-2012, 12:39 PM
hansolh960 hansolh960 is offline
Free Member
 
Join Date: Jan 2011
Posts: 7
Thanks: 1
Thanked 0 Times in 0 Posts
thanks for you script Dialhot the script rocks

the new films were endocet with your script Dialhot

the cq is 70 and the resolution is 704x576 / 480x576 with quantize matrix kvcd-3 the film is on one cd-r

i'm trying to convert the film sunshine,the quality is for my eyes excellent but
in dark areas the film is not watchable

how can i eliminate all the blocks in dark areas from my film can anybody help me.
i uploaded a few sample can you or someone have a look at it.

https://rapidshare.com/files/1177372...20original.mpg -----sun cut original
https://rapidshare.com/files/1607350...%20704x576.mpg -------sun cut 704x576 cq70
https://rapidshare.com/files/2719721...%20480x576.mpg ---sun cut 480x576 cq70
https://rapidshare.com/files/6610341...576%20cq70.mpg ------cut sample quality 480x576 cq70

thanks
Reply With Quote
  #6  
08-22-2012, 02:40 PM
Dialhot Dialhot is offline
Free Member
 
Join Date: May 2003
Posts: 10,463
Thanks: 0
Thanked 0 Times in 0 Posts
To avoid blocks in dark area you must add noise.

First remove the line LRemoveDust, and if it is not enough, replace it by this line:
Code:
Blockbuster(method="noise",detail_min=1,detail_max=10,variance=0.3,seed=5623)
Of course this will ask for reducing the CQ.
Reply With Quote
Reply




Thread Tools



 
All times are GMT -5. The time now is 06:02 PM  —  vBulletin Jelsoft Enterprises Ltd