#!/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