It's only to capture video at this point.
482 2020-07-11 11:53:34
Re: palyback captured video seems short time pause (17 replies, posted in General)
Yeah, in one of the logs there is for example this:
Frame #100. Conversion/Encoding: ~1.010 ms. Write: ~1.890 ms.
Frame #200. Conversion/Encoding: ~0.790 ms. Write: ~1.750 ms.
Frame #300. Conversion/Encoding: ~1.480 ms. Write: ~1.680 ms.
Frame #400. Conversion/Encoding: ~1.580 ms. Write: ~1.960 ms.
Frame #500. Conversion/Encoding: ~0.850 ms. Write: ~1.590 ms.
Frame #600. Conversion/Encoding: ~1.430 ms. Write: ~39.580 ms.
Frame #700. Conversion/Encoding: ~0.830 ms. Write: ~1.730 ms.
Frame #800. Conversion/Encoding: ~0.920 ms. Write: ~1.730 ms.
Frame #900. Conversion/Encoding: ~0.830 ms. Write: ~85.980 ms.
Frame #1000. Conversion/Encoding: ~1.030 ms. Write: ~7.390 ms.
The last number is the average write time in milliseconds over 100 frames. But the most likely where it's 39 or 85 is that there is a single frame that was blocked for several seconds for some reason. I've seen the same pattern when I put the target directory on the system drive.
483 2020-07-07 09:20:52
Re: palyback captured video seems short time pause (17 replies, posted in General)
So in the final recording there is a period of time where the time or frame counter advances but the image stays the same? Interesting. In that case that would mean the frames were duplicated at the source and the freezing would already exist either at the Pylon library level or the camera…
Could you send me a log file at joan at kinovea dot org? There is timing info while recording that could be interesting to analyze to see if there is a spike visible.
Other things to check:
- What version of Pylon have you installed, the module is based on Pylon 6.0.
- You can try to add a camera simulator in Kinovea by doing Manual connection in the camera explorer panel and changing the camera type. Then you can change the image size and framerate to match the real camera and see if the same problem occurs.
- It's also possible to add a camera emulator from Basler. In the Pylon viewer you can go to menu Help > Get help, and then to Software > pylon Camera software suite > Camera emulation and then under "Enabling Camera Emulation in the pylon API" they describe how to add camera emulators. Basically you need to add an environment variable in Windows named "PYLON_CAMEMU" with a value corresponding to how many emulators you want. When you do that they will appear in Kinovea as normal cameras and you can change the settings. The framerate probably won't really go as high as the real camera though.
484 2020-07-06 20:22:41
Re: palyback captured video seems short time pause (17 replies, posted in General)
Thanks. And the drop counter in the info bar stays at 0 or it increases?
To summarize, the problem is that the display for the live camera (delayed) freezes for a moment, although the corresponding recorded file doesn't show a jump between frames. Is this correct?
One thing that can cause lower performance is when the target folder for recording files is on the same drive as Windows, as the system is regularly writing into its own files sometimes it competes for drive access. When I do this on my machine the live image freezes every 10 seconds or so and the drop counter increases. As soon as I move the target to another drive it works. (Both drives are SSD).
485 2020-07-05 18:36:45
Re: palyback captured video seems short time pause (17 replies, posted in General)
Hi,
Please add more details: which version of Kinovea, which recording mode are you using (Preferences > Capture > Recording), whether you use record uncompressed video or not, which stream format in camera properties, whether you use delay in the viewer, what is the "Load" percentage in the info bar above the capture screen?
486 2020-07-04 18:54:23
Re: Kinovea 0.9.3 (beta) (42 replies, posted in General)
I published a new version and changed the links in the original post. This update addresses a few important points, mainly 1. the crash at launch when installed over version 0.9.1 and 2. the inability to increase the memory buffer in the player.
Please continue to report any problem here.
Thanks!
487 2020-07-04 10:10:19
Re: First Half Video Only (7 replies, posted in Bug reports)
Stepping frame by frame in debug, the timing info inside the file is fairly consistent with having just 59 frames, somehow the last 20 frames or so are not reachable by normal means.
Is there a player where it fully works? I think the file is broken. When I open in VLC it just freezes on the first frame. In media player classic it shows the entire video but the timeline jumps back at zero halfway through. In the Windows 10 media app it shows the whole video but the timeline reaches the end after maybe a third of the video so seeking with the timeline is even worse. In the classic Windows Media Player the timeline is also completely confused. Some of these players may have less strict requirements on frame-to-timestamp coherence when they just want to playback the video. For frame by frame and accurate time computation Kinovea needs more consistency.
Did you use a particular application or mode on the phone to record it or did you modify it afterwards to trim the endpoints or other post-process? Like maybe a pre-roll or slo-mo feature?
488 2020-07-04 09:05:53
Re: First Half Video Only (7 replies, posted in Bug reports)
It's interesting to compare the behavior with version 0.8.15 which used a different way to get the timestamps. In that version the duration is computed wrong and the video goes all the way but then it loops back before the stated duration and the playhead continues and never loops back. It also completely breaks the working zone selector.
489 2020-07-02 12:33:24
Re: Kayeton "high speed" USB camera based on OV4689 (19 replies, posted in Cameras and hardware)
I have uploaded the firmware Waheeden shared with me at the following:
And the original firmware in case things go wrong:
standard_version_not_fix_the_frame_rate.rar
There are instructions inside on how to proceed. I haven't had time to try it myself yet.
490 2020-07-02 12:21:30
Re: First Half Video Only (7 replies, posted in Bug reports)
Thanks for the sample.
It is one of those files where the first frame of the video has a negative timestamp, this throws off some calculations… Can you share what camera or process has generated the file?
It's probably fixable but needs care to not break other things in the process.
491 2020-06-30 22:12:57
Re: First Half Video Only (7 replies, posted in Bug reports)
It is the first time I hear of this. Could you share a sample file please?
492 2020-06-25 11:36:25
Re: EZViz (HIKvision) IP camera problems importing MP4 videos .. (7 replies, posted in Cameras and hardware)
By going through the frames of the video I can see the timestamps and when the video reaches the last frame I can compute the total number of frames and total time that are actually in the video. So in theory this should be enough to fix this kind of files automatically. I'm not sure what's the best way to go about it though.
It could initially leave things as they are and after the first loop, when it realizes the last frame doesn't match the duration, try to fix it.
There could be a explicit "Fix duration" button in the Video > Configure timing dialog, that would perform the test and save the actual duration somewhere. This could then become an option in the main preferences to "always try to fix duration", but would be off by default because it will slow down opening the files in the normal case.
Other ideas are welcomed.
493 2020-06-23 13:34:33
Re: Automatic Bike Fit Tracking (4 replies, posted in Bug reports)
The color itself not so much. But it's best if the marker contrasts well against the background. It should also be "rotationally invariant" and if it has contrast itself it's also better. So for example a black disc with a white dot in the middle or vice versa. Otherwise a simple black or white disc should work well enough.
494 2020-06-23 13:24:17
Re: Cannot see two USB cameras at the same time (8 replies, posted in Bug reports)
great thanks...generally the replay is once and delete...just for feedback to the golfer for practice. Sometimes that golfer is me...to check my swing etc.
If you are sure you won't save the sequence, the simplest way to do instant feedback is to use the delay function. For example you can set the delay to 5 seconds.
The lines on the capture screen are not the same when I replay the capture.
I'm trying to reproduce the problem. Could you send a screenshot at joan at kinovea dot org? In particular what is the camera image size, whether the camera view is filling the capture screen, and same for the playback side.
495 2020-06-22 19:02:16
Re: For swim analysis: need rotate image function (3 replies, posted in Ideas and feature requests)
It is now possible to rotate the camera image at capture time in version 0.9.2.
