halsboss
25th January 2007, 06:04
Greetings. Seeking improved script to denoise and brighten this noisy and generally dim clip. Source is odd - an xvid PAL 4x3 768x576(?) 25fps 4Mb.
http://rapidshare.com/files/13266299/source07.avi.html
image snipped
Final Target is DVD. Have this script so far (hopefully avoiding TV overscan too).
AviSource("D:\Source\NiceSource\source07.avi", audio=false)
AssumeFPS(25)
ConvertToYUY2(interlaced=FALSE)
Convolution3D(0, 6, 10, 6, 8, 2.8, 0)
Pixiedust(limit=5,output="YUY2")
bx = 4*8
by = 3*8
rx = 720 - (2 * bx)
ry = 576 - (2 * by)
LimitedSharpenFaster(smode=4, dest_x=rx, dest_y=ry)
Addborders(bx,by,bx,by)
Converttoyv12()
HDRAGC(coef_gain=0.7, max_gain=1.05, max_sat=6)
#comment out the above line and uncomment the ones below for boxed comparison 720x576
#L1 = last
#L2 = L1.HDRAGC(coef_gain=0.7, max_gain=1.05, max_sat=6)
#TL3=L1.Crop(0, 0, -360, -288, true)
#TR3=L2.Crop(360, 0, -0, -288, true)
#BL3=L2.Crop(0, 288, -360, -0, true)
#BR3=L1.Crop(360, 288, -0, -0, true)
#L3 = StackVertical(StackHorizontal(TL3,TR3), StackHorizontal(BL3,BR3)).ScriptClip("""subtitle("HDRAGC after coef_gain=0.7, max_gain=1.05, max_sat=5 " + string(current_frame) ,size=20,x=25,y=35)""")
#L4 = L1.ScriptClip("""subtitle("cleaned " + string(current_frame) ,size=20,x=25,y=35)""")
#L5 = L2.ScriptClip("""subtitle("HDRAGC after coef_gain=0.7, max_gain=1.05, max_sat=5 " + string(current_frame) ,size=20,x=25,y=35)""")
#return L3 ++ L4 ++ L5
Hope that the script/result can be improved. Test result 6.2Mb 720x576 xvid http://rapidshare.com/files/13266914/source07-result.avi.html.
Any suggestions ?
http://rapidshare.com/files/13266299/source07.avi.html
image snipped
Final Target is DVD. Have this script so far (hopefully avoiding TV overscan too).
AviSource("D:\Source\NiceSource\source07.avi", audio=false)
AssumeFPS(25)
ConvertToYUY2(interlaced=FALSE)
Convolution3D(0, 6, 10, 6, 8, 2.8, 0)
Pixiedust(limit=5,output="YUY2")
bx = 4*8
by = 3*8
rx = 720 - (2 * bx)
ry = 576 - (2 * by)
LimitedSharpenFaster(smode=4, dest_x=rx, dest_y=ry)
Addborders(bx,by,bx,by)
Converttoyv12()
HDRAGC(coef_gain=0.7, max_gain=1.05, max_sat=6)
#comment out the above line and uncomment the ones below for boxed comparison 720x576
#L1 = last
#L2 = L1.HDRAGC(coef_gain=0.7, max_gain=1.05, max_sat=6)
#TL3=L1.Crop(0, 0, -360, -288, true)
#TR3=L2.Crop(360, 0, -0, -288, true)
#BL3=L2.Crop(0, 288, -360, -0, true)
#BR3=L1.Crop(360, 288, -0, -0, true)
#L3 = StackVertical(StackHorizontal(TL3,TR3), StackHorizontal(BL3,BR3)).ScriptClip("""subtitle("HDRAGC after coef_gain=0.7, max_gain=1.05, max_sat=5 " + string(current_frame) ,size=20,x=25,y=35)""")
#L4 = L1.ScriptClip("""subtitle("cleaned " + string(current_frame) ,size=20,x=25,y=35)""")
#L5 = L2.ScriptClip("""subtitle("HDRAGC after coef_gain=0.7, max_gain=1.05, max_sat=5 " + string(current_frame) ,size=20,x=25,y=35)""")
#return L3 ++ L4 ++ L5
Hope that the script/result can be improved. Test result 6.2Mb 720x576 xvid http://rapidshare.com/files/13266914/source07-result.avi.html.
Any suggestions ?