61

(14 replies, posted in General)

I updated the original post with links to 2024.1.1

Links
   
    Kinovea-2024.1.1.exe (installer)
    Kinovea-2024.1.1.zip (self contained archive)

This is a minor release mainly addressing the crash when exporting to Excel and updating translations.

Fixes

    Fixed - General: in preferences, capture folders selectors were not working.
    Fixed - General: using the portable version from within a synchronized OneDrive directory could cause a crash.
    Fixed - Export: exporting spreadsheet to Microsoft Excel was causing a crash.
    Fixed - Export: copy image to clipboard wasn't working correctly.
    Fixed - Player: keyboard shortcuts weren't working for dual screen commands when the focus is on an individual screen.
    Fixed - Player: timeline position wasn't restored correctly after an export operation.
    Fixed - Annotations: resucitated drawings after undo of delete of a keyframe were not properly registered for tracking.
    Fixed - Annotations: grabbing of lines perfectly vertical or horizontal wasn't working.
    Fixed - Annotations: positions of drawings during rendering were not accurate inside the pixel.
    Fixed - Camera motion: reset of camera motion data wasn't working.

Translation updates

    Spanish, Croatian, Indonesian, Japanese, Korean, Polish, Chinese (traditional), Russian, Ukrainian.

This is the current state of translation:
(If you see your language below but it's not available in the interface it's because the translation is too incomplete, contributions are very welcome, click on the image to go to weblate.).

https://www.kinovea.org/setup/kinovea.2024.1/2024.1.1/weblate.png

Just so you know the code base is going through some heavy refactoring right now related to multi-instance use-case.

You are right that there is no place in the UI that would tell the user which plugins they have installed and loaded correctly or got an issue on load, that would be good to have.

The rest is probably a discussion for github as it's more development related.

For the time being you need to check the logs. Each plugin will write down at least one line when they initialize.

2698 - DEBUG - [Main] - RootKernel - Loading built-in camera managers.
2703 - INFO  - [Main] - CameraTypeManager - Initialized DirectShow camera manager.
2716 - INFO  - [Main] - CameraTypeManager - Initialized IP Camera camera manager.
2717 - INFO  - [Main] - CameraTypeManager - Initialized Camera simulator camera manager.
2717 - DEBUG - [Main] - RootKernel - Loading camera managers plugins.
2731 - DEBUG - [Main] - CameraTypeManager - Loaded camera plugins manifests.
3036 - INFO  - [Main] - CameraTypeManager - Initialized GenICam camera manager.

Regarding logs there were recent changes:
- the logs are now only at level WARN by default so they won't print any of that, you need to go to "Help > Enable debug logs" to see these messages logged.
- the logs are now inside the Logs folder rather than at the root of the application data folder.
- each instance is logging to its own log file.

Then the camera discovery runs at non-regular intervals when you are on the camera explorer tab. For the GenICam plugin you should see the whole tree of GenTL providers. Then while you are on the camera tab you should see the discovery result lines at regular intervals. The interval is adaptive.

343075 - DEBUG - [Main] - CameraTypeManager - Discovered 1 cameras in 1205 ms. (DirectShow: 0 (1 ms), IP Camera: 0 (0 ms), Camera simulator: 1 (0 ms), GenICam: 0 (1204 ms)).

I usually open the log file in BareTail so it auto-update continuously and you can highlight certain words.
https://baremetalsoft.com/baretail/

The browser might support more protocols than Kinovea, make sure to configure the camera so it produces an MJPEG stream. If that's already the case and the browser can access the stream while Kinovea can't, it could be a firewall block.

64

(9 replies, posted in General)

Hi,  I will look into the dual replay sync issues. Could you describe the image size and frame rate of each camera, I'll emulate the same to investigate. They are both 720 x 540 @520 fps?

For color, when you are using a Bayer stream format (telltale is the little grid pattern on top of the black and white frames) you have two options:

1. Debayering on the fly: in the camera parameters check the "Enable software demosaicing". This will add a little overhead so if it makes things even worse regarding dropped frames try the second option.

2. Debayering during playback: in Preferences > Capture > General > Record uncompressed video. This ensures the raw frames are saved as-is to the file which is necessary for this to work as we need pixel perfect precision to retain the Bayer grid data all the way. Then when loading videos in the player: Image > Demosaicing and selecting the Bayer format. Note that these raw uncompressed files are not supported by many media players and those that support it might not have the option to rebuild color during playback.

For the first approach I realize that since you are using "retroactive" mode there could be a third way where the debayering is done at the end during the saving process. This is not implemented at the moment.

(color cameras always start with these patterned B&W images but they do the debayering on the hardware, which is not necessarily faster and requires 3 times the bandwidth, that's why the only way to get the top frame rate advertised by the vendor is to go with the bayer format. Also don't bother with the higher bit depth formats like 10 bit or 12 bit, Kinovea doesn't use them, they get converted the same and just eat bandwidth for no additional benefit).

Debes hacer una calibración del espacio con una linea o una cuadrícula. Haz clic derecho y "Calibrar".
https://www.kinovea.org/help/en/measure … ation.html

66

(1 replies, posted in Bug reports)

Hi, that definitely sounds like a bug.
Could you connect to one of the machine and go to the log folder (via help menu) and then collect the files whose name start with "Unhandled exception"? These contain the last things the program was doing before the issue and will help me identify exactly where the problem is. Send them to joan at kinovea dot org or create an issue on github and attach them there.
If possible also collect the log.txt and log.txt.1 files, send these ones via mail only as they can sometimes contain personal data like file paths.
Thank you.

67

(2 replies, posted in General)

Currently there is no option to default the trigger to "armed" but it can be added, I'll write it down.

68

(2 replies, posted in General)

Hi, sorry for the late response.

In general users don't see or use the image based coordinates. The pixel coordinates (when there is no calibration) is aligned to the bottom-left of the pixels, not to their centers.
There are several confounding factors, in particular the way the image is painted on screen with pixel offset and bilinear interpolation. But arithmetic between pixel locations should work the same. Several functions return fractional pixel positions (zooming in, tracking, calibration).

It's hard to describe without making things even more confusing, so I'll post an image. This is a 4x4 image magnified, with the 4 center pixels colored in. I disabled pixel offset and bilinear interpolation (this could be an option if you need this for research). In yellow is Kinovea default coordinate system.

https://www.kinovea.org/screencaps/2024.1/pixel-grid-coordinates.png

So if your image coordinates start at the top-left of the top-left pixel, then the center is at 2, 2. This is what the KVA file will store in the calibration node. If your image coordinates start at the center of the top-left pixel, then the center is at 1.5, 1.5, which is maybe what you expected.

But as mentioned this is confounded by the rendering options, pixel offset mode will make it so everything is pre-offset by half a pixel, this is relevant when the user selects locations in the image. I'm not saying this is bug-free, but the tracking work done last autumn makes me think there is no issue that would be as large as a half pixel, let me know if you find something problematic.

I think the only moment where this would be relevant is if you have an external system giving you pixel-based coordinates.

No, right now there is no way to snap the time of the cells to match key images.

70

(2 replies, posted in General)

There is not really any mechanism to load CSV files at the moment but it could be done. What does the data contain?

Hi,
Unfortunately there is a bug with dual recording commands in the released version. The ones for single capture screen should work, can you confirm that? This script seems massively useful.

I fixed the issue in the source code a while back but haven't made progress on the other things I wanted to include in the next release.

This is great, thanks!

73

(1 replies, posted in General)

Yes, the program still doesn't support sound at the moment.

When opening a new file it limits the number of thumbnails created to a small number to avoid it taking too long and only creates the thumbnails later when navigating to them.

Hi, yes it's possible. You need version 2024.1 and then you use ALT key + scroll backward or forward with the mouse wheel while hovering above the cell. This will change the time reference of the cell.

I added some documentation here: https://www.kinovea.org/en/forum/viewtopic.php?id=1973

It won't automatically import the key images you have previously selected. It's an independent process, you'll have to configure the kinogram for say, 5x1 cells first, and then move each cell in time to find the right spot.