summaryrefslogblamecommitdiff
path: root/transcode-screencast.sh
blob: 61a93060423ff1dcf5461e731e5a5f8cf9a7a340 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                           
#!/bin/sh
INPUT_VIDEO=$1
INPUT_AUDIO=$2
OUTPUT=$3
ffmpeg -i "$INPUT_VIDEO" \
	-i "$INPUT_AUDIO" \
	-vcodec libx264 \
	-pix_fmt yuv420p \
	-acodec aac \
	-b:a 320k \
	"$OUTPUT"