AnsweredAssumed Answered

How to save a frame to a JPG file

Question asked by Haiquan Li on May 7, 2018
Latest reply on May 8, 2018 by igorpadykov

Hello,everyone.

I'm a beginner for embedsky(imx6Q). I have a low question for libvpu. I want get the pictures of a video.

 

In following callback function, we can get output data porinter vptr and data size n. I want to know how can I save the frame to a JPG file?

int decoder_complete_1frame_data_outputCallBack(int fd, void *vptr, size_t n).

 

Thanks!

Outcomes