forked from Lowy-Projects/QFFMpeg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
linux.pro
79 lines (66 loc) · 1.89 KB
/
linux.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
#--------------------------------------------------
#
# qffMpeg lib ffMpeg linking settings
# By: Lowy 2015
#
HOME = $$system(echo $HOME)
# ffmpeg és kódek könyvtárak
FFMPEG_LIB = /usr/lib
FFMPEG_INCLUDE = /usr/include
CODEC_LIB = /usr/lib
CODEC_INCLUDE = /usr/include
# Telepítési beállítások
header_files.files = $$PWD/*.h
header_files.files += $$PWD/qffmpeg
header_files.path = /usr/include/QFFMpeg
INSTALLS += header_files
header_avFormat.files = $$PWD/avFormat/*.h
header_avFormat.files += $$PWD/avFormat/avFormat
header_avFormat.path = /usr/include/QFFMpeg/avFormat
INSTALLS += header_avFormat
header_avUtility.files = $$PWD/avUtility/*.h
header_avUtility.files += $$PWD/avUtility/avUtility
header_avUtility.path = /usr/include/QFFMpeg/avUtility
INSTALLS += header_avUtility
target.path = /usr/lib
INSTALLS += target
# ffmpeg könyvtárak
FFMPEG_FILES = \
-lavformat \
-lavcodec \
-lavdevice \
-lavfilter \
-lavutil \
-lpostproc \
-lswresample \
-lswscale
FFMPEG_LIB_NAMES = \
$$FFMPEG_LIB/libavformat \
$$FFMPEG_LIB/libavcodec \
$$FFMPEG_LIB/libavdevice \
$$FFMPEG_LIB/libavfilter \
$$FFMPEG_LIB/libavutil \
$$FFMPEG_LIB/libpostproc \
$$FFMPEG_LIB/libswresample \
$$FFMPEG_LIB/libswscale
#ffmpeg statikus kódekek
CODEC_FILES = \
-lmp3lame \
-lfdk-aac \
-lvpx
CODEC_LIB_NAMES = \
$$CODEC_LIB/libmp3lame.a \
$$CODEC_LIB/libfdk-aac.a \
$$CODEC_LIB/libvpx.a
# ffmpeg shared kódekek
LIBS += -lvorbis
LIBS += -lvorbisenc
LIBS += -lvorbisfile
LIBS += -lx264
LIBS += -lx265
LIBS += -lz
//LIBS += -lvdpau
//LIBS += -lva
//LIBS += -ltheora
//LIBS += -ltheoraenc
//LIBS += -ltheoradec