digitalFAQ.com Forums [Archives]

digitalFAQ.com Forums [Archives] (http://www.digitalfaq.com/archives/)
-   Video Capturing / Recording (http://www.digitalfaq.com/archives/capture/)
-   -   Recording Video: Fast But Effective Script (http://www.digitalfaq.com/archives/capture/6706-recording-video-fast.html)

Dano 11-14-2003 05:33 PM

Fast But Effective Script
 
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,8)

kwag 11-14-2003 10:28 PM

Hi Dano,

Try this:

Code:

Mpeg2Source()
undot()
STMedianFilter(3, 3, 1, 1 )

Tell me how it compares to temporalcleaner + deen :cool:

-kwag

incredible 11-14-2003 11:06 PM

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)


kwag 11-14-2003 11:11 PM

Hi incredible,

Are you aware that "PeachSmoother" is flawed :?:

-kwag

incredible 11-14-2003 11:13 PM

8O As I tested a lot ... It gives me wonderful results even its set to default!

Do you refer to a special release?

kwag 11-14-2003 11:38 PM

Quote:

Originally Posted by incredible
8O 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

rendalunit 11-15-2003 12:04 AM

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! :lol:

ren

kwag 11-15-2003 12:16 AM

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! :lol:
That's a clip from "City by the Sea" :)

-kwag

incredible 11-15-2003 04:02 AM

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). :?


All times are GMT -5. The time now is 03:35 PM  —  vBulletin © Jelsoft Enterprises Ltd

Site design, images and content © 2002-2024 The Digital FAQ, www.digitalFAQ.com
Forum Software by vBulletin · Copyright © 2024 Jelsoft Enterprises Ltd.