Thumbnailing videos taken by camera is very slow (over 5 seconds on BQ)

Bug #1428558 reported by Florian Boucault
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gstreamer (Ubuntu)
Invalid
High
Unassigned
gstreamer1.0 (Ubuntu)
New
Undecided
Unassigned
thumbnailer (Ubuntu)
Invalid
High
Unassigned

Bug Description

Steps:

1. Shoot a 1080p video with the camera
2. Go to the camera roll of the camera and wait for the video thumbnail to show up

It takes a long time before the thumbnail is finished generating.

Revision history for this message
Florian Boucault (fboucault) wrote :

Something like 1 second out of the 5+ seconds it takes on BQ is due to https://bugs.launchpad.net/thumbnailer/+bug/1425009

Changed in thumbnailer:
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Michi Henning (michihenning) wrote :

With the new thumbnailer, I don't think that's still an issue. On my Nexus 4, I see the thumbnail in less than a second.

Revision history for this message
Michi Henning (michihenning) wrote :

I spoke too soon, it's still slow. However, not because of anything in thumbnailer, but because gstreamer takes a long time to extract a thumbnail.

The code we use to extract thumbnails is in lp:thumbnailer, in the src/vs-thumb directory. It's only a few dozen lines long.

Changed in gstreamer (Ubuntu):
importance: Undecided → High
Revision history for this message
Michi Henning (michihenning) wrote :

Due to instability in gstreamer, we are currently limiting the number of concurrent vs-thumb processes. On __arm__, if max-extractions = 0 (which is the default), we adjust max-extractions to 1, so only one vs-thumb process executes at a time.

It's still possible to force more than one concurrent vs-thumb by setting max-extractions to a non-zero value (useful for testing). For example:

gsettings set com.canonical.Unity.Thumbnailer max-extractions 2

Changed in gstreamer (Ubuntu):
status: New → Invalid
Revision history for this message
Michi Henning (michihenning) wrote :

Changing to "triaged" for thumbnailer because we are the meat in the sandwich.

Changed in thumbnailer:
status: Confirmed → Triaged
Changed in thumbnailer (Ubuntu):
status: New → Triaged
importance: Undecided → High
no longer affects: thumbnailer
Revision history for this message
Michi Henning (michihenning) wrote :

It doesn't look like anything will ever be done to fix this, so I'm closing this for thumbnailer.

Changed in thumbnailer (Ubuntu):
status: Triaged → Invalid
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.