View Single Post
Old 24th April 2004, 23:36   #50  |  Link
Fizick
AviSynth plugger
 
Fizick's Avatar
 
Join Date: Nov 2003
Location: Russia
Posts: 2,183
O.K., I release new plugin. It has got name DePan -
tools for estimation and compensation of global motion (pan).
The DePan plugin must replace my experimental GenMotion C-plugin
(which uses motion data from VirtualDub Deshaker plugin log file).
The DePan works in one pass, but consist of server part (function)
and one or more clients parts (functions or its instances).
The server function estimates frames motion data and gives it to client functions on inquiry.

(to SoonUDie: I not quite understand you joke, but decided to use other, safe terminology )

Current version of DePan uses a special service clip as the motion data container.

DePan plugin functions:
DePanEstimate (server) - estimates frames global motion data and write it to special service clip
DePan (client) - make full or partial global motion compensation
DePanInterleave (client) - generates long motion compensated interleaved clip
DePanStabilize (client) - makes some motion stabilization

GenMotion() function is new DePan() function.
Note. The "offset" parameter of DePan() is extended version of "delta" parameter of GenMotion().

Features and limitations of current version of DePan plugin
1. Works only in YV12 color format.
2. Uses only pan motion (no zoom, rotation), but it gives advance in speed and stability.
3. The source clip must be same length as motion data clip.
4. Directly works only with progressive clips.
For interlaced sources, you must use Avisynth function SeparateFields,
with followed optional AssumeTFF, and following Weave (after motion compensation and denoising)
Plugin estimates and calculates motion from one field to neighbour (by time) field (from same or neighbour frame).
5. Not very fast, not assembler optimized.

You may download it from my site (link is on first page of thread).
It has beta (may be alpha) status.
Please, test all its bugs (i know some) and report to here.
Fizick is offline   Reply With Quote