Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- path="/home/admin/docs/"
- in_file="'doc.mkv'"
- out_file="-f flv rtmp://live.justin.tv/app/streamkey"
- cd $path
- filter="-s hd480 -aspect 16:9"
- codec="-vcodec libx264 -preset fast -crf 27 -acodec libfaac -ab 128k -ar 44100 -ac 2"
- command_line="ffmpeg -re -i $in_file $filter $codec $out_file"
- echo $command_line
- eval $command_line
- exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement