如何对视频进行编码?

发布于 2024-08-20 11:25:41 字数 1435 浏览 6 评论 0原文

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

想念有你 2024-08-27 11:25:41

使用 ffmpeg,然后从代码中调用可执行文件。

Use ffmpeg, then just call the executable from your code.

池予 2024-08-27 11:25:41

您是指实现/发明编解码器,还是指对视频进行编码?

要对视频进行编码,请使用 ffmpeg 中的 libavcodec。

对于实施或开发新的编解码器,这通常是由专家团队花费数年时间完成的,如果您必须问这个一般性问题,这可能是一次学习经历,但很可能会浪费您的时间。

Do you mean implement / invent a codec, or do you mean encode a video?

For encoding a video, use libavcodec from ffmpeg.

For implementing or developing a new codec, this is typically done over a series of years by a team of experts, and if you have to ask this general a question it may be a learning experience but would most likely be a waste of your time.

青萝楚歌 2024-08-27 11:25:41

使用OpenCV。它有一个易于使用的包装器,围绕 Windows 中的本机 API 之一来执行此操作,也围绕 ffmpeg。

Use OpenCV. it has an easy to use wrapper around one of the native API's in windows for doing this and also around ffmpeg.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文