The manifold_cam project realizes to get the H.264 video streams from Zenmuse X3 camera, decode and display the vedio in real time. What's more, it also realizes to transfer stream data to RC.
- GStreamer, FFmpeg, libusb (Install already)
- libdcam.so, Manifold cam driver library
$ make //compile to the obj file 'test'
$ make clean //remove the obj file and intermediate files
$ sudo make install //install the libdcam.so to /usr/lib
$ sudo ./test [-dgt]
Usage:
- -d --display display vedio stream
- -g --getbuffer get NV12 format buffer
- -t --transfer transfer vedio datas to RC
- d and -g cannot be set at the same time
- DJI GO APP is not necessary. If the app is needed, launch the app and tap, enter camera view, and it's very important that the app should always be camera view mode.
- The resoulation of image frame is 1280 X 720 pixel, and the format is NV12