Add:ffmpeg source code.
This commit is contained in:
parent
701942f6bc
commit
7c9984033c
3
external/CMakeLists.txt
vendored
3
external/CMakeLists.txt
vendored
|
@ -19,4 +19,5 @@ add_subdirectory(httpserver.h-master/src)
|
||||||
# ================= httpserver end ================= #
|
# ================= httpserver end ================= #
|
||||||
|
|
||||||
add_subdirectory(cJSON-1.7.17)
|
add_subdirectory(cJSON-1.7.17)
|
||||||
add_subdirectory(libhv/libhv-1.3.2)
|
add_subdirectory(libhv/libhv-1.3.2)
|
||||||
|
add_subdirectory(ffmpeg)
|
18
external/ffmpeg/CMakeLists.txt
vendored
Normal file
18
external/ffmpeg/CMakeLists.txt
vendored
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
|
||||||
|
|
||||||
|
add_custom_target(
|
||||||
|
ffmpeg
|
||||||
|
# DEPENDS ${EXTERNAL_LIBS_OUTPUT_PATH}/libgo.a
|
||||||
|
# COMMAND mkdir ${GOAHEAD_UPLOAD_TMP_PATH}
|
||||||
|
# COMMAND cp ${EXTERNAL_SOURCE_PATH}/goahead-5.2.0/modify/http.c ${EXTERNAL_SOURCE_PATH}/goahead-5.2.0/GoAhead/src
|
||||||
|
# COMMAND touch ${EXTERNAL_SOURCE_PATH}/goahead-5.2.0/GoAhead/src/http.c
|
||||||
|
COMMAND test -f ${EXTERNAL_SOURCE_PATH}/ffmpeg/Makefile || tar -xf ffmpeg_6.1.1.orig.tar.xz
|
||||||
|
COMMAND cd ffmpeg-6.1.1 && ./configure --enable-cross-compile --target-os=linux --arch=arm64
|
||||||
|
--cc=gcc
|
||||||
|
--cxx=g++
|
||||||
|
--prefix=/home/xiaojiazhu/project/tmp
|
||||||
|
--disable-asm --enable-parsers --disable-decoders --enable-decoder=h264 --enable-decoder=aac
|
||||||
|
--disable-debug --enable-ffmpeg --enable-shared --enable-static --disable-stripping --disable-doc
|
||||||
|
COMMAND cd ffmpeg-6.1.1 && make
|
||||||
|
WORKING_DIRECTORY ${EXTERNAL_SOURCE_PATH}/ffmpeg/
|
||||||
|
)
|
BIN
external/ffmpeg/ffmpeg_6.1.1.orig.tar.xz
vendored
Executable file
BIN
external/ffmpeg/ffmpeg_6.1.1.orig.tar.xz
vendored
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user