HOW-TO create video-preview thumbnails on a PC for XBMC

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Bazzio Offline
Junior Member
Posts: 29
Joined: Jan 2006
Reputation: 0
Post: #11
what verison do you have?
find quote
Bazzio Offline
Junior Member
Posts: 29
Joined: Jan 2006
Reputation: 0
Post: #12
aparently pthreadGC2.dll is missing, so i cant use your version
grrrr
find quote
Bazzio Offline
Junior Member
Posts: 29
Joined: Jan 2006
Reputation: 0
Post: #13
ok
finally got it working

Rather than 5 seconds, i wanted to do it with about a min in. Sometimes expecially on movies there is only an intro around 5 secs, so it doesnt make a very good thumbnail.

however this takes a lot more time to process.

Is there a way you can tell it to ignore the file if a tbn is present, this way updates will be a lot quicker
find quote
kugai Offline
Junior Member
Posts: 7
Joined: Sep 2006
Reputation: 0
Post: #14
If there is interest I can probably throw together a perl script or something like that to make this a little easier. I'll try to get something up in the next few days.
find quote
Bazzio Offline
Junior Member
Posts: 29
Joined: Jan 2006
Reputation: 0
Post: #15
that would be awesome
find quote
huscoolcal Offline
Junior Member
Posts: 42
Joined: Oct 2006
Reputation: 0
Post: #16
Hi Bazzio, how did you resolve the error I m getting the same issue.
find quote
huscoolcal Offline
Junior Member
Posts: 42
Joined: Oct 2006
Reputation: 0
Post: #17
No problem was able to get it to work using the link for the previous version provided thanks!!
find quote
Bazzio Offline
Junior Member
Posts: 29
Joined: Jan 2006
Reputation: 0
Post: #18
kugai - any luck with that script?
find quote
kugai Offline
Junior Member
Posts: 7
Joined: Sep 2006
Reputation: 0
Post: #19
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.
find quote
kugai Offline
Junior Member
Posts: 7
Joined: Sep 2006
Reputation: 0
Post: #20
Ok, I've aleady noticed that there is a problem with the recurision (-r) mode not working right. It should work ok otherwise. I will post a new fixed version soon. Sorry for the inconvience.
find quote