Added Dockerfile and conversion script

This commit is contained in:
0xFEEDC0DE64 committed 2018-04-03 19:06:28 +02:00
1 parent 62327e4c6d
commit 93d1566f77
2 files changed
+19

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
FROM ubuntu:artful
RUN apt update \
&& apt install ffmpeg -y \
&& rm /var/lib/apt/lists/* /var/log/* -Rf
ADD script.sh /
VOLUME ["/music"]
WORKDIR /music
ENTRYPOINT ["/bin/sh", "/script.sh"]
Executable
+6
View File
@@ -0,0 +1,6 @@
#!/bin/bash
for f in *.wav
do
ffmpeg -i "$f" -ab 320k -map_metadata 0 -id3v2_version 3 "${f%.wav}.mp3"
done