On Sat Jul 22 01:49:23 2023 +0000, Ziqing Hui wrote:
BeginFinalize/EndFinalize will make sure that all samples in queue is processed and finally generate the mp4 file. If I change MFCreateTempFile to MFCreateFile("C:\Temp\1.mp4"), it do produce a mp4 file which contains the frame as we expected.
I know I may should add more tests that decode the file which is generated by mediasink, and check the decoded frame with the original frame blob.