Here is what I'll call beta1 of the perl script. I have tested it under windows and linux. If you need perl for windows you can get it
here.
Here are the options for the script:
-d DIRECTORY Set the directory to start in. This must be the full path i.e. D:/media/video (windows) or /home/media/video (*nix). The default will be the current directory.
-r Recurse directories. This will read every file in every directory under the starting folder.
-s SECONDS Set where, in seconds, to grab the thumbnail from the video. Default is 5 seconds.
-o Overwrite existing thumbnails. Default will skip files that already have thumbnails.
EXAMPLE:
Create thumbnails at 5 minutes in for all files in the current folder and all files in the directories below
xbmctbn.pl -r -s 300
Let me know if you have any problems or requests. Currently it will work on .mpg .mpeg .avi .mov .wmv and .vob files. It should be pretty obvious how to add others in the script or just ask and I will add them.
DOWNLOAD:
xbmctbn_b01.zip
Again, thanks to hoki_goujons for the original idea.