本文介绍了如何将H264包装成mp4容器?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个程序生成一堆原始的H264帧,并希望将其放入mp4容器中进行流式传输。任何人都知道如何做?
我以为我会使用ffmpeg,但是这需要在商业上使用,似乎ffmpeg只能通过它的x264库...使用GPL许可证。
谢谢!
解决方案
是在MPL下,可以作为商业上较大作品的一部分使用。它比libavformat轻得多。
I have a program generating a bunch of raw H264 frames and would like to place that into a mp4 container for streaming.
Anyone know how to do that?
I was thinking I'd use ffmpeg however, this needs to be used commercially and it seems like ffmpeg can only do this through it's x264 library... which uses a GPL license.
Thank you!
解决方案
libmp4v2 is under the MPL and can be used as part of a larger work commercially. It is much lighter than libavformat also.
这篇关于如何将H264包装成mp4容器?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!