QMtrim Code
Simple Quantified Motion Trim() generator for AviSynth
Status: Alpha
Brought to you by:
kickaha2
QMtrim is a simple Quantified Motion Trim() generator for AviSynth.
QMtrim generates a sequence of trim() calls based on motion analysis to
specialize video clip processing with AviSynth. It uses the statfile produced
by the MVtools library and QMlib.avsi script (look at "avisynth/README").
QMtrim was originally written by HoHoHo as a command-line tool, and now I'm
trying to wrap it in a GUI and making it portable with wxWidgets.
The primary build environment will be GNU Autotool's, but I'll try to maintain
a makefile for the mingw32-gcc compiler (src/makefile.mingw32.windows), for
non-GNU/Linux environments.
This first GUI version (0.7.7) is just a prototype. It's based on HoHoHo's
QMtrim v0.6b1, requires a slightly patched version (*) of wxWidgets 2.9.4
and cross-builds only for win32.
If you find a bug or think of an improvements, please let me know: I'll fix
bugs for this version, and will take in account improvements only for the next
version.
Version 0.8 will be the first "official" alpha release and will have a
fully-revised GUI and at least two binary builds (Windows and GNU/Linux).
It will probably come linked to wxWidgets 2.8 (still more spread than 2.9),
or statically-linked with 2.9 version.
--KICKAHA
(*) First thing first: wxWidgets 2.9.4 are fine.
I just couldn't make them agree with mingw32 about how long is a "long" and
which format specifier is needed to print it. So I "adjusted" the code in
"src/generic/numdlgg.cpp" with this patch:
$ diff numdlgg.cpp.original numdlgg.cpp
107c107
< valStr.Printf(wxT("%ld"), m_value);
---
> valStr.Printf(wxT("%d"), m_value);
I hope to find a better way to manage this.