linuxkurs/beispiele/16/create-webvideos.sh
2019-03-04 13:24:35 +01:00

7 lines
241 B
Bash

#!/bin/bash
# 5 sec langes Video
ffmpeg -t 5 -i infile -b:v 600k -b:a 128k -c:v libx264 out.mp4
ffmpeg -t 5 -i infile -b:v 600k -b:a 128k out.webm
ffmpeg -t 5 -i infile -codec:v libtheora -qscale:v 5 -codec:a libvorbis -qscale:a 5 out.ogv