简体   繁体   中英

Splitting and Saving Mp4 In Unity/C#

So I want to make an application that will be able to split an mp4 into various segments and save them as separate videos, but I am having trouble with the approach to something like this. I can convert the mp4 into a byte array, but I am unable to properly trim or cut the bytes without the saved video being either corrupted or just not working. Is there a way to achieve this, either by using a byte array or by using another solution? I know C# is not the best way to go about doing something like this, but it's my preferred coding language and I am trying to make an app only for myself, so I don't mind if the code is a bit messy or slow.

If you are trying to make an audio editor, it might be just better to use one like audacity (it is open source) or any other.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM