AVISynth - Perserving Intentional Noise
- Coffee 54
- Joined: Tue May 11, 2004 8:26 am
- Contact:
AVISynth - Perserving Intentional Noise
How do you go about perserving intentional noise which may have been added to a few scenes of a video, without shutting off your smoothing filters for the whole thing? Is there a way to turn them off for a specific section(s) of a video, or is there another filter to be added?
- Pwolf
- Friendly Neighborhood Pwaffle
- Joined: Thu May 03, 2001 4:17 pm
- Location: Some where in California, I forgot :\
- Contact:
video = avisource("finalrenderhuffy.avi")
v1 = video.trim(firstframe,lastframe) #first part of video that doesn't have noise
v2 = video.trim(firstframe,lastframe) #part that has noise
v3 = video.trim(firstframe,lastframe) #next part that doesn't have noise
v1.addfiltershere.morehere.andhere.andhrerealso.untilyouaredone
v3.addthe.same.filtersas.v1here
return v1 + v2 + v3
so basically if you can't follow that, you are separating the parts that you don't want to smooth out with the ones you do... then applying only the smoothing filters to those and then adding them all together.
or you could do all your smoothing to the source itself so you don't have to do any smoothing on the final render.
Pwolf
v1 = video.trim(firstframe,lastframe) #first part of video that doesn't have noise
v2 = video.trim(firstframe,lastframe) #part that has noise
v3 = video.trim(firstframe,lastframe) #next part that doesn't have noise
v1.addfiltershere.morehere.andhere.andhrerealso.untilyouaredone
v3.addthe.same.filtersas.v1here
return v1 + v2 + v3
so basically if you can't follow that, you are separating the parts that you don't want to smooth out with the ones you do... then applying only the smoothing filters to those and then adding them all together.
or you could do all your smoothing to the source itself so you don't have to do any smoothing on the final render.
Pwolf
- Coffee 54
- Joined: Tue May 11, 2004 8:26 am
- Contact:
Thanks, that did the trick. I was even able to apply both methods as most of the static I had to perserve fell in two distinct sections. To which it was easy to just not apply the filters. The one exception would be a small bit earily in the video that falls into one of the larger sections. For that I did the whole 'v1 = video.trim' thing.