I am given a reference in Python to a C pointer to struct. I am looking into ctypes to see if I can perhaps deference it directly using it’s id(). But so far no luck.
There has GOT to be a better way than this though, right? Otherwise NVIDIA is just not implementing this correctly (I have no idea why these aren’t GstMetas which seems like a natural fit to me).
Yes, I agree! GstMetas would be so much easier to handle. But this is how they implemented it, maybe NVIDIA could change the approach for following releases.
This takes me back to the original questions for NVIDIA folks:
Do you know why the enable-meta property is not part of nvarguscamerasrc?
Is there a way to activate the metadata in nvarguscamerasrc (not using silent=false, that is not usable from software perspective)?
Timestamp deltas look excellent now!!! But I am missing about 20 frames from my 10 second clip. There seems to be some frame drop which I am not sure why?
Does “identity” drop frames if the callback is too slow? Kinda seems unlikely to me (I am literally just storing a few values and returning).
Also, where did you get that structure definition above with timestamp and frame_num?
Other than the initial file, it looks like I see about 300 frames every 10 seconds at 30fps which is right. But why do the frame_numbers skip? (why aren’t they just 0,1,2,3,4… etc.).
Hi @DaneLLL, do you have an ETA for Jetpack 4.3 release including this feature?
Also, is there any chance you can share a binary of nvarguscamerasrc including this feature? It would be really helpful, because it is becoming a showstopper for us.
Hi @DaneLLL, thank you so much for the binary and the example code, it worked great, we will integrate it into our application!
Just as a note, consider creating a GstMeta with this information instead of a quark, since it is more standard, and DeepStream makes use of GstMetas very well, so would be nice to have a single way to handle metas over the pipeline when using the whole NVIDIA’s GStreamer ecosystem.
Hi @DaneLLL, thank you so much for the binary and the example code, it worked great, we will integrate it into our application!
Just as a note, consider creating a GstMeta with this information instead of a quark, since it is more standard, and DeepStream makes use of GstMetas very well, so would be nice to have a single way to handle metas over the pipeline when using the whole NVIDIA’s GStreamer ecosystem.