Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Development

Reply
 
Thread Tools Search this Thread Display Modes
Old 26th May 2003, 16:14   #1  |  Link
Malcolm
Registered User
 
Join Date: Sep 2002
Location: Germany
Posts: 352
Feature Request

Hi,
i know, the following can easily be achieved with existing functions. But this is a request about speed improvement.

I'd like to use filters only on certain regions of the video. for example if i have a video with borders (16:9 -> 4:3, TV-crop, ...)
i'd like do something like
Code:
crop(16,80,-16,-80)
convolution3d()
# or any other filter
addborders(16,80,16,80)
(because filtering is only necessary in parts that are not black)

But i'd like to do that without having to do crop + addborders before and after. (Because i guess this is unnecessary timeconsuming)

I could imagine that it's faster if there's a filter which selects only a region of the video (like crop) and passes this to any other filter. But the result would have to be the complete (uncropped) video.

Maybe like this
Code:
region(16,80,-16,80).convolution3d()
I hope such a filter would bring a certain speed improvement over crop + addborders.

bye,
Malcolm
Malcolm is offline   Reply With Quote
Old 26th May 2003, 23:20   #2  |  Link
WarpEnterprises
C64
 
WarpEnterprises's Avatar
 
Join Date: Apr 2002
Location: Austria
Posts: 830
AFAIK crop and addborders are VERY fast as they try to not change the actual video data (offsetting only).
WarpEnterprises is offline   Reply With Quote
Old 27th May 2003, 00:00   #3  |  Link
Richard Berg
developer wannabe
 
Richard Berg's Avatar
 
Join Date: Nov 2001
Location: Brooklyn, NY
Posts: 1,211
Crop does what you want: like WarpEnterprises said it works in-place. (That's why it's so "helpful" in finding pitch/width bugs.) There should be no need to add borders afterward, unless you're making a VCD or similar.
Richard Berg is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:27.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.