Browse Source

be nice

production
simon 2 months ago
parent
commit
da11b18979
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      files/default/linux/misc/video_integrity_check.sh

+ 2
- 2
files/default/linux/misc/video_integrity_check.sh View File

@@ -65,7 +65,7 @@ do
echo ------------------------------------
echo Checking $FILENAM ....
echo
echo /usr/bin/ffmpeg -i \"$FILENAM\" -v error -f null - 2\>\"$FILENAM.ffmpeg_checked.working\"
echo nice -n 20 /usr/bin/ffmpeg -i \"$FILENAM\" -v error -f null - 2\>\"$FILENAM.ffmpeg_checked.working\"
echo

touch "$FILENAM.ffmpeg_checked.working"
@@ -77,7 +77,7 @@ do
echo Never here
fi
time /usr/bin/ffmpeg -nostdin -i "$FILENAM" -v error -f null - 2>"$FILENAM.ffmpeg_checked.working"
time nice -n 20 /usr/bin/ffmpeg -nostdin -i "$FILENAM" -v error -f null - 2>"$FILENAM.ffmpeg_checked.working"
echo output $?
ERRCOUNT=`grep -i error "$FILENAM.ffmpeg_checked.working" |wc -l`

Loading…
Cancel
Save