From 493e40471719651b1c818b58a5bbe12c3fe125df Mon Sep 17 00:00:00 2001 From: Steffen Rademacker Date: Tue, 15 Sep 2015 17:44:08 +0200 Subject: [PATCH] no mp4 convert, use handbrake -- but webmconvert --- zsh/functions | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/zsh/functions b/zsh/functions index 7207d8d..591b8ab 100644 --- a/zsh/functions +++ b/zsh/functions @@ -18,9 +18,8 @@ function tmd() { } # convert a video to mp4 + webm in one go for web -function videoconvert() { - ffmpeg -i $1 -acodec libvorbis -aq 7 -ac 2 -vcodec libvpx -b:v 2M -qmax 16 -threads 4 $1.webm - ffmpeg -i $1 -acodec libfdk_aac -cutoff 18000 -vcodec libx264 -b:v 2M -qmax 16 -threads 4 $1.mp4 +function webmconvert() { + ffmpeg -i $1 -acodec libvorbis -aq 3 -ac 2 -vcodec libvpx -b:v 1M -bufsize 2M -qmax 16 -threads 4 $1.webm } # a small function for finding stuff