plugins/preview-tui | 2 +- diff --git a/plugins/preview-tui b/plugins/preview-tui index 18791fd66b02713ff42e90bef41e8343b12d8164..fdc79efc9e4459c6457e1d257a239e416ccf0448 100755 --- a/plugins/preview-tui +++ b/plugins/preview-tui @@ -393,7 +393,7 @@ filename="$(printf "%s" "${3##*/}" | cut -d. -f1)" mv "$NNN_PREVIEWDIR/${3%/*}/$filename.jpg" "$NNN_PREVIEWDIR/$3.jpg" ;; pdf) pdftoppm -jpeg -f 1 -singlefile "$3" "$NNN_PREVIEWDIR/$3" ;; djvu) ddjvu -format=ppm -page=1 "$3" "$NNN_PREVIEWDIR/$3.jpg" ;; - video) ffmpegthumbnailer -s0 -i "$3" -o "$NNN_PREVIEWDIR/$3.jpg" || rm "$NNN_PREVIEWDIR/$3.jpg" ;; + video) ffmpegthumbnailer -m -s0 -i "$3" -o "$NNN_PREVIEWDIR/$3.jpg" || rm "$NNN_PREVIEWDIR/$3.jpg" ;; esac fi if [ -f "$NNN_PREVIEWDIR/$3.jpg" ]; then