视频文件格式的标头信息的详细信息
我需要通过附加 NSMutableData 来附加 2 个视频文件,因为我已经对音频文件执行了此操作,并且操作正确,但对视频文件则不然。
这可能是因为数据字节包含一些标头信息,我需要从第二个视频中删除这些字节,但我不知道应该删除多少字节?
I need to append 2 video files by appending their NSMutableData as I have already done this with audio files and it is done correctly but not with video files.
It may be because data bytes contain some header info and I will need to remove these bytes from the 2nd video but I don't know that how many bytes should I remove?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您没有告诉我们有问题的文件格式,但一般来说:
查找有问题的文件格式的规范并找出标头的样子。然后根据这些信息编写解决方案。
网上有许多包含文件格式信息的资源,但您可能想要查看的一个地方是 http://www.wotsit .org/。
You haven't told us the file format in question, but generally:
Look up the specification for the file format in question and find out what the header looks like. Then code a solution based on this information.
There are many resources on the net with file format information, but one place you might want to look is http://www.wotsit.org/.