This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/sh | |
#set -e | |
#to remove trailing \r character | |
#sed -i 's/\r$//' file_name.sh or using dos2unix to format: sudo yum install dos2unix -y | |
#https://trac.ffmpeg.org/wiki/CompilationGuide/Centos | |
#ffmpeg_version=3.2.1 | |
FFMPEG_HOME=/opt/ffmpeg | |
ffmpeg_version=snapshot | |
exec_time=$(date +"%Y%m%d%H%M%S"); | |
echo "===============> install required packages for ffmpeg $ffmpeg_version" |