← Back to team overview

openshot.developers team mailing list archive

Re: [Bug 676133] Re: Problems with speed and reverse

 

Hi !

  I tried you test, but if I change Speed to 1/2 and Direction to
Reverse on a split video, I can have any image on the preview neither,
It stays white.

Thanks for your help.

Best regards.

None


On 24/11/2010 16:35, cenwen wrote:
> In fact, yes.
> You can used it. Do a test like this. 
> In a video clip, appy a slow speed (in the tab speed). You look the application of the effect in the preview. In the middle, stop it. After, clic on the previous button (the 3 in the left) and see the result.
>
> -- Problems with speed and reverse
> https://bugs.launchpad.net/bugs/676133 You received this bug
> notification because you are a direct subscriber of the bug. 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 To unsubscribe from this bug, go to:
> https://bugs.launchpad.net/openshot/+bug/676133/+subscribe

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





References