]> git.sesse.net Git - mlt/blob - src/modules/motion_est/Makefile
Version modules and data directories, and melt
[mlt] / src / modules / motion_est / Makefile
1 CFLAGS += -I../.. 
2
3 LDFLAGS += -L../../framework -lmlt -lm
4
5 include ../../../config.mak
6
7 TARGET = ../libmltmotion_est$(LIBSUF)
8
9 OBJS = factory.o \
10            filter_motion_est.o \
11            filter_crop_detect.o \
12            filter_autotrack_rectangle.o \
13            arrow_code.o \
14            filter_vismv.o \
15            producer_slowmotion.o
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)$(moduledir)"
35         install -d "$(DESTDIR)$(mltdatadir)/motion_est"
36         install -m 644 *.yml "$(DESTDIR)$(mltdatadir)/motion_est"
37
38 test: $(TARGET)
39         ~/mlt-devel/mlt/src/melt/melt -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/melt/melt -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         melt 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/melt/melt -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/melt/melt -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