← Back to team overview

openshot.developers team mailing list archive

[Bug 676133] Re: Problems with speed and reverse

 

*** This bug is a duplicate of bug 667806 ***
    https://bugs.launchpad.net/bugs/667806

** This bug has been marked a duplicate of bug 667806
   Reversing a clip places the wrong part if it's trimmed
 * You can subscribe to bug 667806 by following this link: https://bugs.launchpad.net/openshot/+bug/667806/+subscribe

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

Title:
  Problems with speed and reverse

Status in OpenShot Video Editor:
  New

Bug description:
  ## Problem with speed :

    Length of a video part does not update when I want to play it
  slower.

    I needed to comment some part of the code to make it working :

    openshot-1.2.2/windows/ClipProperties.py : 808
      ##if speed_multiplier < original_speed:
        # clip is longer now (keep the short version)
        ##clip_object.end_time = clip_object.start_time + original_length
      ##else:
        # clip is shorter
      clip_object.end_time = new_end_time

  
  ## Problem with reverse :

    When I want to play a part of a video in reverse, it does not keep the good part of the video
    I changed a part of the code :

    openshot-1.2.2/windows/ClipProperties.py : 813
      if localcboDirection.lower() == _("Reverse").lower():
        clip_object.reversed = True
        tmp = clip_object.start_time
        clip_object.start_time = clip_object.max_length - clip_object.end_time
        clip_object.end_time = clip_object.max_length - tmp
      else:
        clip_object.reversed = False

  But I'm not too good in coding... it works but only at normal speed.
  when I want to make it slower, I have an other part of the video again





References