2018-11-28 10:45 PM
Hello everyone,
I have a problem with my code. I'm trying to write a program to take picture from camera and save it as motion jpeg video (MJPEG) in to USB. I build already the header and the structure of MJPEG file but it's really weird when I try to run that file.
I had checked and found the output data of frames and the idx1 was wrote by f_write was incorrect. Sometime data were wrote 2 byte again.
The header data I wrote to the begin of file is always right, but the data that i wrote to frame place and idx1 place usually has problem.
Anybody have experience about this?
I am very appreciate with any advise. Thank so much.