← Back to team overview

openshot.developers team mailing list archive

[Bug 676133] [NEW] Problems with speed and reverse

 

Public bug reported:

## 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

** Affects: openshot
     Importance: Undecided
         Status: New

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

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





Follow ups

References