commit af784a277d5ccba7ccb92290402c9165e97bce26 parent a440c5806da239e56de153afdb13dbc51ad4480a Author: Anders Damsgaard Christensen <adc@geo.au.dk> Date: Mon, 18 Jul 2016 08:18:14 -0700 add script to convert to mp4 Diffstat:
A | bin/ffmpeg-to-mp4.sh | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/bin/ffmpeg-to-mp4.sh b/bin/ffmpeg-to-mp4.sh @@ -0,0 +1,6 @@ +#!/bin/bash +output=$(echo $1 | sed 's/\..*$/.mp4/') +ffmpeg -i $1 \ + -acodec libfaac -b:a 128k -vcodec mpeg4 -b:v 1200k -flags +aic+mv4 \ + $output +echo $output