Mobile-SDK-Android-V5 icon indicating copy to clipboard operation
Mobile-SDK-Android-V5 copied to clipboard

Cannot live to texureview at 4k 30fps while recording

Open ongsa12342 opened this issue 9 months ago • 4 comments

Hello, I use dji mini 3 with msdk 5.12.0, and if I'm set camera to 4k 30fps, the texureview is freeze while recording, but in 24 fps, it can steaming while recording

and I've checked the decoder status is still decoding but doesn't have any data in YUV Listener while recording

ongsa12342 avatar Feb 27 '25 11:02 ongsa12342

Agent comment from YIGUI LIU in Zendesk ticket #131356:

Dear Developer, Hello and thank you for reaching out to DJI Innovations.

Are you using the putCameraStreamSurface to display the live camera stream footage on a specific TextureView?

The live video stream transmitted from the Mini 3 to the remote controller should have a resolution of 1920x1080 and a frame rate of 30fps, and it does not support modification.

When you set the camera to record at a resolution of 4K and a frame rate of 30fps, it only affects the properties of the generated media file and will not impact the live video stream of the image transmission.

Does the same problem occur when you use the Fly app?

We appreciate your email and wish you a wonderful day! Best Regards, DJI Innovations SDK Technical Support Team

°°°

dji-dev avatar Feb 28 '25 07:02 dji-dev

Actually, I used the VideoDecoder class. This problem did not happen when I used the DJI Fly app, but it happened the same in the MSDK sample (on both CameraStream and VideoDecode), too.

ongsa12342 avatar Feb 28 '25 07:02 ongsa12342

Agent comment from YIGUI LIU in Zendesk ticket #131356:

Dear Developer,

It seems that the VideoDecoder only supports using SurfaceView and SurfaceHolder. You can try replacing the outputSurface to see if it works. FAQ:What kind of outputSurface does the VideoDecoder support?

Best Regards, DJI Innovations SDK Technical Support Team

°°°

dji-dev avatar Feb 28 '25 09:02 dji-dev

this is the same problem i reported here: https://github.com/dji-sdk/Mobile-SDK-Android-V5/issues/463

mitchrsm avatar Mar 10 '25 07:03 mitchrsm