]> git.sesse.net Git - mlt/blob - src/modules/motion_est/Makefile
Apply cosmetic cleanup part of ldflags_order patch from Alberto Villa.
[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            producer_slowmotion.o
12
13 CFLAGS += -I../.. 
14
15 LDFLAGS += -L../../framework -lmlt
16
17 SRCS := $(OBJS:.o=.c)
18
19 all:    $(TARGET)
20
21 $(TARGET): $(OBJS)
22                 $(CC) $(SHFLAGS) -o $@ $(OBJS) $(LDFLAGS)
23
24 depend: $(SRCS)
25                 $(CC) -MM $(CFLAGS) $^ 1>.depend
26
27 distclean:      clean
28                 rm -f .depend
29
30 clean:  
31                 rm -f $(OBJS) $(TARGET)
32
33 install: all
34         install -m 755 $(TARGET) "$(DESTDIR)$(libdir)/mlt"
35
36 test: $(TARGET)
37         ~/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
38
39 hist: $(TARGET)
40         ~/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
41
42
43 test2: $(TARGET)
44         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
45
46 realtime: $(TARGET)
47         ~/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
48
49 testhist: $(TARGET)
50         ~/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
51
52
53 ifneq ($(wildcard .depend),)
54 include .depend
55 endif