-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YUV buffer has 2048 additional bytes on Mini 2 #151
Comments
Thank you very much kripper when I set the fps to 30 in the app, the received video almost never get updated. There is something wrong with video streaming of dji mini2. |
Maybe the rendering of the images using X11 is slow. The same happens here with the example. Regarding the format, I'm sorry but I cannot debug/fix it without having a Mini 2 for testing. If it lags for more than some [ms], it could mean that it is waiting for more data to receive (network layer). |
Thank you very much kripper |
If you don't consume the frames at time (becasue of #151 (comment)) whey will stack up and latency will increase until the phone crashes or disconnects. |
I did some tests with my VisionLanding lab and got less than 1 [s] total latency (action + perception). |
Please create a different issue for latency. |
Do you still need help with this? I have a Mini 2 and can run thet test. |
More than testing, you could try fixing the mini 2 video compatibility problem by checking this repo: |
Describe the bug
RawVideoStreamer
plugin sends 2048 additional bytes.To fix, you should check the source code that grabs and sends the video frame and find out what format it is using, in order to decode it correctly on the receiving end (vision landing).
I have a "DJI Mini SE" and it works fine (without this issue).
The text was updated successfully, but these errors were encountered: