]> git.sesse.net Git - mlt/blob - src/modules/motion_est/Makefile
+ Correction to the disabled case (should be disable-motion_est and plugins should...
[mlt] / 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_crop_detect.o \
8            filter_autotrack_rectangle.o \
9            arrow_code.o \
10            filter_vismv.o
11
12 CFLAGS += -I../.. 
13
14 LDFLAGS += -rdynamic
15
16 LDFLAGS+=-L../../framework -lmlt
17
18 SRCS := $(OBJS:.o=.c)
19
20 all:    $(TARGET)
21
22 $(TARGET): $(OBJS)
23                 $(CC) -shared -o $@ $(OBJS) $(LDFLAGS)
24
25 depend: $(SRCS)
26                 $(CC) -MM $(CFLAGS) $^ 1>.depend
27
28 dist-clean:     clean
29                 rm -f .depend
30
31 clean:  
32                 rm -f $(OBJS) $(TARGET)
33
34 install: all
35         install -m 755 $(TARGET) "$(prefix)/share/mlt/modules"
36
37 test: $(TARGET)
38         ~/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
39
40 hist: $(TARGET)
41         ~/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
42
43
44 test2: $(TARGET)
45         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
46
47 realtime: $(TARGET)
48         ~/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
49
50 testhist: $(TARGET)
51         ~/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
52
53
54 ifneq ($(wildcard .depend),)
55 include .depend
56 endif