← Back to team overview

openshot.developers team mailing list archive

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

 

I had the 0.5.6

The same issue with 0.5.10

$ aptitude show melt
Package: melt                           
State: installed
Automatically installed: yes

None


On 25/11/2010 18:09, cenwen wrote:
> Ah i have done an error. Sorry. I have not test with the reverse function but just only with the preview without this one.
> It was a bug of MLT and i was believing that was resolved. I am using the version 0.5.10 and you ? 
> sudo apt-cache policy melt
>
> -- 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