]>
git.rmz.io Git - dotfiles.git/blob - bin/ffmerge
4 echo "Usage: $(basename $0) INPUT... -o OUTPUT"
5 echo " or: $(basename $0) INPUT... 3> OUTPUT"
6 echo "Merge INPUT(s) videos to single OUTPUT"
10 while [ "$#" -gt 0 ]; do
21 echo "$(basename $0): No output file after '-o'" >&2
22 echo "Try '$(basename $0) --help' for more information." >&2
32 inputs
=( "${inputs[@]}" "$1" )
38 while [ $interactive ]
41 echo "$(basename $0): merging '${inputs[@]}' to '${output}'"
42 echo "Do you want to continue? [Y/n] "
57 mencoder
-forceidx -ovc copy
-oac copy
"${inputs[@]}" -o "$output"
59 echo "$(basename $0): No output arguments" >&2
60 echo "Try '$(basename $0) --help' for more information." >&2