diff options
Diffstat (limited to 'transcode-screencast.sh')
-rwxr-xr-x | transcode-screencast.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/transcode-screencast.sh b/transcode-screencast.sh new file mode 100755 index 0000000..61a9306 --- /dev/null +++ b/transcode-screencast.sh @@ -0,0 +1,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" |