DVDs with many titles take a LONG time to thumbnail
Bug #74312 reported by
Tristan Brindle
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
KungFu |
Fix Released
|
High
|
Jason Gerard DeRose |
Bug Description
Disc 2 of Fight Club (region 2) has 60 short titles containing the usual DVD extras such deleted scenes and so on. Kung Fu takes a very long time -- over 10 minutes -- to create thumbnails for this disc.
This problem is exacerbated by the fact that Kung Fu automatically starts scanning the DVD drive upon startup, and doesn't offer the user any option to cancel thumbnail generation.
Changed in kungfu: | |
assignee: | nobody → jderose |
importance: | Undecided → High |
status: | Unconfirmed → Confirmed |
Changed in kungfu: | |
status: | Confirmed → In Progress |
To post a comment you must log in.
Thank you for your bug report.
I already knew that this is a problem in KungFu, although I haven't personally encountered a DVD for which it is such a terrible problem, so your report helps alert me to the severity. Obviously 10 minutes to create the thumbnails is beyond ridiculous. Plus, Fight Club is a great movie, so KungFu better work well with it. ;)
Part of the problem lies in KungFu, part of the problem in GStreamer (specifically dvdreadsrc).
KungFu should (1) allow the user to abort the thumbnail generation process, while maintaining what is currently completed and (2) have a progress bar showing titles completed to total titles. I'll make sure to add both of these for 0.2.0.
On the GStreamer side, dvdreadsrc is just really slow at this sort of thing, in part because I have to go down to STATE_READY to be able to change the title, and then back up to STATE_PAUSED to read the title duration or create the thumbnail. My new dvdsrc element allows switching the title without this, which should help.
Thoggen gets around this in part by using libdvdread directly to retrieve information about the DVD. To do the same with KungFu, I need to either (1) write Python bindings for libdvdread, which as far as I know don't exist yet, or (2) add some sort of DVD-table- of-contents signal (and/or property) to dvdsrc so that I can access this information through the regular GStreamer API. I plan to do the latter.
First I'll see what I can do about some quick improvements on the KungFu side. I'll post a comment here once a fix as available in kungfu/trunk.