Comment 1 for bug 74312

Revision history for this message
Jason Gerard DeRose (jderose) wrote :

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.