Skip to content

Commit b788b44

Browse files
committed
Migrate to ffmpeg
1 parent 1e33e93 commit b788b44

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ FROM builder
77

88
LABEL maintainer="Jay MOULIN <[email protected]> <https://twitter.com/MoulinJay>"
99

10-
RUN apt-get update && apt-get install libav-tools -y --force-yes
10+
RUN apt-get update && apt-get install ffmpeg -y --force-yes
1111

1212
ADD ./convert.sh /usr/bin/convert.sh
1313

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
VERSION ?= n4.2-dev
1+
VERSION ?= 4.1.3
22
CACHE ?= --no-cache=1
3-
FULLVERSION ?= n4.2-dev
3+
FULLVERSION ?= 4.1.3
44
archs ?= amd64 arm32v5 arm32v7 arm64v8 i386 aarch64
55

66
.PHONY: all build publish latest

convert.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ for f in **/*.{avi,ogm,wmv,AVI,OGM,WMV,flv,FLV,mkv,MKV,mov,MOV,m4v,M4V}; do
88
printf '\033[1;34;40m'
99
echo "Converting $f"
1010
printf '\033[0m'
11-
avconv -i "$f" -strict experimental -c:v libx264 "${f:0:-4}.mp4" && rm "$f"
11+
ffmpeg -i "$f" -strict experimental -c:v libx264 "${f:0:-4}.mp4" && rm "$f"
1212
done
1313
for f in **/*.{divx,DIVX,webm,WEBM}; do
1414
printf '\033[1;34;40m'
1515
echo "Converting $f"
1616
printf '\033[0m'
17-
avconv -i "$f" -strict experimental -c:v libx264 "${f:0:-5}.mp4" && rm "$f"
17+
ffmpeg -i "$f" -strict experimental -c:v libx264 "${f:0:-5}.mp4" && rm "$f"
1818
done

0 commit comments

Comments
 (0)