-
Notifications
You must be signed in to change notification settings - Fork 633
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
Switch the video mode from the h20 camera to the BGR format. #878
Comments
Agent comment from DJI SDK in Zendesk ticket #62150: Dear developer, thank you for contacting DJI. °°° |
|
} |
|
Agent comment from kyle.cai in Zendesk ticket #62150: Thank you for contacting DJI. The video format OSDK get from the drone is H264, and sample decode the H264 to RGB using ffmpeg, you can change this part of code. Onboard-SDK/osdk-core/advanced-sensing/camera_stream/src/dji_camera_stream_decoder.cpp Line 237 in add352e
Thank you for your understanding and support, hope you have a nice day. Best Regards, °°° |
Thanks! |
Hello!
Can You help me?
I want to switch the video mode from the camera H20.
Now mode is RGBA
converterToAppSink = gst_caps_new_simple("video/x-raw", "format", G_TYPE_STRING, "RGBA", nullptr);
How can I switch the H20 to BGR?
Thank you for your help!
The text was updated successfully, but these errors were encountered: