From 5d468166e53a042db958ec08fcffedc461029187 Mon Sep 17 00:00:00 2001 From: Jay MOULIN Date: Sat, 2 Dec 2017 01:39:33 +0100 Subject: [PATCH] add Divx format --- Makefile | 2 +- convert.sh | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ed29fe1..568cd6c 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -VERSION ?= 0.2.0 +VERSION ?= 0.2.1 CACHE ?= --no-cache=1 FULLVERSION ?= ${VERSION} archs = amd64 arm32v5 arm32v7 arm64v8 i386 diff --git a/convert.sh b/convert.sh index df4eaf5..4c3b863 100755 --- a/convert.sh +++ b/convert.sh @@ -10,3 +10,9 @@ for f in **/*.{avi,ogm,wmv,AVI,OGM,WMV,flv,FLV}; do printf '\033[0m' avconv -i "$f" -strict experimental -c:v libx264 "${f:0:-4}.mp4" && rm "$f" done +for f in **/*.{divx,DIVX}; do + printf '\033[1;34;40m' + echo "Converting $f" + printf '\033[0m' + avconv -i "$f" -strict experimental -c:v libx264 "${f:0:-5}.mp4" && rm "$f" +done