„to_opus.sh“ ändern
This commit is contained in:
parent
da3ff32cf7
commit
ffe4465ebf
1 changed files with 2 additions and 2 deletions
|
@ -45,9 +45,9 @@ for file in **/*.@($extension); do
|
|||
}')
|
||||
|
||||
|
||||
is_video=$(ffprobe "$file" -v 0 -show_entries stream=codec_type -of compact=p=0:nk=1:s="\ " | grep video)
|
||||
is_video=$(ffprobe -i Hair.m4v -v 0 -select_streams V -show_entries stream=codec_type)
|
||||
if [[ -n "$is_video" ]]; then
|
||||
echo "$file could possibly be a video file and will not be converted"
|
||||
echo "$file is a video file and will not be converted"
|
||||
else
|
||||
eval "$command" && rm "$file"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue