From 5d5ca50b8cb0d36badb937e6618c58bb6a47dba9 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 31 Jan 2015 18:52:47 +0800 Subject: [PATCH] compile cmd --- simplest_ffmpeg_streamer/compile_cl.bat | 16 ++++++++++++++++ simplest_ffmpeg_streamer/compile_gcc.sh | 12 ++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 simplest_ffmpeg_streamer/compile_cl.bat create mode 100644 simplest_ffmpeg_streamer/compile_gcc.sh diff --git a/simplest_ffmpeg_streamer/compile_cl.bat b/simplest_ffmpeg_streamer/compile_cl.bat new file mode 100644 index 0000000..8630b17 --- /dev/null +++ b/simplest_ffmpeg_streamer/compile_cl.bat @@ -0,0 +1,16 @@ +::最简单的基于FFmpeg的推流器(推送RTMP)----命令行编译 +::Simplest FFmpeg Streamer (Send RTMP)----Compile in Cmd +:: +::雷霄骅 Lei Xiaohua +::leixiaohua1020@126.com +::中国传媒大学/数字电视技术 +::Communication University of China / Digital TV Technology +::http://blog.csdn.net/leixiaohua1020 +:: +::include +@set INCLUDE=include;%INCLUDE%; +::lib +@set LIB=lib;%LIB%; +::compile and link +cl simplest_ffmpeg_streamer.cpp /link avcodec.lib avformat.lib avutil.lib ^ +avdevice.lib avfilter.lib postproc.lib swresample.lib swscale.lib /OPT:NOREF \ No newline at end of file diff --git a/simplest_ffmpeg_streamer/compile_gcc.sh b/simplest_ffmpeg_streamer/compile_gcc.sh new file mode 100644 index 0000000..ca86785 --- /dev/null +++ b/simplest_ffmpeg_streamer/compile_gcc.sh @@ -0,0 +1,12 @@ +#! /bin/sh +#最简单的基于FFmpeg的推流器(推送RTMP)----命令行编译 +#Simplest FFmpeg Streamer (Send RTMP)----Compile in Shell +# +#雷霄骅 Lei Xiaohua +#leixiaohua1020@126.com +#中国传媒大学/数字电视技术 +#Communication University of China / Digital TV Technology +#http://blog.csdn.net/leixiaohua1020 +# +#compile +gcc simplest_ffmpeg_streamer.cpp -g -o simplest_ffmpeg_streamer.out -lavformat -lavcodec -lavutil