Compare commits
No commits in common. "8b7503541691b99b711d237d380afbcb1441f638" and "6c12abc834d89a28a8d9b061fa8fefc2b8ab8cf7" have entirely different histories.
8b75035416
...
6c12abc834
2 changed files with 6 additions and 5 deletions
|
@ -39,11 +39,8 @@ for file in **/*".${format_in}"; do
|
|||
while [ "$(jobs -p | wc -l)" -ge 10 ]; do
|
||||
sleep 1
|
||||
done
|
||||
echo "$(basename "$file")"
|
||||
output_file="${output}/$(dirname "$file")/$(basename "${file}" ".${format_in}").${format_out}"
|
||||
mkdir -p "$(dirname "${output_file}")"
|
||||
ffmpeg -loglevel quiet -i "$file" $options "$output_file" &
|
||||
ffmpeg -i "$file" $options "${output_file}" &
|
||||
done
|
||||
|
||||
wait
|
||||
|
||||
|
|
|
@ -60,5 +60,9 @@ ssh_com=(
|
|||
|
||||
# Execution
|
||||
set -x
|
||||
if port_is_free "${args[1]}"; then
|
||||
"${ssh_com[@]}"
|
||||
else
|
||||
echo "Port is not free, skipping."
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue