video thumbnailing slowed down by constant respawning of vs-thumb process
Bug #1425009 reported by
Florian Boucault
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Thumbnailer |
Fix Released
|
Undecided
|
James Henstridge | ||
gstreamer (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Part of the video thumbnailing being slow is due to the fact that the thumbnailing process (vs-thumb) is reforked for every video.
Related branches
lp:~jamesh/thumbnailer/vs-thumb-async
- Michi Henning (community): Approve
- PS Jenkins bot (community): Approve (continuous-integration)
-
Diff: 822 lines (+282/-244)5 files modifiedsrc/vs-thumb/thumbnailextractor.cpp (+194/-139)
src/vs-thumb/thumbnailextractor.h (+29/-7)
src/vs-thumb/vs-thumb.cpp (+27/-26)
tests/thumbnailer/thumbnailer_test.cpp (+1/-1)
tests/vs-thumb/vs-thumb_test.cpp (+31/-71)
Changed in thumbnailer: | |
status: | New → In Progress |
assignee: | nobody → James Henstridge (jamesh) |
Changed in thumbnailer: | |
status: | Fix Committed → Fix Released |
Changed in gstreamer (Ubuntu): | |
status: | New → Invalid |
To post a comment you must log in.
At a guess, I don't think it would be the fork. A fork/exec on my Nexus 4 takes about 80 ms. If it takes a whole second, there is something else going on. I suspect its the actual decoding that's to blame, not the fork/exec.