irungentoo / Xiaomi_Yi_4k_Camera

Stuff for the xiaomi yi 4k (and 4k+) cameras.
265 stars 91 forks source link

[question] Support timestamp metadata in wifi stream #28

Open archenroot opened 7 years ago

archenroot commented 7 years ago

Hello,

thanks for this project first of all!

I ordered 2 4k+ cameras for stereo vision, unfortunately I cannot in the moment load SD card (firmware 1.0.4 620r), but hopefully will resolve that, if you know about supported sd card for this firmware I would love to hear :-) : http://forum.xiaoyi.com/forum.php?mod=viewthread&tid=50515&extra=

Main point of my question is if there is available to extract from the images taken and streamed via Wifi timestamp. I would like to use it for synchronization of images from 2 cameras for stereo vision. Thanks for any hints about this. I read articles where Andy S user and others discussed using NTP protocol to sync time and trigger at same time recording.

Well, my approach is little bit different, I will also use NTP to sync hours, but using OpenCV and FFmpeg projects I would like to capture images in parallel from both and sync them in the software. To to this I will need at each image timestamp mark, resolution in miliseconds is just fine for me, of course if we can get better to nanoseconds, could be more accurate ....

Thanks for any comments on this.