gnome-video-thumbnailer unable to process file

Bug #187136 reported by Brian Murray
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
totem (Ubuntu)
Fix Released
Low
Ubuntu Desktop Bugs

Bug Description

Binary package hint: totem

1) Hardy Heron
2) 2.21.90-0ubuntu3

I executed the following command to create a thumbnail per Pedro's instructions on #ubuntu-bugs:

GST_DEBUG_NO_COLOR=1 GST_DEBUG=5 gnome-video-thumbnailer ~/tmp/JLA-pilot.mpg thumbnail.jpg 2> thumbnail-creation.log

I received the following message when trying to index that video:

gnome-video-thumbnailer couln't process file: '/home/theman/tmp/JLA-pilot.mpg'
Reason: Took too much time to process.

Revision history for this message
Brian Murray (brian-murray) wrote :

I appended the error I received to the log file too.

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thanks for your report, subscribing slomo that may have an idea of what happened ,thanks Brian.

Changed in totem:
assignee: nobody → desktop-bugs
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Kimiko Koopman (kimiko) wrote :

This bug is still present in totem-gstreamer 2.23.3-0ubuntu1 (from intrepid I think). About 90% of .mkv video files end up with default video icons instead of proper thumbnails. .xsession-errors shows the same error as given above. "gnome-video-thumbnailer couldn't process file: ..." and "Reason: Took too much time to process.". .avi videos seem to work just fine. I don't have any .mpeg videos around at the moment to check that format.

Revision history for this message
Chris H. (ahmshaegar) wrote :

Hi, just want to say I have this error also. I also want to say that if I cd into ~/.thumbnails/fail/gnome-thumbnail-factory and keep deleting all those failed thumbnails, then refreshing the directory in nautilus, I can eventually get thumbnails for all the files that failed. I suppose a workaround would be to adjust the timeout of gnome-video-thumbnailer? Is there a way for us to do that? I'll be searching on Google, I guess.

Revision history for this message
Chris H. (ahmshaegar) wrote :

Sorry for the double-post, but I have better luck generating thumbnails using totem-xine. By that I mean installing totem-xine, then telling gnome-video-thumbnailer to use totem-xine.

For anyone who is new to Ubuntu and who lands on this page via a search engine, here are the instructions.
1. open a terminal (gnome-terminal)
2. sudo apt-get install totem-xine
3. sudo update-alternatives --config gnome-video-thumbnailer
4. select /usr/bin/totem-xine-video-thumbnailer, which should be option 2

Thumbnailing is faster for me (and also much more reliable.) Perhaps this should be the default if gstreamer can't be/isn't fixed?

Revision history for this message
greyor (greyor) wrote :

Chris, thank you so much. I've had problems with thumbnails ever since 8.04, and your workaround fixed it immediately for me. I thought I'd never get them working -- I thought it was a Pulseaudio problem or something of the like, but I guess GStreamer just wasn't happy. I'd recommend this fix to others as well, as it worked brilliantly for me.

Revision history for this message
Brian Murray (brian-murray) wrote :

I've tested the same mpg file using gnome-video-thumbnailer from totem-gstreamer version 2.26.1-0ubuntu5 on Jaunty Jackalope and was unable to recreate the bug. Additionally, I also tested with an mkv file and was unable to recreate the bug.

Changed in totem (Ubuntu):
status: Confirmed → Fix Released
Revision history for this message
Roni Laukkarinen (roni-laukkarinen) wrote :

I have this problem too, and got stuck in the phase 3 (by Chris):
update-alternatives: error: no alternatives for gnome-video-thumbnailer.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.