Closed benpocklingtonhes closed 1 year ago
Have you tried the official viewer? What version of the SDK did you install? Did you install pyk4a with pyk4a-bundle? Did you try the example recording code directly? https://github.com/etiennedub/pyk4a/blob/master/example/record.py
Just a quick update : I tested the camera again with the unmodified recording example here - https://github.com/etiennedub/pyk4a/blob/master/example/record.py and I am still getting the same error as in my original issue. Let me know if you have any ideas...
@shagren any ideas?
synchronized_images_only=True,
- Please try to use
synchronized_images_only=True,
- It can be windows usb controller problem. Only Intel, TI and NES(Renesas) chipsets are supported. Can you try to run on other desktop/laptop? Changing USB port/cable also can helps in some cases. Record example works for me on two different windows desktops and linux laptop
When we try to force syncronised we get 0 frames because there are no color frames to sync up with.
Actually that is a good point we have only tried it on laptops, albeit very high-end ones. Next week I will bring a camera home and test it on my Z790 motherboard, I think it has a couple of really high bandwidth ports.
Thanks for the ideas!
Also make sure the gpu drivers of your machines are up to date. I had a weird bug on a microsoft surface laptop a few years ago. It was caused by out of date gpu drivers. Unfortunately in my case the official viewer and recorder weren't working properly.
So for two weeks I have been trying to get this package working on my home computer with Windows 11. It will just not work, I've tried everything. I have every error under the sun that is associated with installing this package, no solutions work. I have been trying to use this package for work and I have nothing but constant problems.
BTW, i didn't test with win11, but all examples works for me with win10
@benpocklingtonhes , what about other examples:
https://github.com/etiennedub/pyk4a/blob/master/example/viewer.py https://github.com/etiennedub/pyk4a/blob/master/example/viewer_depth.py https://github.com/etiennedub/pyk4a/blob/master/example/viewer_transformation.py
I don't think you understand, I wasn't very clear haha, I cannot even install the pyK4a package on Windows 11 into a fresh venv, I have literally tried every fix, command, hack on the internet.
The first error I encountered on Windows 11 is fixed in PR #193
Hi, I am trying to get a minimal python script to run and simply record the Kinect DK output to an .mkv file. Here is the code that I am running :
No matter what configuration I use (I think I have literally almost tried every single possible combination of parameters) the color camera drops 100% of frames, shown by this error (which is strangely marked as type:Depth, but does not occur with
ColorResolution.OFF
) :[2022-12-12 16:34:08.413] [error] [t=5024] D:\a\1\s\extern\Azure-Kinect-Sensor-SDK\src\capturesync\capturesync.c (142): replace_sample(). capturesync_drop, releasing capture early due to full queue TS: 596044 type:Depth
If I set
syncronized_images_only=True
then because there are no Color frames, the .mvk contains nothing. I can however run the code with this set to False in order to get the .mvk with just the IR and Depth outputs. We have also tried this on multiple computers, multiple USB controllers, multiple cables etc. etc. which all yield the same results. Any ideas?