diff options
-rwxr-xr-x | localvideowebencode | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/localvideowebencode b/localvideowebencode index d43285a..9fb22fd 100755 --- a/localvideowebencode +++ b/localvideowebencode @@ -46,7 +46,7 @@ Examples: Arguments can be passed directly to the melt avformat consumer. If multiple input files are provided, they are merged together and -output files are named based on first input file. +output files are named based on last input file. Default options are optimal for 320x240 (qvga) and similar. Suggested bitrates: @@ -97,7 +97,7 @@ if [ $# -eq 0 ]; then fi # input filename (mandatory) -infile="$1" +infile="${$#}" [ -e "$infile" ] || exit1 "Input file missing!" filebase=$(echo "$infile" | perl -pe 's/\.[^.]*//') |