After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 337967 - avoid black frames as video thumbnails in the source list
avoid black frames as video thumbnails in the source list
Status: RESOLVED FIXED
Product: pitivi
Classification: Other
Component: Media library
Git
Other Linux
: Normal enhancement
: 0.13.4
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2006-04-10 16:04 UTC by Edward Hervey
Modified: 2010-02-21 16:01 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Edward Hervey 2006-04-10 16:04:27 UTC
Thumbnailing currently only thumbnails the first frame of the video. Most videos start with black (fade-in), which is completely useless.
Comment 1 Alan Horkan 2006-07-16 08:17:39 UTC
> Most videos start with black 

It is even worse than that, not only do most start with a fade in many more start with some kind of opening credits (a rather obnoxious waste of bandwidth to put it right at the start of a stream).  If for example you thumbnail movie trailers you tend to get a whole lot of ugly green MPAA warnings and other junk.  

On windows I use a thumbnail browser called Xnview which includeds video thumbnailing and I'm fairly sure it uses the second keyframe to avoid this kind of thing (there may be cleverer ways to automatically pick a more useful thumbnail image to represent the stream but on balance grabbing one of the first few keyframes sounds like the best to me).  
Comment 2 Jean-François Fortin Tam 2007-03-21 03:52:52 UTC
Why not take a keyframe from the ¼ of the movie length? The start/ends are often for credit rolls/warnings, and the middle is often used for commercial breaks.
Comment 3 Thijs Vermeir 2007-03-30 13:52:08 UTC
Don't forget that pitivi is a movie EDITOR, not only a viewer/converter.
When you create a new project most data will be raw unedited data. Only when you make a compilation you have to import data with credits/warnings/... I think most people will edit new data, so seeing the first I-frame can be handy.
Comment 4 Brandon Lewis 2008-11-04 05:19:40 UTC
Some sources will have default in/out points. Perhaps the thumbnail should be based on one of those (probably the in-point). If the user adjusts the default in/out point for a source (which you currently can't do, but we might potentially add support for that), then the thumbnail should refresh.
Comment 5 Jean-François Fortin Tam 2010-02-05 23:58:13 UTC
Nobody is working on this, removing the "ASSIGNED" status.
Comment 6 Alessandro Decina 2010-02-21 14:58:07 UTC
commit 5490685bce980683a09d28973e768438eda0f170
Author: Alessandro Decina <alessandro.d@gmail.com>
Date:   Sun Feb 21 15:52:34 2010 +0100

    discoverer: seek at duration / 3 when generating thumbnails.
Comment 7 Jean-François Fortin Tam 2010-02-21 16:01:17 UTC
It works. The only downside is that it will crash pitivi if encountering problems such as bug #610613