summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rwxr-xr-xtools/convert2theora4
-rw-r--r--tools/process-video21
2 files changed, 16 insertions, 9 deletions
diff --git a/tools/convert2theora b/tools/convert2theora
index 887718d..93f464f 100755
--- a/tools/convert2theora
+++ b/tools/convert2theora
@@ -41,9 +41,9 @@ if [ ! -f "$BASENAME.ogv" ] ; then
--contact "$CONTACT" \
> "$BASENAME.ogv-compresslog" 2>&1
else
- ffmpeg2theora $1 -o $BASENAME.ogv
+ ffmpeg2theora $1 -o $BASENAME.ogv \
# --width 384 --height 288
- # > "$BASENAME.ogv-compresslog" 2>&1
+ > "$BASENAME.ogv-compresslog" 2>&1
fi
else
echo "$BASENAME.ogv allready exist!"
diff --git a/tools/process-video b/tools/process-video
index e575ab1..a545427 100644
--- a/tools/process-video
+++ b/tools/process-video
@@ -9,14 +9,21 @@ if [ -z "$2" ]; then
exit 1
fi
+echo "Checking diskspace..."
./check_diskspace $1
-./audio_channels_diff $1
-./intro $1 $2
-./outro $1 $2
-./join_video $NAME-new.$FORMAT $NAME-intro$FORMAT $1 $NAME-outro$FORMAT
+echo "Checking that both audio channeles is equal..."
+#./audio_channels_diff $1
+echo "Generating intro..."
+#./intro $1 $2
+echo "Generating outro..."
+#./outro $1 $2
+echo "Joining videoes..."
+#./join_video $NAME-new.$EXT $NAME-intro.$EXT $1 $NAME-outro.$EXT
-# todo: bli kvitt mv..
+#mv $1 $NAME-old.$EXT
+#mv $NAME-new.$EXT $1
+
+echo "Converting to theora..."
./convert2theora $1 $2
-mv $NAME-new.ogv $NAME.ogv
+echo "Converting to vorbis..."
./convert2vorbis $1 $2
-mv $NAME-new.ogg $NAME.ogg