This error is happening because libmlt is claiming that the video file
is -1 frames long. That is, self.p.get_length() in the thumbnailer is
returning 0x7fffffff for this file. Suggest perhaps an
assert(self.p.get_length() < 0x7fffffff) in the thumbnailer, this causes
openshot to gracefully reject the file. I also made a small test script
as follows:


import mlt

p = mlt.Producer(mlt.Profile('quarter_ntsc'), 'openshot_test.mkv')
print p.get_length()


This segfaults with no output.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/927755

Title:
  Dragging video to timeline eats RAM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openshot/+bug/927755/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to