diff --git a/bin/convertofut b/bin/convertofut index c9d3d75..df857f8 100755 --- a/bin/convertofut +++ b/bin/convertofut @@ -39,12 +39,11 @@ 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 -i "$file" $options "${output_file}" & + ffmpeg -loglevel quiet -i "$file" $options "$output_file" & done -while [ "$(jobs -p)" ]; do - fg -done +wait