MediaPortal Forums HTPC/MediaCenter

Go Back   MediaPortal Forum » MediaPortal 1 » Community Skins and Plugins » Plugins


Plugins Plugins developed and maintained by users. Want to create your own plugin? Start a thread in here.

View Poll Results: Do you need a plugin for creating thumbnails?
Yes 56 84.85%
No 4 6.06%
I dont know 6 9.09%
Voters: 66. You may not vote on this poll

Reply
 
LinkBack (2) Thread Tools Display Modes
Old 2008-06-18, 13:40   2 links from elsewhere to this Post. Click to view. #1 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 640
Thanks: 4
Thanked 40 Times in 10 Posts

Country:

My System

Smile Thumbnailer (process plugin) - creates automaticly thumbnails from video files

Who doesnt need thumbnails from the videos for a good overview?

I need it and have tryed various solution to get thumbnails with more or less success
So i created now a process plugin which creates automaticly the thumbnails from the video files



What does the plugin?

- creates/deletes thumbnails automaticly if a video file is created, changed, deleted...
- creating "folder.jpg" if its needed and only one file are in the folder
- picture size from the thumbnails are adjustable
- video time where the thumb is taken can be entered
- uses the ffmpeg.exe for creating the thumbs
- handles up to 5 folders(!)
- needs minimum resources
- it just works

Attached are the sources and the plugin as a mpi file.

What are the next steps?
- integrating the tv recordings so that there a thumbs too


CAUTION: if you start MP the first time with this plugin and you have a lot of video files the start maybe slow... but the second start is without any slownes


Log:

05.08.2008
- tv recording thumbs
- own offset for tv recordings and videos
- initial start delay

thx
MoPhat
Attached Files
File Type: rar Thumbnailer - tv.rar (1.95 MB, 76 views)

Last edited by MoPhat; 2008-08-05 at 20:48.
MoPhat is offline   Reply With Quote
3 Users Say Thank You:
Old 2008-06-18, 17:18   #2 (permalink)
Super Moderator
 
Spragleknas's Avatar
 
Join Date: Dec 2005
Location: Rogaland
Age: 32
Posts: 3,396
Thanks: 143
Thanked 61 Times in 51 Posts

Country:

My System

Default

Good idea. So good that someone already did this?
See: http://forum.team-mediaportal.com/pl...version-39181/
__________________
Please read -> HOW TO START A SUPPORT THREAD !!!
Support MediaPortal! Donate by clicking HERE
Dedicated HTPC board (Norway) -> MSPC.no
Spragleknas is online now   Reply With Quote
Old 2008-06-19, 08:45   #3 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 640
Thanks: 4
Thanked 40 Times in 10 Posts

Country:

My System

Default

@Spragleknas

Yes i have seen this... but i need a solution that the thumbnails are created automaticly if a file is copied/changed/deleted etc... and there are no source code

i copy the code after a few testings to a process plugin so that the thumbs are created in the background of MP

have you tryed the test app, and works at your machine?

thx
MoPhat
MoPhat is offline   Reply With Quote
Old 2008-06-19, 13:06   #4 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 640
Thanks: 4
Thanked 40 Times in 10 Posts

Country:

My System

Default

Check post #1, release attached.

MoPhat
MoPhat is offline   Reply With Quote
Old 2008-06-19, 17:38   #5 (permalink)
Portal Member
 
Join Date: Jan 2007
Location: Dortmund
Posts: 931
Thanks: 6
Thanked 39 Times in 36 Posts

Country:

My System

Thumbs up

super, läuft gut.
was mir noch fehlt ist die angabe des thumb-ordner.

ps: und dann müsste noch "jemand" das #TV.RecordedTV.thumb wieder umstellen vom chanel-logo
auf die bilder, dann hätten wir ja das wieder was früher schonmal ging.

no english
__________________
HTPC: Shuttle MN31N (nf.2 ), Ath. XP 3000+ 166Mhz, 1024MB, ATI 2600Pro (AGP) m. Treiber ATI 8.7, Terratec Cinergy S2 PCI HD,
XP-PRO SP3, MP-1.0 RC2+server+SVN 20010, P. DVD 8, LCD-KS108-128*64, Q-Sonic X10
Testsystem: Biostar-TForce4 SLI, Ath. x2 4200 (oc. 5000), 2GB, Rad. 1950XT m. Treiber ATI 8.7, KNC ONE DVB-S,
Win-XP-SP3, MP-1.0 RC2+server+SVN 20010, P. DVD 8, Q-Sonic X10
diskeeper is offline   Reply With Quote
Old 2008-06-19, 20:53   #6 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 640
Thanks: 4
Thanked 40 Times in 10 Posts

Country:

My System

Default

@diskeeper

Hi habe heute gerade mal den Code von TvPlugin angeschaut und den auskommentierten Code von der Thumb erzeugung gefunden (!)...

Werde dies mal mit den Änderungen kompilieren und mal testen ob dies funktioniert

Ähhh, wozu benötigst du einen "thumb-ordner"???
Die Bilder werden immer dort hin gelegt wo die Video Datei ist.

thx
MoPhat
MoPhat is offline   Reply With Quote
Old 2008-06-19, 21:55   #7 (permalink)
Portal Member
 
Darre's Avatar
 
Join Date: Apr 2007
Age: 23
Posts: 641
Thanks: 73
Thanked 42 Times in 34 Posts

Country:


Default

Really cool, will make it better to browse files that arent IMDB'able or working in TV-series plugin =) I'll have a look when I'm done moving.
Darre is offline   Reply With Quote
Old 2008-06-20, 09:53   #8 (permalink)
Super Moderator
 
Spragleknas's Avatar
 
Join Date: Dec 2005
Location: Rogaland
Age: 32
Posts: 3,396
Thanks: 143
Thanked 61 Times in 51 Posts

Country:

My System

Default

Since this is the English part of the forum:
Quote:
Originally Posted by diskeeper View Post
super, is good.: thx:
I was still missing is the indication of the thumb-folder.

ps: and then would have to be "someone" # TV.RecordedTV.thumb change again, chanel-logo
in the pictures, then yes we would have again what the past ever went.
Quote:
Originally Posted by MoPhat View Post
@diskeeper

Hi have today just the code of TvPlugin viewed and auskommentierten code from the Thumb generation found (!)...

Will this change with the times and compile times to test whether this works

Ähhh what you need to get a "thumb-folder"?
The images are always laid out where the video file.
- Google translate
__________________
Please read -> HOW TO START A SUPPORT THREAD !!!
Support MediaPortal! Donate by clicking HERE
Dedicated HTPC board (Norway) -> MSPC.no
Spragleknas is online now   Reply With Quote
Old 2008-06-20, 11:50   #9 (permalink)
Portal Member
 
Join Date: Jan 2007
Location: Dortmund
Posts: 931
Thanks: 6
Thanked 39 Times in 36 Posts

Country:

My System

Default

Quote:
Originally Posted by MoPhat View Post
Ähhh, wozu benötigst du einen "thumb-ordner"???
Die Bilder werden immer dort hin gelegt wo die Video Datei ist.
naja, die funktion das von den aufnahmen ein bild erzeugt wird gab es ja schon mal in mp.
diese bilder wurden, wenn ich mich recht erinnere, in einem speziellen thumb-ordner abgelegt.
war bzw. ist im pfad
C:\Dokumente und Einstellungen\All Users\Anwendungsdaten\Team MediaPortal\MediaPortal\thumbs\tv\Recorded
ja noch vorhanden und falls das mal wieder so werden sollte müsste man den pfad ja angeben.

Quote:
well, the function of the recordings that a picture is created, there were times already in mp.
these pictures, if I remember correctly, in a special thumb folders stored.
was or is in the path
C: \ Documents and Settings \ All Users \ Application Data \ Team Media Portal \ Media Portal \ thumbs \ tv \ Recorded
still exist and if so which again should be the path should be yes.
for Spragleknas, goggle translate
__________________
HTPC: Shuttle MN31N (nf.2 ), Ath. XP 3000+ 166Mhz, 1024MB, ATI 2600Pro (AGP) m. Treiber ATI 8.7, Terratec Cinergy S2 PCI HD,
XP-PRO SP3, MP-1.0 RC2+server+SVN 20010, P. DVD 8, LCD-KS108-128*64, Q-Sonic X10
Testsystem: Biostar-TForce4 SLI, Ath. x2 4200 (oc. 5000), 2GB, Rad. 1950XT m. Treiber ATI 8.7, KNC ONE DVB-S,
Win-XP-SP3, MP-1.0 RC2+server+SVN 20010, P. DVD 8, Q-Sonic X10
diskeeper is offline   Reply With Quote
Old 2008-06-20, 13:11   #10 (permalink)
MP Donator
 
MoPhat's Avatar
 
Join Date: Jun 2007
Location: Berg, Switzerland
Age: 35
Posts: 640
Thanks: 4
Thanked 40 Times in 10 Posts

Country:

My System

Default

@diskeeper

I have found the code place where are the thumbs displayed in the tv recordings, its in the file TvRecorded.cs from TvPlugin on Line 791

it sould instead of this:

Code:
string strLogo = Utils.GetCoverArt(Thumbs.TVRecorded, Utils.SplitFilename(Path.ChangeExtension(aRecording.FileName, Utils.GetThumbExtension())));
be this:

Code:
string strLogo = Thumbs.TVRecorded + @"\" + Utils.SplitFilename(aRecording.FileName).Replace(".mpg", ".png").Replace(".ts", ".png");
...and shure the thumbs should be under the folder "..\Team MediaPortal\MediaPortal\thumbs\tv\Recorded"


i can compile the plugin but the list is every time empty
the list ist also empty if i download the latest svn and do only compile it with vs2005 pro...(!?)

that do i'am wrong - or how to compile the tvplugin correctly?

thx
MoPhat
MoPhat is offline   Reply With Quote
Reply

Bookmarks

Tags
automaticly, creates, plugin, process, thumbnailer, thumbnails, video

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump

LinkBacks (?)
LinkBack to this Thread: http://forum.team-mediaportal.com/plugins-47/thumbnailer-process-plugin-creates-automaticly-thumbnails-video-files-41250/
Posted By For Type Date
HTPC, MediaPortal - - iXBT.com This thread Refback 2008-08-15 10:43
HTPC, MediaPortal [30] - iXBT.com This thread Refback 2008-07-18 22:12

Similar Threads
Thread Thread Starter Forum Replies Last Post
Video thumbnailer(Updated 09-08-08) Rick164 Plugins 7 2008-08-09 01:08
Video thumbnails blackburn_ watch/edit Videos 9 2007-08-26 09:05
Where are the My Video thumbnails stored at? Jeomite Support 2 2007-03-04 22:30
No Video thumbnails? Lexen Support 9 2007-02-12 19:32
My Video Thumbnails dman_lfc Improvement Suggestions 5 2004-10-20 17:46


All times are GMT +1. The time now is 07:41.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 Protected by Akismet Blog with WordPress