Quantcast Recording Video: Fast but Effective Script - digitalFAQ.com Forums [Archives]
  #1  
11-14-2003, 05:33 PM
Dano Dano is offline
Free Member
 
Join Date: Apr 2003
Location: Brockton, MA
Posts: 134
Thanks: 0
Thanked 0 Times in 0 Posts
I have been trying many different combinations of filters and was trying to find a good balance between speed and quality and here is what I came up with. Just thought someone might want to try it on one of their tv caps, you will be impressed by the speed. I don't do any resizing since the destination is DVD. I am using AVISynth 2.5x.

mpeg2Source()
Undot()
temporalcleaner(5,10)
deen("a2d",2,6,10,
__________________
-Dano
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-14-2003, 10:28 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi Dano,

Try this:

Code:
Mpeg2Source()
undot()
STMedianFilter(3, 3, 1, 1 )
Tell me how it compares to temporalcleaner + deen

-kwag
Reply With Quote
  #3  
11-14-2003, 11:06 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Quote:
Just thought someone might want to try it on one of their tv caps, you will be impressed by the speed.
Using scripts on TV caps is a very individual thing so you can't just say THIS or THAT is a good choice to handle captured streams.

It depends on the broadcast condition ... even using the best digitizer, when capturing some movies you'll receive Noise ... and shurely a lot of noise when capturing old Celluloid Movie Strips .. the Classics

Here're Scripts you can use on captured noisy Avisources AND also on captured noisy MPEG2 Sources as they are delivered by for example a PVR 250.

Mabe not that fast as your recommended script, but anti-noise-effective while preventing details.

Avisource progressive capture:
Code:
Avisource("Your Avisourec Here.avi")
#ConverttoYUY2() # Only needed when using xvid/Dvix YV12 based captures
undot() 
Limiter() 
Bicubicresize(480,576) # calculate using Moviestacker
TemporalSoften(1,5,8,5,2).peachsmoother().Unfilter(60,0).Undot()
Limiter()
# AddBorders(xx, xx, xx, xx) # calculate using Moviestacker
Letterbox(16,16,16,16)
DCTFilter(1,1,1,1,1,1,0.5,0)
Avisource interlaced Capture:
Code:
Avisource("Your Avisourec Here.avi")
Limiter()
#ConverttoYUY2(interlaced=true) # Only needed when using xvid/Dvix YV12 based captures
video = SeparateFields().BicubicResize(480,288) # use Moviestacker but set to INTERLACED Source!=half vertical values will result!
evenfield = SelectEven(video).TemporalSoften(1,5,8,5,2).peachsmoother().Unfilter(60,0).Undot()
oddfield = SelectOdd(video).TemporalSoften(1,5,8,5,2).peachsmoother().Unfilter(60,0).Undot()
Interleave(evenfield,oddfield)
Weave()
Limiter()
#AddBorders(xx, xx, xx, xx) # calculate using Moviestacker
Letterbox(16,16,16,16)
Mpeg2Source progressive capture
Code:
MPEG2Source("Your Source Here.d2v") 
BlindPP(CPU=4) 
Undot() 
Limiter() 
converttoYUY2() 
Bicubicresize(480,576) # calculate using Moviestacker
TemporalSoften(1,5,8,5,2).peachsmoother().Unfilter(60,0).undot() 
# AddBorders(xx, xx, xx, xx) # calculate using Moviestacker
Letterbox(16,16,16,16)
DCTFilter(1,1,1,1,1,1,0.5,0)
Mpeg2Source interlaced capture
Code:
MPEG2Source("Your Source Here.d2v")
Limiter() 
converttoYUY2(interlaced=true) 
video = SeparateFields().BicubicResize(480,288) # use Moviestacker but set to INTERLACED Source!=half vertical values will result! 
evenfield = SelectEven(video).TemporalSoften(1,5,8,5,2).peachsmoother().Unfilter(60,0).undot() 
oddfield = SelectOdd(video).TemporalSoften(1,5,8,5,2).peachsmoother().Unfilter(60,0).undot()
Interleave(evenfield,oddfield) 
Weave() 
Limiter()
#AddBorders(xx, xx, xx, xx) # calculate using Moviestacker
Letterbox(16,16,16,16)
Reply With Quote
  #4  
11-14-2003, 11:11 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Hi incredible,

Are you aware that "PeachSmoother" is flawed

-kwag
Reply With Quote
  #5  
11-14-2003, 11:13 PM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
As I tested a lot ... It gives me wonderful results even its set to default!

Do you refer to a special release?
Reply With Quote
  #6  
11-14-2003, 11:38 PM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by incredible
As I tested a lot ... It gives me wonderful results even its set to default!

Do you refer to a special release?
No. Peach is flawed
We documented it here a long time ago: http://www.kvcd.net/forum/viewtopic.php?t=3136
I've re-uploaded the file "peach.mpg" so you can see what we found out.
See for yourself

-kwag
Reply With Quote
  #7  
11-15-2003, 12:04 AM
rendalunit rendalunit is offline
Free Member
 
Join Date: Apr 2002
Location: san jose, Ca
Posts: 1,148
Thanks: 0
Thanked 0 Times in 0 Posts
hey kwag,

The filter's author says it's the wrong filter to use for clean material and the clip is constantly moving which is causing problems in the noise estimation and peach is meant for noisy caps. That is the last post of that thread.

btw- was that clip NYPD Blue? That's the only show where it seems like the cameraman is drunk!

ren
Reply With Quote
  #8  
11-15-2003, 12:16 AM
kwag kwag is offline
Free Member
 
Join Date: Apr 2002
Location: Puerto Rico, USA
Posts: 13,537
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by rendalunit
hey kwag,

The filter's author says it's the wrong filter to use for clean material and the clip is constantly moving which is causing problems in the noise estimation and peach is meant for noisy caps. That is the last post of that thread.
I remember doing several tests with different sources, and no matter what, the behaviour was always the same.
Other people reported the same effect on vertical movements.
Quote:

btw- was that clip NYPD Blue? That's the only show where it seems like the cameraman is drunk!
That's a clip from "City by the Sea"

-kwag
Reply With Quote
  #9  
11-15-2003, 04:02 AM
incredible incredible is offline
Free Member
 
Join Date: May 2003
Location: Germany
Posts: 3,189
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to incredible
Now I see what you mean!
I also discussed this with friend too...
I saw this effect only one Time, ... and that was when filtering a Dvix source (for testing) very strange and the effect was even more visible!

BUT I never had such an effect when using on my noisy caps, he also reported that it works well with his PVR250.
Maybe a revis. Problem? Maby an AVS Vers. Problem?
Maybe a conflict with another Filter in the PlugIns Directory (which I do not assume).
Reply With Quote
Reply




Similar Threads
Thread Thread Starter Forum Replies Last Post
Avisynth: Fast script to use with DVD Rebuilder? audioslave Avisynth Scripting 16 08-04-2006 08:09 AM
Recording Video: Updated VHS script? sbin Video Capturing / Recording 0 01-11-2004 07:09 PM
Recording Video: Need good script nicksteel Video Capturing / Recording 2 09-12-2003 10:59 AM
Recording Video: Capturing Hi-8 with Optimal Script Nobody Video Capturing / Recording 6 07-10-2003 10:21 AM
KVCD: Fast video after Conversion? sreebang Video Encoding and Conversion 2 11-12-2002 11:13 PM

Thread Tools



 
All times are GMT -5. The time now is 10:50 AM  —  vBulletin © Jelsoft Enterprises Ltd