Skip to content

Commit

Permalink
compile cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
leixiaohua1020 committed Jan 31, 2015
1 parent 9fe3f26 commit 5d5ca50
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 0 deletions.
16 changes: 16 additions & 0 deletions simplest_ffmpeg_streamer/compile_cl.bat
Original file line number Diff line number Diff line change
@@ -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
12 changes: 12 additions & 0 deletions simplest_ffmpeg_streamer/compile_gcc.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5d5ca50

Please sign in to comment.