Home > OS >  MP4V2 call MP4Close before how to invoke the fflush () () to empty buffer, the data in written as so
MP4V2 call MP4Close before how to invoke the fflush () () to empty buffer, the data in written as so

Time:12-25

Current problem is: after the end of the video, calling MP4Close (after), fast after power off, written to the memory card the mp4 format video will be damaged, judge the reason is that the data is not yet complete written to the memory card,
Generally save the H264 naked flow is, the close (hMP4File) before using fflush (hMP4File), can quickly write card, but use MP4V2 library, how to want to fflush method to write data quickly into the card in the same???????
  • Related