Quantcast Avisynth: Flux Smoothing + TV Captures + KVCDx3 - digitalFAQ.com Forums [Archives]
  #1  
11-26-2002, 05:07 PM
jamesp jamesp is offline
Free Member
 
Join Date: Jul 2002
Location: Chelmsford, UK
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
I've been playing around for sometime with the KVCDx3 templates with awesome results from my DVD rips! For these conversions i usually use a temporalsmoother(2,1) just in a hope to increase compression a little.

However, my TV captures (Wintv Go with analogue source using composite in) are proving a little more tricky and I just wanted to ask some questions about how best to apply the filters. I am capturing at 544x576 25fps PAL using huffyuv with AVI_IO and the btwincap drivers. The source seems fairly clean although the usual analgue noise is there. I found that these captures need a far higher bit rate to look good using about 30 mins per Cd. I've been using Fluxsmooth (15,15) and whilst the source now seems nice and clean - occasionaly, usually on peoples faces during motion, a funny strobing artifact is there. My main question therfore, is this due to the filter because i've not de-interlaced my source. Do the filters not work as well with the interlaced tv captures. If so - what deinterlacer should i use - i've tried bob() but it converts my source to 50fps. An example script i would use is:

########

AviSource("D:\Captures\capture_2.00.avi")
ConvertToYUY2()
LegalClip()
FluxSmooth(temporal_threshold=15, spatial_threshold=15)
temporalsmoother(2,1)
LegalClip()

##############

Thanks for some great templates!
Jim
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  
11-26-2002, 05:49 PM
SansGrip SansGrip is offline
Free Member
 
Join Date: Nov 2002
Location: Ontario, Canada
Posts: 1,135
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by jamesp
My main question therfore, is this due to the filter because i've not de-interlaced my source. Do the filters not work as well with the interlaced tv captures.
I've never tried it, but I imagine you'll get strange (and certainly suboptimal) results if you use FluxSmooth on interlaced material. This holds true for almost all smoothing filters.

Quote:
Originally Posted by jamesp
If so - what deinterlacer should i use - i've tried bob() but it converts my source to 50fps.
Check out the Decomb plugin by Donald Graft. If your material is pure interlaced (i.e. not telecined or hybrid) you can just use the line

FieldDeinterlace()

after AviSource. This will deinterlace while retaining your existing frame rate.
Reply With Quote
  #3  
11-27-2002, 04:20 AM
Boulder Boulder is offline
Free Member
 
Join Date: Sep 2002
Location: Lahti, Finland
Posts: 1,652
Thanks: 0
Thanked 0 Times in 0 Posts
I use TomsMoComp for my captures. There's less visible jagged edges than with FieldDeinterlace or GreedyHMA. The only thing is you'll need to find out if your capture is bottom field or top field first. Mine is bottom field first (the most usual one) so the parms I use are simply (0,0,1).
Reply With Quote
  #4  
11-27-2002, 10:09 AM
snowmoon snowmoon is offline
Free Member
 
Join Date: Nov 2002
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to snowmoon Send a message via AIM to snowmoon
I use many filters on interlaced materal.... here is an example of how it works. It's really quite simple to fix the problem by taking interlacing to your advantatge. This is what I use for hybrid or interlaced clips to perserve interlacing and apply a good de-noise. If the source was over 95% telecine I would use decomb and this would not be a problem.


SeparateFields()

even = SelectEven().FluxSmooth().PeachSmoother(NoiseReduc tion = 35, Stability = 20, Spatial = 120)
odd = SelectOdd().FluxSmooth().PeachSmoother(NoiseReduct ion = 35, Stability = 20, Spatial = 120)

Interleave(even,odd).Weave()
Reply With Quote
  #5  
11-27-2002, 11:53 AM
caish5 caish5 is offline
Free Member
 
Join Date: Nov 2002
Location: Brisbane .AU
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to caish5
hey Snowmoon

I tried your little bit of script but Avisynth gives an error at the start of the line that says..... even =

saying it expects a ( or a ,

What am I doing wrong?

Thanks
Reply With Quote
  #6  
11-27-2002, 02:23 PM
jamesp jamesp is offline
Free Member
 
Join Date: Jul 2002
Location: Chelmsford, UK
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Many thanks - i'm going to try the SeperateFields option tonight!

One question, how doe one PeachSmooth?

Jim
Reply With Quote
  #7  
11-27-2002, 02:36 PM
snowmoon snowmoon is offline
Free Member
 
Join Date: Nov 2002
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to snowmoon Send a message via AIM to snowmoon
caish5: Dunno, check the spelling of the commands.

PeachSmoother can be found here... I found it works great on TV captures for stabilizing the picute. Flux or peach by themselves has disadvantages, but together it's quite amazing the noise they can remove without damaging the picture.

http://forum.doom9.org/showthread.php?s=&threadid=36575

NoMoSmooth is a similar idea, but peach appears to be faster and has a good locking algo.


COOL.... while I was writing this I see that ViewFields was ported to avisynth giving up another option..

ViewFields()

FluxSmooth()
PeachSmoother(..)

UnViewFields()

Much simpler. http://www.geocities.com/siwalters_uk/viewfields.html
Reply With Quote
  #8  
11-27-2002, 03:14 PM
jamesp jamesp is offline
Free Member
 
Join Date: Jul 2002
Location: Chelmsford, UK
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
Cool - will try peach smoother later!

There doesn't appear to be an unViewFields function - never mind.
Reply With Quote
  #9  
11-28-2002, 07:36 AM
jamesp jamesp is offline
Free Member
 
Join Date: Jul 2002
Location: Chelmsford, UK
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
HEH HEH! Peach Smoother is excellent - really recommend it with seperating the fields - cuts down some jerkyness i was noticing :P

However, my strange strobing effect is still there but i now don't think its related to interlacing. I think its to do with colour and brightness as it only occurs with bright areas on the screen. I have set the brightness and contrast of my capture card fairly low and when viewing the captures on my monitor they are quite dark (these done using huffyuv using yuv). However, the encodes are considerably brighter on my TV with faces being very very bright. Am i doing something wrong - does TMpegenc not like the yuv source? Is there an avisynth script to stop the capture exceeding a colour range?

Cheers,

Jim
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: A good script for captures? the viking Avisynth Scripting 52 10-25-2004 02:40 PM
Avisynth: STMedianFilter in the Latest Scripts For VHS and captures? dongxu Avisynth Scripting 3 02-26-2004 09:51 AM
Avisynth: New smoother promises to beat Flux & C3D! SansGrip Avisynth Scripting 3 01-14-2003 06:54 PM
Avisynth: Filters for TV Captures? LadyMiles Avisynth Scripting 4 11-21-2002 10:40 PM
Avisynth: AVS Script for vhs captures? el_mero_zooter Avisynth Scripting 6 07-02-2002 10:31 AM

Thread Tools



 
All times are GMT -5. The time now is 11:01 AM  —  vBulletin Jelsoft Enterprises Ltd