GNOME Bugzilla – Bug 648341
When project is reopened, start/end keyframes are incorrectly positioned
Last modified: 2011-09-03 05:11:31 UTC
Not sure if this is something specific to the versions of GStreamer, PyGTK, etc in Ubuntu Natty, but it is a quite serious bug: https://bugs.launchpad.net/ubuntu/+source/pitivi/+bug/766671 With this bug, PiTiVi is only usable if you complete the entire edit without reopening the file. Steps: 1) Add a single clip and drag onto the timeline 2) Trim some off the start and end of this clip, drag left to position it at start of timeline 3) Save the file, and note that clip will look like it does in 1st attached screenshot (pitivi-okay.png) 4) Close PiTiVi, then reopen again, load project, and clip will be totally broken like it does in 2nd attached screenshot (pitivi-broken.png)
Created attachment 186401 [details] pitivi-okay.png This shows the timeline before reopening the project.
Created attachment 186402 [details] pitivi-broken.png This shows the same project after saving the file, closing PiTiVi, then reopening, loading project. Notice how the keyframe for the end of this clip is now positioned at about 75% toward the end rather than at the very end. When I render, it renders based on the position of this keyframe rather than the real stop point. As a work around, if you select the entire timeline and drag it around a bit, then some recalculation happens
I'm unable to reproduce this in either pitivi git or pitivi 0.13.5 on Ubuntu 10.10 or Fedora 15... Maybe cairo broke again in ubuntu 11.04? Do you get any tracebacks/errors? Can you reproduce this outside of ubuntu 11.04?
I haven't had a chance to try reproducing this outside of Ubuntu 11.04... but I've used PiTiVi a lot on Ubuntu 10.10 and never encountered this. I don't believe this is a cairo issue as it doesn't just display incorrectly, it *renders* incorrectly. My hunch is there is a problem with either writing or loading the xptv file.
Oh, no traceback, it's just incorrect.
Also, note that there have been no changes in PiTiVi between Ubuntu 10.10 and 11.04: http://changelogs.ubuntu.com/changelogs/pool/main/p/pitivi/pitivi_0.13.5-1ubuntu4/changelog So this is a behavior that manifests because of the specific versions of GStreamer and whatever else shipping in Ubuntu 11.04. The question is why.
Created attachment 186617 [details] the xptv This is the xptv file from the example, forgot to attach earlier.
I'm getting the same behaviour on my Ubuntu 11.04. Pitivi 13.5. Upon opening the file, I get the following traceback: /usr/lib/pitivi/python/pitivi/formatters/etree.py:181: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem' or 'elem is not None' test instead. input_streams = element.find("input-streams") or [] /usr/lib/pitivi/python/pitivi/formatters/etree.py:363: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem' or 'elem is not None' test instead. if curves_element: /usr/lib/pitivi/python/pitivi/application.py:284: Warning: g_object_set_qdata: assertion 'G_IS_OBJECT (object)' failed self.mainloop.run()
I can't reproduce in Pitivi 0.14.2 Ubuntu Oneiric and the same version from git master. Closing the Bug, feel free to reopen the bug is still is valid in the version 0.14.2. thank :-)