www.pudn.com > simplest_ffmpeg_player_1_final.rar > compile_gcc_mac.sh, change:2015-02-12,size:463b


#! /bin/sh
#最简单的基于FFmpeg的视频播放器----命令行编译
#Simplest FFmpeg Player----Compile in Shell 
#
#雷霄骅 Lei Xiaohua
#leixiaohua1020@126.com
#中国传媒大学/数字电视技术
#Communication University of China / Digital TV Technology
#http://blog.csdn.net/leixiaohua1020
#
#compile
gcc simplest_ffmpeg_player.cpp -g -o simplest_ffmpeg_player.out \
-framework Cocoa -I /usr/local/include -L /usr/local/lib \
-lSDLmain -lSDL -lavformat -lavcodec -lavutil -lswscale