Log in

View Full Version : Help with avs scrips for uk tv pdtv caps


Ricey
19th May 2008, 18:58
Hey all,
Just looking for a few pointers on how to better my scripts for encoding my caps in pdtv from uk tv to xvid.

This would be a example script i would use now.

SetMTMode(3,2)
LoadPlugin("E:\Program Files\AviSynth 2.5\plugins\Decomb.dll")
LoadPlugin("E:\Program Files\AviSynth 2.5\plugins\LeakKernelDeint.dll")
[SOURCE]
SetMTMode(3,2)
LeakKernelDeint(order=1,sharp=true)
crop(12,4,702,566)
Spline16Resize(640,272) # Spline16 (Neutral)

Can anyone help me on improving my scrips and anything at all that would help me get better results.
Im looking for speed but with good pq results too. Any help would be great and thanks k :)

Thanks, I hope someone can help me out.

ankurs
19th May 2008, 19:16
a bit of sharpening , denoising and color correction won't do any harm will it :p ! search ylevels , limitedsharpen , msharpen , seesaw , asharp , fft3dfilter and removenoiseMC on the forum and you get lots of goodies to help you out on the overall Q of your capture and rips , also much cannot be said about the Q enhancement until or unless we are able to see a sample or screens of the capture as well !

Ricey
19th May 2008, 19:34
a bit of sharpening , denoising and color correction won't do any harm will it :p ! search ylevels , limitedsharpen , msharpen , seesaw , asharp , fft3dfilter and removenoiseMC on the forum and you get lots of goodies to help you out on the overall Q of your capture and rips , also much cannot be said about the Q enhancement until or unless we are able to see a sample or screens of the capture as well !


Cheers bro il have a look at them, il try get a .ts sample up later
and see what people would use for it.

ChrisW77
19th May 2008, 19:34
One major problem I've found on UK pdtv caps is this,

A sort of pixel shimmering, or pixel noise, in the background.
Most evident in detailed scenes, for example.
A fixed camera, with a person talking to the camera, and a background of grass, flowers, hills, trees, etc.. If you blow up the video x2, you can clearly see this shimmering. Lots of moving pixels, a lot more evident on a LCD screen, but very hard to get rid of.
I'm not sure pdtv caps need much sharpening, just a bit of light noise removal, and sometimes a bit of de-blocking.
I got rid of the shimmering by using mc_spuds with a strong setting, but it killed way too much foreground detail.

Just to add,
A good example may be a short sample of tonight's Chelsea Flower show on BBC2. This will definitely contain a lot of background detail, and this shimmering I'm on about.

Ricey
19th May 2008, 19:38
what would ye add to the above script or even remove?

Im by no means a expert lol but i want to learn and get better as i go along.
So im always open to trying new things.

ankurs
19th May 2008, 19:40
One major problem I've found on UK pdtv caps is this,

A sort of pixel shimmering, or pixel noise, in the background.
Most evident in detailed scenes, for example.
A fixed camera, with a person talking to the camera, and a background of grass, flowers, hills, trees, etc.. If you blow up the video x2, you can clearly see this shimmering. Lots of moving pixels, a lot more evident on a LCD screen, but very hard to get rid of.
I'm not sure pdtv caps need much sharpening, just a bit of light noise removal, and sometimes a bit of de-blocking.
I got rid of the shimmering by using mc_spuds with a strong setting, but it killed way too much foreground detail.

Just to add,
A good example may be a short sample of tonight's Chelsea Flower show on BBC2. This will definitely contain a lot of background detail, and this shimmering I'm on about.

again nothing 'much' can be said/assumed without a sample .. also fft3d and removenoiseMC or temporal degrain might do the trick ? heck load of possiblities to fix the problems but soo many ways , i'm a n00b as well trying to learn the tricks of the trade :p

also for jittering defreq() or dejitter() might do the job ? again let an expert answer this :rolleyes:

Ricey
19th May 2008, 19:42
well its not that i have problems as such, im just looking at ways to improve my encodes.

SetMTMode(3,2)
LoadPlugin("E:\Program Files\AviSynth 2.5\plugins\Decomb.dll")
LoadPlugin("E:\Program Files\AviSynth 2.5\plugins\LeakKernelDeint.dll")
LoadPlugin("E:\Documents and Settings\RiCEY\My Documents\+APPS\dgmpgdec150rc5\DGDecode.dll")
LoadPlugin("E:\PROGRA~1\GORDIA~1\AviSynthPlugins\UnDot.dll")
LoadPlugin("E:\PROGRA~1\GORDIA~1\AviSynthPlugins\FluxSmooth.dll")
mpeg2source("E:\Documents and Settings\RiCEY\Desktop")
SetMTMode(3,2)
LeakKernelDeint(order=1,sharp=true)
crop(10,4,524,568)
Lanczos4Resize(576,320)
Undot()
FluxSmoothST(7,7)

That is a script i have just used going to see what results i get from it.

ChrisW77
19th May 2008, 19:44
My pdtv scripts, aren't really that great, so I'll wait to see what the experts say. But, I use this script for some slightly noisy caps.


DeGrainMedian(mode=4,interlaced=false)
RemoveGrain(mode=2)
LimitedSharpenFaster(Smode=4, strength=80)

FFT3dGPU(sigma=1.5, bt=3, bw=32, bh=32, ow=16, oh=16, precision=2, sharpen=0.5)

Crop(4,4,-4,-4,align=true)
Spline36Resize(704,400)
Tweak(sat=1.2,cont=1.1,bright=1.1)

That looks quite good, in my eyes. Although, I'm sure it can be much better. :) It's also fast, on my CPU + GPU.

xbox360
20th May 2008, 01:29
Try dfttest (http://forum.doom9.org/showthread.php?t=132194) for noisy caps, link here

Ricey
15th June 2008, 15:19
Hey all. Im still messing about wiht diff scripts and all that but im still no happy with my final results in xvid.
Im capping from a pure digital source pdtv. il add a clip and if anyone could tell me what kind of script or
xvid settings i could use to improve my caps would be great, thanks.

Link to test ts file http://rapidshare.com/files/122622025/test.ts.html