My build of nnn with minor changes
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

vidthumb 559 B

il y a 5 ans
il y a 4 ans
123456789101112131415161718192021222324252627
  1. #!/usr/bin/env sh
  2. # Description: Generate video thumbnails and view them
  3. #
  4. # Requires:
  5. # ffmpegthumbnailer: https://github.com/dirkvdb/ffmpegthumbnailer
  6. # lsix: https://github.com/hackerb9/lsix
  7. #
  8. # Shell: POSIX compliant
  9. # Author: Arun Prakash Jana
  10. mkdir .nthumbs > /dev/null 2>&1
  11. for file in *; do
  12. if [ -f "$file" ]; then
  13. ffmpegthumbnailer -i "$file" -o .nthumbs/"${file%%.*}".jpg 2> /dev/null
  14. fi
  15. done
  16. # render thumbnails in lsix
  17. lsix .nthumbs/*
  18. # remove the thumbnails
  19. rm -rf .nthumbs
  20. printf "Press any key to exit..."
  21. read -r _