← Back to team overview

openshot.developers team mailing list archive

[Bug 927755] Re: Dragging video to timeline eats RAM

 

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 OpenShot
Developers, which is subscribed to openshot in Ubuntu.
https://bugs.launchpad.net/bugs/927755

Title:
  Dragging video to timeline eats RAM

Status in “openshot” package in Ubuntu:
  Confirmed

Bug description:
  I made a little demo video which is 15M .mkv containing h264/FLAC
  encoded.

  Import into openshot and then drag to the timeline. Computer freezes
  up as OpenShot eats all available memory and swap and eventually gets
  killed by the kernel OOM killer.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: openshot 1.4.0-1
  ProcVersionSignature: Ubuntu 3.2.0-14.23-generic 3.2.3
  Uname: Linux 3.2.0-14-generic x86_64
  ApportVersion: 1.91-0ubuntu1
  Architecture: amd64
  Date: Mon Feb  6 17:43:28 2012
  EcryptfsInUse: Yes
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120203)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: openshot
  UpgradeStatus: No upgrade log present (probably fresh install)

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


References