My build of nnn with minor changes
25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

5 yıl önce
5 yıl önce
4 yıl önce
123456789101112131415161718192021222324252627
  1. #!/usr/bin/env sh
  2. # Description: Generate video thumbnails and view them
  3. #
  4. # Dependencies:
  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 _