Browse Source

was falsly sending neg

master
rbeck4 3 years ago
parent
commit
1ab8e882f9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      transcode.sh

+ 1
- 1
transcode.sh View File

@ -182,7 +182,7 @@ do
currFrames=$( ffprobe -loglevel error -select_streams s:$SUBTITLEINDEX \
-show_entries stream_tags=NUMBER_OF_FRAMES-eng -of csv=p=0 \
"$tmpDIR/$fileNAME")
if [ ! $( echo "($currFrames / $maxFrames) < 0.50"|bc -l ) ]
if [ $( echo "($currFrames / $maxFrames) < 0.50"|bc -l ) ]
then
echo "BURNING STREAM $SUBTITLEINDEX (STREAM $minINDEX) from $fileNAME"
burnSubs "$tmpDIR/$fileNAME" "$tmpDIR/TMP$fileNAME" "$workDIR/$fileNAME" $SUBTITLEINDEX

Loading…
Cancel
Save