-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    LinuxDaily.com    Linux42.org    OpenSkillz.com   
 
Apps
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


Sponsoring


-
- Content .- Fans  . 

video thumbs idea

   0.1  

KDE Improvement

Score 76%
Link:  http://
Downloads:  658
Submitted:  May 29 2006
Updated:  May 30 2006

Description:

Hi everyone ! I have a lot of video on my hard drive and I have i think there is a problem with the video thumbs. I think it should be better to take an random frame in the film like in nautilus. The tumbs are useless in konqueror because most of time, the first frame is just black.
Just see the screenshot. I love konqueror so i think it should be better like that. Sorry for my bad english !
thank you :)




LicenseGPL
Send to a friend
Subscribe
Other  Apps  from ktulu77
Report inappropriate content



-
.

 I have a patch ..

 
 by campusloop on: May 30 2006
 
Score 50%

I have a patch which already does this but it rewrites the related kde installed files .. As such i don't want to upload it to kde-apps.org

If anybody wants it please suggest a site/place where i can upload the tarball.


Reply to this

-

 Re: I have a patch ..

 
 by abhay on: May 30 2006
 
Score 50%

Why don't you create a bug on bugs.kde.org and upload the patch? If the patch is stable enough then you might find it in official KDE release some day ;)


Reply to this

-

 Re: Re: I have a patch ..

 
 by campusloop on: May 30 2006
 
Score 50%

There is no point putting it up on bugs.kde.org. KDE4 is in active development and the videothumbnailer is going to be switched to phonon and the current code might be totally replaced.


Reply to this

-

 bugs.kde.org

 
 by ktulu77 on: May 30 2006
 
Score 50%

i had allready submited the idea on bugs.kde.org but no-one did anything.


Reply to this

-

 patched

 
 by ktulu77 on: May 30 2006
 
Score 50%

ok, i have tried campusloop's patch, it works !
thank you very much !
why have we to wait kde 4 for this so small patch ? it is too bad.


Reply to this

-

 Re: patched

 
 by Superstoned on: May 30 2006
 
Score 50%

it might end up in kde 3.5.4, if enough ppl ask for it...


Reply to this

-
.

 Strange

 
 by Ekardnam on: May 30 2006
 
Score 50%

It seems like some of the previews already shows random (?) frame. At least it's not the first frame(s).
Yes, I'm using Konqueror (3.5.2)


Reply to this

-

 Re: Strange

 
 by ktulu77 on: May 31 2006
 
Score 50%

yes, for some video format, it is random (just for mpeg if i remember) but all the others videos, it is the first frame.


Reply to this

-

 MPlayerThumbs

 
 by RockMan81 on: Jun 26 2006
 
Score 50%
RockMan81RockMan81
KMobileTools Development Team
Home
-
Marco Gulino 0

KMobileTools Development Team
Italy, Milano
Last visit May 13 2009
0 Friends
0 Groups

More info
Send a message
Add as friend
Other contents
--

I've started taking random frames in mplayerthumbs too.
Check it (it's here in kde-apps.org, too)


Reply to this

-
.

 Randome Frames

 
 by Shahid on: Jun 27 2007
 
Score 50%

By applying this patch, we have a random frames as thumbnails

diff -purN xine-thumbnail/thumbnail/videocreator.cpp xine-thumbnail.new/thumbnail/videocreator.cpp
--- xine-thumbnail/thumbnail/videocreator.cpp 2006-05-30 18:18:51.000000000 +0400
+++ xine-thumbnail.new/thumbnail/videocreator.cpp 2007-06-26 15:54:06.000000000 +0400
@@ -32,11 +32,13 @@
#include <qimage.h>
#include <qpainter.h>
#include <qpaintdevice.h>
+#include <qdatetime.h>

#include <iostream>

#include <kstandarddirs.h>
#include <kapplication.h>
+#include <krandomsequence.h>

#define XINE_ENABLE_EXPERIMENTAL_FEATURES 1

@@ -260,13 +262,18 @@ bool VideoCreator::create(const QString
int length;
bool canPlay = false;

- /* For streams for which length info is available seek to 1/3 file
+ /* For streams for which length info is available seek from 1/6 to 5/6 file
* or else play for the first 5-10 seconds and get the frame */
-
- if ( ((!xine_get_pos_length( stream, NULL, NULL, &length )) && xine_play( stream, 0, 5000 )) ||
- xine_play (stream, 21845, 0))
+ KRandomSequence* rand = new KRandomSequence(QDateTime::currentDateTime().toTime_t());
+ unsigned long rand_frame = rand -> getLong (45535) + 10000;
+ unsigned long rand_msec = rand -> getLong (5000) + 5000;
+
+ if ( ((!xine_get_pos_length( stream, NULL, NULL, &length )) && xine_play( stream, 0, rand_msec )) ||
+ xine_play (stream, rand_frame, 0))
canPlay = true;
-
+
+ // Destructor of KRandomSequence
+ rand -> ~KRandomSequence();

bool hasVideo = xine_get_stream_info (stream, XINE_STREAM_INFO_HAS_VIDEO);
bool videoHandled = xine_get_stream_info (stream, XINE_STREAM_INFO_VIDEO_HANDLED);


Reply to this

Add commentBack






-
-
Do you like or dislike Ubuntu Unity?
 Yes, unity is alien technology!
 It is less confusing than Gnome 3 default, shell.
 Granny thinks it is much more usable than Gnome 2
 Canonical is embarrasing itself with this split project
 Gnome 3 default shell is much better
 I dislike Unity, Gnome 3 default shell is alien technology!
 None of the above, I like the 2Gb for free and Apple alike behavior. Will post a comment instead

resultmore
 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Facebook App
Content RSS   
Events RSS   

Participate
Groups
Forum
Add App
Public API
About KDE-Apps.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2003-2014 KDE-Apps.org Team  
All rights reserved. KDE-Apps.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
KDE and K Desktop Environment are trademarks of KDE e.V.