Initial import of the motion estimation filter.
[melted] / src / modules / motion_est / Makefile
1 include ../../../config.mak
2
3 TARGET = ../libmltmotion_est.so
4
5 OBJS = factory.o \
6 filter_motion_est.o \
7 filter_benchmark.o \
8 filter_crop_detect.o \
9 filter_autotrack_rectangle.o \
10 arrow_code.o \
11 filter_vismv.o
12
13 CFLAGS += -I../..
14
15 LDFLAGS += -rdynamic
16
17 LDFLAGS+=-L../../framework -lmlt
18
19 SRCS := $(OBJS:.o=.c)
20
21 all: $(TARGET)
22
23 $(TARGET): $(OBJS)
24 $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
25
26 depend: $(SRCS)
27 $(CC) -MM $(CFLAGS) $^ 1>.depend
28
29 dist-clean: clean
30 rm -f .depend
31
32 clean:
33 rm -f $(OBJS) $(TARGET)
34
35 install: all
36 install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
37
38 test: $(TARGET)
39 ~/mlt-devel/mlt/src/inigo/inigo -filter motion_est -filter vismv -filter benchmark -consumer sdl rescale=none real_time=0 audio_off=1 silent=1 /media/cdrecorder/BBC.The.Private.Life.Of.Plants.Pt5.Living.Together.DivX505.AC3.www.MVGroup.org.uk.avi in=50000
40
41 hist: $(TARGET)
42 ~/mlt-devel/mlt/src/inigo/inigo -filter motion_est -filter histogram -consumer sdl rescale=none real_time=0 audio_off=1 silent=1 /media/cdrecorder/BBC.The.Private.Life.Of.Plants.Pt5.Living.Together.DivX505.AC3.www.MVGroup.org.uk.avi in=40000
43
44
45 test2: $(TARGET)
46 inigo colour:black -filter watermark:"+mello.txt" composite.geometry="0,0:10%x10%;99=90%,90%" composite.out=99 -filter crop_detect -filter motion_est -filter vismv
47
48 realtime: $(TARGET)
49 ~/mlt-devel/mlt/src/inigo/inigo -filter motion_est -filter vismv -consumer sdl rescale=none /media/cdrecorder/BBC.The.Private.Life.Of.Plants.Pt5.Living.Together.DivX505.AC3.www.MVGroup.org.uk.avi in=30000
50
51 testhist: $(TARGET)
52 ~/mlt-devel/mlt/src/inigo/inigo -consumer sdl rescale=none silent=1 -filter motion_est -filter histogram -filter vismv /media/cdrecorder/BBC.The.Private.Life.Of.Plants.Pt5.Living.Together.DivX505.AC3.www.MVGroup.org.uk.avi in=10000
53
54
55 ifneq ($(wildcard .depend),)
56 include .depend
57 endif