Skip to content

Commit

Permalink
add Divx format
Browse files Browse the repository at this point in the history
  • Loading branch information
jaymoulin committed Dec 2, 2017
1 parent f0dd8fd commit 5d46816
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION ?= 0.2.0
VERSION ?= 0.2.1
CACHE ?= --no-cache=1
FULLVERSION ?= ${VERSION}
archs = amd64 arm32v5 arm32v7 arm64v8 i386
Expand Down
6 changes: 6 additions & 0 deletions convert.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5d46816

Please sign in to comment.