data-conversion

Convert byte[] to Video (mp4 or any other palyable format)

断了今生、忘了曾经 提交于 2020-12-15 04:39:25
问题 I am creating a bot that will record the Microsoft team live sessions. Audio recording is working fine but facing problems in generating the video file. The process I am following is that I am converting the video data into a byte array and then writing the data to a video format file. I am adding some code snippets, I have examined so far. 1. Stream videoStream = new FileStream(videoFilePath, FileMode.Create); BinaryWriter videoStreamWriter = new BinaryWriter(videoStream); videoStreamWriter