Avidemux Forum

Avidemux => Main version 2.6 => Topic started by: heru on June 10, 2018, 07:02:02 AM

Title: Bug new version 2.7.1
Post by: heru on June 10, 2018, 07:02:02 AM
Hello,

Since the new version, when I erase a sequence in a video, I have a succession of jerk when I move back frame by frame.

I am on Windows 10 x64.

After reinstalling the 2.7.0, more bug ...

That's it, for my return ..

Good Sunday.
Title: Re: Bug new version 2.7.1
Post by: eumagga0x2a on June 10, 2018, 12:57:58 PM
Please define "a succession of jerk".

As a rule, when you delete a portion of video between keyframes A and B, the last playback position is equal B. After deletion, Avidemux tries to keep the last displayed image of the video, in this case the keyframe at B. To go to a previous image, Avidemux has to find the previous keyframe which is now the last keyframe before A and decode the full GOP until the image with the highest presentation timestamp still below B pops out. Depending on the GOP length, this may be very time consuming, so it is technically impossible to provide a smooth frame-by-frame navigation backward.
Title: Re: Bug new version 2.7.1
Post by: Jan Gruuthuse on June 10, 2018, 01:18:14 PM
Remove existing .idx2 files for the used video filenames before loading the video if these exist!
Try with keyboard up/down arrow only and see if playing preview is running smoothly. Could be something going on with indexing?
Title: Re: Bug new version 2.7.1
Post by: heru on June 11, 2018, 01:51:21 PM
Hello !

No matter the settings, since when I'm under the old version of avidemux, no bug ..

Thanks anyway.
Title: Re: Bug new version 2.7.1
Post by: eumagga0x2a on June 18, 2018, 10:11:38 PM
I think I could reproduce the bug. It has nothing to do with deleting a sequence in a video. Starting playback, stopping it and moving back frame by frame a couple of times (or just once) suffices. After that, frames are output in wrong order. This is a regression from 2.7.0. Will look into the issue, thanks.
Title: Re: Bug new version 2.7.1
Post by: eumagga0x2a on June 18, 2018, 10:22:41 PM
I know now which particular optimization caused the bug, but not why. Will be fixed soon.
Title: Re: Bug new version 2.7.1
Post by: eumagga0x2a on June 19, 2018, 08:38:15 AM
Should be fixed by [editor/nextPicture] Update lastReadPts when the next image has been found in the cache (https://github.com/mean00/avidemux2/commit/fa6bfd5b1f0638f6e0e6fc76888b96b519fc7037).
Title: Re: Bug new version 2.7.1
Post by: eumagga0x2a on June 25, 2018, 05:13:11 PM
Please try the latest nightly (r180625 or later): https://avidemux.org/nightly/win64/
Title: Re: Bug new version 2.7.1
Post by: heru on June 26, 2018, 01:54:26 PM
Thank you very much !

I will test with version 2.7.1_r180625

Have a good day.
Title: Re: Bug new version 2.7.1
Post by: heru on June 26, 2018, 04:45:06 PM
Impeccable eumagga, that was it.

Thank you for the answer.

Good continuation.  8)