[MPlayer-users] avi2mp4.sh: converts AVIs for iPod Video's
Sebastian Kemper
sebastian_ml at gmx.net
Thu Jan 17 17:12:18 CET 2008
1.0.7: - Add a little enhancement to function c; ability to return to
the n-th eclosing loop
- Fix two funtion c calls returning to the wrong loops
-------------- next part --------------
--- avi2mp4.sh.old 2008-01-17 17:08:20.000000000 +0100
+++ avi2mp4.sh.new 2008-01-17 17:08:15.000000000 +0100
@@ -17,7 +17,7 @@
# This script converts video files in batch mode to iPod (tm) compatible
# MP4s.
-VERSION="1.0.6"
+VERSION="1.0.7"
# History:
@@ -49,6 +49,9 @@
# - Print target bitrate and bpp
# - Unset LC_ALL and set LC_NUMERIC to POSIX to make sure we get
# dot instead of comma as decimal separator as bc expects a dot
+# 1.0.7: - Add a little enhancement to function c; ability to return to
+# the n-th eclosing loop
+# - Fix two funtion c calls returning to the wrong loops
# Notes:
@@ -161,7 +164,7 @@
function c {
unset -v ID_DEMUXER ID_VIDEO_WIDTH ID_VIDEO_HEIGHT ID_VIDEO_FPS ID_VIDEO_ASPECT \
VFOPTS ID_AUDIO_CODEC ID_AUDIO_NCH
-continue
+continue ${1}
}
function myidentify {
@@ -271,7 +274,7 @@
then
echo
echo "Input file not recognized as a valid media file. Skipping."
- c
+ c 2
fi
done
@@ -283,7 +286,7 @@
then
echo
echo "Input file properties invalid. Skipping."
- c
+ c 2
fi
done
More information about the MPlayer-users
mailing list