1

Hi there,

I'm using Kinovea 0.9.1.

I've been having inconsistent issues setting the start of a Working Zone for video clips. It does seems to work for some videos but not for others.

When it is not working, it will go through the Processing Images screen but when I play the video after that, it goes back to the original start point. It happens when using single screen or dual screen. I tried to work around it with the dual screen by syncing the videos the current frame I wanted but it flipped to the original start frame again.

Not sure why I'm having this issue!

2 (edited by timmek 2023-03-26 12:08:45)

I have got same issue.
I've set The working zone slider from 0 to 4859.
Popup window with progress bar showed up. When the progress barr was fulfilld, popup deisapeard and the working zone slider was back to 0 position.

log.txt

663080 - DEBUG - [Main] - VideoReaderFFMpeg - Update working zone request. [0 --> 8330] to [4859 --> 8330]. Force reload:False
663080 - DEBUG - [Main] - VideoReaderFFMpeg - Working zone update. Current:[0 --> 8330], Asked:[4859 --> 8330]
663080 - DEBUG - [Main] - VideoReaderFFMpeg - Just entering the cached mode, import everything.
663080 - DEBUG - [Main] - VideoReaderFFMpeg - Switching decoding mode. PreBuffering -> Caching
663080 - DEBUG - [Main] - VideoReaderFFMpeg - Stopping prebuffering thread.
663080 - DEBUG - [Main] - PreBuffer - Unblocking prebuffering thread and making room for a non blocking addition.
663080 - DEBUG - [PreBuffering] - VideoReaderFFMpeg - PreBuffering thread, cancellation detected.
663080 - DEBUG - [PreBuffering] - VideoReaderFFMpeg - Exiting PreBuffering thread.
663080 - DEBUG - [Main] - VideoReaderFFMpeg - New frames to cache needed:[4859 --> 8330]
663080 - DEBUG - [CacheFilling] - VideoReaderFFMpeg - Caching section [4859 --> 8330], prepend:False
663237 - DEBUG - [CacheFilling] - VideoReaderFFMpeg - Seeking to [4859] completed. Final position:[4864]
664722 - DEBUG - [CacheFilling] - VideoReaderFFMpeg - Switching decoding mode. Caching -> PreBuffering
664816 - DEBUG - [CacheFilling] - VideoReaderFFMpeg - Starting prebuffering thread.
664816 - DEBUG - [PreBuffering] - VideoReaderFFMpeg - PreBuffering thread started.
664816 - DEBUG - [Main] - VideoReaderFFMpeg - Changing decoding size from {Width=1920, Height=1080} to {Width=820, Height=460}
664816 - DEBUG - [Main] - VideoReaderFFMpeg - Stopping prebuffering thread.
664816 - DEBUG - [Main] - PreBuffer - Unblocking prebuffering thread and making room for a non blocking addition.
664847 - DEBUG - [PreBuffering] - VideoReaderFFMpeg - PreBuffering thread, cancellation detected.
664847 - DEBUG - [PreBuffering] - VideoReaderFFMpeg - Exiting PreBuffering thread.
664847 - DEBUG - [Main] - VideoReaderFFMpeg - Starting prebuffering thread.
664847 - DEBUG - [Main] - VideoReaderFFMpeg - Stopping prebuffering thread.
664847 - DEBUG - [PreBuffering] - VideoReaderFFMpeg - PreBuffering thread started.
664847 - DEBUG - [PreBuffering] - VideoReaderFFMpeg - PreBuffering thread, cancellation detected.
664847 - DEBUG - [PreBuffering] - VideoReaderFFMpeg - Exiting PreBuffering thread.
664847 - DEBUG - [Main] - PreBuffer - Unblocking prebuffering thread and making room for a non blocking addition.
664847 - DEBUG - [Main] - VideoReaderFFMpeg - Out of segment jump, clearing cache. Asked 0 in [-1 --> -1].
664862 - DEBUG - [Main] - VideoReaderFFMpeg - Starting prebuffering thread.
664862 - DEBUG - [PreBuffering] - VideoReaderFFMpeg - PreBuffering thread started.


Edit.
One more thing.
It looks like the issue occurrs only when caching is being made. (I do not know hot this software works, but I see this dependence).
I have opened different file.
I've set The working zone slider from 0 to 3063. The progress bar did not show up. In the log file I saw that there is no log: Switching decoding mode. PreBuffering -> Caching ... and in this case everything looks correct - the working zone slider stayed at position which I set (3063).

1008571 - DEBUG - [Main] - VideoReaderFFMpeg - Update working zone request. [0 --> 22973] to [3063 --> 22973]. Force reload:False
1008571 - DEBUG - [Main] - VideoReaderFFMpeg - Working zone update. Current:[0 --> 22973], Asked:[3063 --> 22973]
1008571 - DEBUG - [Main] - VideoReaderFFMpeg - New working zone does not fit in memory.
1008571 - DEBUG - [Main] - VideoReaderFFMpeg - Stopping prebuffering thread.
1008571 - DEBUG - [Main] - PreBuffer - Unblocking prebuffering thread and making room for a non blocking addition.
1008571 - DEBUG - [PreBuffering] - VideoReaderFFMpeg - PreBuffering thread, cancellation detected.
1008571 - DEBUG - [PreBuffering] - VideoReaderFFMpeg - Exiting PreBuffering thread.
1008571 - ERROR - [Main] - PlayerScreenUserInterface - Error while painting image.
1008571 - DEBUG - [Main] - VideoReaderFFMpeg - Out of segment jump, clearing cache. Asked 3063 in [17 --> 203].
1008587 - DEBUG - [Main] - VideoReaderFFMpeg - Seeking to [3063] completed. Final position:[3068]
1008603 - DEBUG - [Main] - VideoReaderFFMpeg - Starting prebuffering thread.
1008603 - DEBUG - [PreBuffering] - VideoReaderFFMpeg - PreBuffering thread started.

Edit 2
In some video files I reported this issue and in other files the issue does not exist.
In the topic Unable to save I showed this two different file. Maybe it will help to find source of the issue.