Originally posted by HalationEffect
View Post
VINNY
#!/usr/bin/perl use strict; use warnings; use Time::HiRes qw( usleep ualarm gettimeofday tv_interval nanosleep clock_gettime clock_getres clock_nanosleep clock stat ); # path to the thumbnail directory (large) my $dir = ("/home/oneline/.thumbnails/large/"); # number of video files my $stopCount = (147); my $count = (0); my $timerSet = (0); my ($startTime); while ($count < $stopCount) { if (($count > 0) && ($timerSet == 0)) { $startTime = gettimeofday; $timerSet = 1; } my @files = <$dir/*>; $count = @files; } my $endTime=gettimeofday; print "Time: ", $endTime-$startTime, " s \n";
cat /usr/share/kde4/services/ffmpegthumbs.desktop
cat /usr/share/kde4/services/kffmpegthumbnailer.desktop
cat /usr/share/kde4/services/videopreview.desktop
Leave a comment: