-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathQTFFmpegX64_2015.pro
62 lines (48 loc) · 1.8 KB
/
QTFFmpegX64_2015.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
# -------------------------------------------------
# Project created by QtCreator 2015-07-22T16:22:00
# -------------------------------------------------
QT += core gui widgets
TARGET = QTFFmpegX64_2015
TEMPLATE = app
SOURCES += main.cpp \
mainwindow.cpp \
QVideoEncoder.cpp \
QVideoDecoder.cpp
HEADERS += mainwindow.h \
QVideoEncoder.h \
QVideoDecoder.h \
ffmpeg.h
FORMS += mainwindow.ui
RESOURCES += resource.qrc
DEFINES += DEVELMODE
# ##############################################################################
# Modify the below path so that it point to the folder containing
# .lib, .dll.a and .def files of ffmpeg
# ##############################################################################
FFMPEG_LIBRARY_PATH = ffmpeg_lib_win64
# ##############################################################################
# Do not modify from here: FFMPEG default settings
# ##############################################################################
# Add the path
LIBS += -L$$PWD/$$FFMPEG_LIBRARY_PATH
# Set list of required FFmpeg libraries
LIBS += -lavutil \
-lavcodec \
-lavformat \
-lswscale
# Related includes
INCLUDEPATH += $$PWD/libavutil \
$$PWD/libavcodec \
$$PWD/libavdevice \
$$PWD/libavformat \
$$PWD/libswscale
DEPENDPATH += $$PWD/libavutil \
$$PWD/libavcodec \
$$PWD/libavdevice \
$$PWD/libavformat \
$$PWD/libswscale
# Requied for some C99 defines
DEFINES += __STDC_CONSTANT_MACROS
# ##############################################################################
# FFMPEG: END OF CONFIGURATION
# ##############################################################################