MPlayerThumbs

Video Apps

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

5
5.0
Description:

MPlayerThumbs is a video thumbnail generator for KDE file managers (Konqueror, Dolphin, ...) , now available also for KDE 4.
It needs mplayer (of course) to generate thumbnails, and it contains no linking to any library, so in a x86_64 system you can freely use the 32bit mplayer binary with win32codecs by configuring the application launching the mplayerthumbsconfig helper application.
It catches a random frame from 15% to 70%, checking also how contrasted is the image, and dropping bad frames.
Last changelog:

12 years ago

2009-02-11 MPlayerThumbs 1.2
* Fixed build with kde 4.2 (thanks Pino Toscano)

2008-07-18 MPlayerThumbs 1.1
* Re-adding strips, and making them dynamically configurable
* Adding option to clear cache in mplayerthumbsconfig
* Optimizing the code to use an unique directory to store thumbs, to avoid
confusing thumbs for different files

2008-06-20 MPlayerThumbs 1.0
* First stable release
* Porting to KDE 4
* Refactoring code, for more stability and speed
* Also KDE 4 adds for us a free feature, random thumbnail generation on
the preview on the information toolbar on each mouseover ;)

2006-07-10 MPlayerThumbs 0.5b
* Fixed thumbnail generation when files have not an extension.
2006-07-01 MPlayerThumbs 0.5
* Adding -ao null option instead of -nosound
* Adding custom arguments configuration to mplayerthumbsconfig
* Cleaning code, removing check for local/remote files, and threating
all them as local, since kio already provides us a good support for
remote files.
* Option to add "blacklisted" extensions with mplayerthumbsconfig

Kaboosh

11 years ago

It produces fantastic-looking previews, however it is incredibly slow over an network mount. If it would limit the "randomness" of the preview position to the first 60-seconds or so of the video it would probably eliminate this problem.

Otherwise it's great to have previews without putting up with arts - blech!!

Report

Kaboosh

11 years ago

OK scratch that, I modified the code and it didn't work.

If someone can find out why it's accessing the whole file (unbearable for a 4GB video file) just to generate a thumbnail then this plugin will be worth it's salt...until then...back to arts - blech!!

Report

cbonar

11 years ago

Hi,

I've same problem : over a sshfs mounted remote directory, it takes way too much time to seek the files (several minutes for a 700M movie).

Since sshfs is a fuse filesystem, I assume the first bytes of the video are immediatly available to the filesystem, so there should be a way to have a thumbnail quickly no ?

Other than that, it's working quite well.

Note that I had loop=0 as a default option in my ~/mplayer/config, and that was making thumbnail generation last forever. I solved it adding the -noloop option using mplayerthumbsconfig.

Report

Lucretia

12 years ago

hi, mplayerthumbs eats all cpu while generating thumbnails, but this happens everytime i enter a directory with videos or even when i refresh the video directory, why doesnt it save the thumbnails somewhere but generate them all over again ?

Report

Ganchans

12 years ago

I've build a rpm for SuSE 10.1,

you can find it here :

http://ganchans.googlepages.com/

Report

gardodaman

12 years ago

i just upgraded to the latest version of mplayerthumbs (0.5) and i get this error:

SwScaler: Warning: dstStride is not aligned!
SwScaler: ->cannot do aligned memory acesses anymore
/opt/bin/mplayer32: symbol lookup error: /opt/bin/mplayer32: undefined symbol: jpeg_stdio_dest


can anyone help me out on this one?

Report

tocha

12 years ago

I need this one, but cant download your sources. I can resolve server IP but cant find a route to it. traceroute wont complete...

Is there any other place I can get it?? please.

Report

C

RockMan81

12 years ago

I added a mirror link

Report

tosta

12 years ago

We have problems getting thumbnails from big and incomplete videos. Incomplete videos plays audio in high speed (mplayer is called with "-nosound" of couse, but don't work).

My solution was patch videopreview.cpp to replace "-nosound" with "-ao null" and add a "-sstep 5" to decrease time to get thumbs.

Follow is a link to the patch:

http://www.ekaaty.com.br/patches/mplayerthumbs-0.4b-aonull.patch

Report

C

RockMan81

12 years ago

Done. I replaced -nosound with -ao null.. but i didn't add the -sstep option, it wasn't working for me.
Anyway, i added support for custom arguments, just run mplayerthumbsconfig. you can add -sstep there.
Thanks!

Report

gohanz

12 years ago

A SlackWare TGz package with SlackBuild Script is Ready to DownLoad!!!

http://www.slacky.it/

http://www.slacky.it/index.php?option=com_remository&Itemid=29&func=fileinfo&id=1217

Report

gardodaman

12 years ago

mplayerthumb is trying to create a video thumbnail out of a subtitle file (file.sub). what it does on my system (amd64) is to eat all my ram(1gig) and swap(2gig). pls make mplayerthumb differentiate files between videos and subtitles. it took quite a while to kill the mplayer process.

Report

landice

12 years ago

I think it should be a bug in mplayer, Every time I accidentally play a *.sub file with mplayer I have to reset the computer, which is very bad since it makes the debug process really unpleasant. :(

Report

C

RockMan81

12 years ago

Ok. I added support to blacklisted extensions, just run mplayerthumbsconfig.

Report

C

RockMan81

12 years ago

video/*,application/vnd.ms-asf,application/vnd.rn-realmedia
Actually it doesn't read extensions, but mimetypes.
If the .sub extension is configured as a video application in your system, i can't do anything.. please check this

Report

gohanz

12 years ago

Whith the last version, it work fine on my Slackware!;)

Report

google01103

12 years ago

It seems to have compiled ok but I have no idea how to find or start it. I did the config script and restarted konqueror but don't see anything. And it didn't show in plugins

thanks,

Report

kriko

12 years ago

Logout and login again into your KDE environment.
Make sure you configured (SuSe) with:
--prefix=`kde-config --prefix`

Report

kucrut

12 years ago

ok, so if I do ./configure && make, it finished with warning:
*** Warning: Linking the executable mplayerthumbsconfig against the loadable module
*** videopreview.so is not portable!

And if i use the ebuild (sed line removed), i got:
make[2]: *** No rule to make target `../src/videopreview.la', needed by `mplayerthumbsconfig'. Stop.

Any clue? Thanks!

Report

C

RockMan81

12 years ago

Fixed compilation order.
I tried the ebuild, and now it works.
Thanks for reporting.

Report

linmain

12 years ago

checking for mplayer-bin... no
checking for mplayer... (cached) no
configure: error: no mplayer binary found and none specified




i've my mplayer in /usr/local/bin/ perhaps that helps you

Report

C

RockMan81

12 years ago

Yes, i know, i'm working on it for 0.4 version, out soon.. (for previous message too..)

Report

HessiJames

12 years ago

well done.
btw. the detection of mplayer didn't work, so i had to set --with-mplayer=/usr/bin/mplayer.

http://kaligames.de/rpms/mplayerthumbs-0.3-1.i586.suse10.1.rpm

Report

kriko

12 years ago

I can't see any output:
-vo jpeg:outdir (or you ment in source code?)

Mplayer processes are launched, but they die after some time, now I reopened my folder with movies and first movie in folder had thumbail, which is bizzare. Mplayerthumbs 0.3 seems to work but not reliable.
Do you have 0.2 version still somewhere? That worked for me like a charm (fast, without problems).

Report

C

RockMan81

12 years ago

same url, replace 0.3 with 0.2

Report

12 years ago

2009-02-11 MPlayerThumbs 1.2
* Fixed build with kde 4.2 (thanks Pino Toscano)

2008-07-18 MPlayerThumbs 1.1
* Re-adding strips, and making them dynamically configurable
* Adding option to clear cache in mplayerthumbsconfig
* Optimizing the code to use an unique directory to store thumbs, to avoid
confusing thumbs for different files

2008-06-20 MPlayerThumbs 1.0
* First stable release
* Porting to KDE 4
* Refactoring code, for more stability and speed
* Also KDE 4 adds for us a free feature, random thumbnail generation on
the preview on the information toolbar on each mouseover ;)

2006-07-10 MPlayerThumbs 0.5b
* Fixed thumbnail generation when files have not an extension.
2006-07-01 MPlayerThumbs 0.5
* Adding -ao null option instead of -nosound
* Adding custom arguments configuration to mplayerthumbsconfig
* Cleaning code, removing check for local/remote files, and threating
all them as local, since kio already provides us a good support for
remote files.
* Option to add "blacklisted" extensions with mplayerthumbsconfig

12345678910
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
1.2
updated Feb 11 2009
added Jun 20 2006
downloads today
0
page views today 14
System Tags app software