← Back to team overview

linux-traipu team mailing list archive

[Bug 1565141] Re: Crash on applying ChromaKey

 

reproduced issue on Win7 Ent x64 with 8GB RAM.

-- 
You received this bug notification because you are a member of UBUNTU -
AL - BR, which is subscribed to OpenShot Video Editor.
https://bugs.launchpad.net/bugs/1565141

Title:
  Crash on applying ChromaKey

Status in OpenShot Video Editor:
  New
Status in Ubuntu:
  New

Bug description:
  Ubuntu 14.04 x64
  RAM: 8GB
  Processor: Intel Core i5 CPU M 540 @ 2.53GHz x4
  Graphics: NVS 5100M/PCIe/SSE2
  Version of Openshot: 2.0.6 (Installed via PPA) & 2.0.7 (ran using downloaded .appimage)
  BZR Revision used (if any) : ?? not sure, can't find any packages called BZR
  MLT/melt version: libmlt6     0.9.3+git20141005.22abed67-0ubuntu0~sunab~trusty1   amd64
  FFmpeg (i.e.libavcodec) version : libavcodec54:amd64      6:9.18-0ubuntu0.14.04.1  amd64
  FFmpeg installation : libxine2-ffmpeg 1.2.4-2ubuntu1   amd64

  Steps to reproduce issue:
  Open Openshot
  import video / open saved project.
  switch to effects tab
  drag Chroma effect to video in timeline. 
  double click chroma color
  click "Pick Screen Color" button
  click spot on preview panel
  click OK. *** sometimes crashes here ***
  double click Fuzz, set new value, hit tab. *** sometimes crashes here ***

  
  Part of what is odd about this error is sometimes if I hit save between each step I can keep moving forward with adding new chroma effects. Because my bluescreen is not very good I'm having to build several chroma effects on the video in an attempt to remove all of the color variations. the issue starts happening more often the more chroma effects I add. If I keep saving my project after each change I'm sometimes able to add more chroma effects after I reopen the project file. But at some point ~15 chroma effects added to a video track it just keeps crashing after hitting ok on the color picker dialog. I've also been able to reproduce the issue running as my normal user and under SUDO. The orignal videos were recorded using my phone camera in MP4 format. I've tried a couple different recordings with the same results the general video info is below:

  Video:
  Length: 1 minute 1 second
  Container: Quicktime
  Dimensions: 1920x1080
  Codec: H.264
  Framerate: 30fps
  Bitrate: 17077 kbps

  Audio:
  Codec: MPEC-4 AAC
  Channels: Stereo
  Sample rate: 48Khz
  Bitrate: 96 kbps

  
  If you need any additional details please let me know.

  Last several console lines from a couple different crashes, gathered
  by running 2.0.7 from terminal.


  Crash after clicking OK on the chroma pick color dialog:
  timeline_webview:INFO $scope.SelectEffect
  properties_model:INFO Update item: effect
  properties_model:INFO updating clip properties model.
  properties_model:INFO Getting properties for frame 1: OrderedDict([('duration', {'closest_point_x': -1, 'memo': '', 'value': 0.0, 'max': 1800000.0, 'type': 'float', 'min': 0.0, 'name': 'Duration', 'readonly': True, 'keyframe': False, 'interpolation': 2, 'choices': [], 'points': 0}), ('end', {'closest_point_x': -1, 'memo': '', 'value': 0.0, 'max': 1800000.0, 'type': 'float', 'min': 0.0, 'name': 'End', 'readonly': False, 'keyframe': False, 'interpolation': 2, 'choices': [], 'points': 0}), ('fuzz', {'closest_point_x': 1, 'memo': '', 'value': 7.0, 'max': 10000.0, 'type': 'float', 'min': -10000.0, 'name': 'Fuzz', 'readonly': False, 'keyframe': True, 'interpolation': 2, 'choices': [], 'points': 1}), ('id', {'closest_point_x': -1, 'memo': 'GSOLMZ7KZL', 'value': 0.0, 'max': -1.0, 'type': 'string', 'min': -1.0, 'name': 'ID', 'readonly': True, 'keyframe': False, 'interpolation': 2, 'choices': [], 'points': 0}), ('color', {'closest_point_x': 1, 'memo': '', 'value': 0.0, 'green': {'closest_point_x': 1, 'memo': '', 'value': 46.0, 'max': 10000.0, 'type': 'float', 'min': -10000.0, 'name': 'Green', 'readonly': False, 'keyframe': True, 'interpolation': 1, 'choices': [], 'points': 1}, 'max': 10000.0, 'red': {'closest_point_x': 1, 'memo': '', 'value': 46.0, 'max': 10000.0, 'type': 'float', 'min': -10000.0, 'name': 'Red', 'readonly': False, 'keyframe': True, 'interpolation': 1, 'choices': [], 'points': 1}, 'type': 'color', 'min': -10000.0, 'name': 'Key Color', 'readonly': False, 'keyframe': True, 'interpolation': 1, 'blue': {'closest_point_x': 1, 'memo': '', 'value': 43.0, 'max': 10000.0, 'type': 'float', 'min': -10000.0, 'name': 'Blue', 'readonly': False, 'keyframe': True, 'interpolation': 1, 'choices': [], 'points': 1}, 'points': 1, 'choices': []}), ('layer', {'closest_point_x': -1, 'memo': '', 'value': 0.0, 'max': 1000.0, 'type': 'int', 'min': 0.0, 'name': 'Layer', 'readonly': False, 'keyframe': False, 'interpolation': 2, 'choices': [], 'points': 0}), ('position', {'closest_point_x': -1, 'memo': '', 'value': 0.0, 'max': 1800000.0, 'type': 'float', 'min': 0.0, 'name': 'Position', 'readonly': False, 'keyframe': False, 'interpolation': 2, 'choices': [], 'points': 0}), ('start', {'closest_point_x': -1, 'memo': '', 'value': 0.0, 'max': 1800000.0, 'type': 'float', 'min': 0.0, 'name': 'Start', 'readonly': False, 'keyframe': False, 'interpolation': 2, 'choices': [], 'points': 0})])
  properties_model:INFO {'start': 0.0, 'color': {'alpha': {'Points': []}, 'blue': {'Points': [{'interpolation': 1, 'co': {'Y': 43, 'X': 1}}]}, 'red': {'Points': [{'interpolation': 1, 'co': {'Y': 46, 'X': 1}}]}, 'green': {'Points': [{'interpolation': 1, 'co': {'Y': 46, 'X': 1}}]}}, 'fuzz': {'Points': [{'interpolation': 2, 'co': {'Y': 7.0, 'X': 1.0}}]}, 'id': 'GSOLMZ7KZL', 'layer': 0, 'duration': 0.0, 'order': 0, 'end': 0.0, 'type': 'ChromaKey', 'position': 0.0}
  properties_model:INFO looping points: co.X = 1
  properties_model:INFO updating point: co.X = 1 to value: 99.0
  properties_model:INFO looping points: co.X = 1
  properties_model:INFO updating point: co.X = 1 to value: 119.0
  properties_model:INFO looping points: co.X = 1
  properties_model:INFO updating point: co.X = 1 to value: 113.0
  Segmentation fault (core dumped)


  
  Crash after changing fuzz:
  preview_thread:INFO refreshFrame
  preview_thread:INFO self.player.Position(): 174
  properties_model:INFO fuzz for FR4P6F6832 changed to 15.0 at frame 1 with interpolation: -1 at closest x: 1
  properties_model:INFO {'type': 'ChromaKey', 'end': 0.0, 'start': 0.0, 'id': 'FR4P6F6832', 'layer': 0, 'order': 0, 'duration': 0.0, 'fuzz': {'Points': [{'co': {'X': 1.0, 'Y': 5.0}, 'interpolation': 2}]}, 'position': 0.0, 'color': {'alpha': {'Points': []}, 'red': {'Points': [{'co': {'X': 1, 'Y': 68}, 'interpolation': 1}]}, 'green': {'Points': [{'co': {'X': 1, 'Y': 81}, 'interpolation': 1}]}, 'blue': {'Points': [{'co': {'X': 1, 'Y': 93}, 'interpolation': 1}]}}}
  properties_model:INFO looping points: co.X = 1.0
  properties_model:INFO updating point: co.X = 1.0 to value: 15.0
  Segmentation fault (core dumped)

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


References