Introduction:
My daily job is to cut out ads from recorded videos. First, I move the mouse cursor to the area where the ad is. Then I use the arrow keys to find exactly where the ad starts or ends. I keep the arrow keys + Ctrl pressed and I watch the fast-changing scene of the video with my eyes. As soon as the eyes register that I have crossed the place where the advertisement begins or ends, I release the pressed keys. And now the problem: when editing the H264 and H265 video, the VRD6 is not able to handle many keystroke messages in short time so quickly, and even though I've already released the keystrokes, it still takes a few seconds (even on a fast PC with i9-10900 CPU, 1GB NVMe drive, 32GB RAM and even with enabled Cache in VRD6) than VRD6 handles keystrokes that are in the queue and this is very annoying (I have to wait on the end of it before I can continue and when it ends - video scene is on different position than I release the keys - this is next problem). I need to shred (discard) all other presses in the message queue when I no longer hold down the keys. Because I process a lot of videos every day, I have to work this way, I can't wait and I can't work by this way: make one press of the arrows and wait and then one more press and wait again and then again and again...- I wouldn't do anything.
I have a simple solution to this problem:
You should be add a new configuration parameter, and if the time difference between the keystroke and the time when VRD6 processes it is greater than the value of this parameter, VRD6 would do nothing. If the value of this parameter will be 0, everything would work in old manner.


In the source code of the application, it could be written like this:
My daily job is to cut out ads from recorded videos. First, I move the mouse cursor to the area where the ad is. Then I use the arrow keys to find exactly where the ad starts or ends. I keep the arrow keys + Ctrl pressed and I watch the fast-changing scene of the video with my eyes. As soon as the eyes register that I have crossed the place where the advertisement begins or ends, I release the pressed keys. And now the problem: when editing the H264 and H265 video, the VRD6 is not able to handle many keystroke messages in short time so quickly, and even though I've already released the keystrokes, it still takes a few seconds (even on a fast PC with i9-10900 CPU, 1GB NVMe drive, 32GB RAM and even with enabled Cache in VRD6) than VRD6 handles keystrokes that are in the queue and this is very annoying (I have to wait on the end of it before I can continue and when it ends - video scene is on different position than I release the keys - this is next problem). I need to shred (discard) all other presses in the message queue when I no longer hold down the keys. Because I process a lot of videos every day, I have to work this way, I can't wait and I can't work by this way: make one press of the arrows and wait and then one more press and wait again and then again and again...- I wouldn't do anything.
I have a simple solution to this problem:
You should be add a new configuration parameter, and if the time difference between the keystroke and the time when VRD6 processes it is greater than the value of this parameter, VRD6 would do nothing. If the value of this parameter will be 0, everything would work in old manner.


In the source code of the application, it could be written like this:
Code:
if (Discard_timeout > 0 and (Current_time - Time_of_key_press) > Discard_timeout) then do_nothing_(discard_this_key_press)
else do_action_for_this_key_press()
Last edited: