视频编码(转码、格式转换等)性能要素
我一直在致力于一个项目,允许将任何视频批量编码为任何其他格式, 到目前为止,我一直在寻找我最熟悉的API,但后来我想到视频编码可能是一项繁重的任务,最好使用语言(platofrm)或具有最高性能的API,例如编码使用最适合多CPU作业调度的语言的视频比仅模拟它的语言等更好。对此有什么意见或建议吗?
I have been working on a project to allow for batch encoding of any video to any other format,
up to now I have been looking for API that I am most comfortable with but then it occurred to me that video encoding can be heavy task and it might be better to use Language(platofrm) or API that has the highest performance, for instance encoding video in a language that doest best multi-cpu job scheduling is better than on ones that only simulate it and etc. Any comments or suggestions on this ?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 ffmpeg/libavcodec。
Use ffmpeg/libavcodec.
你有两条不同的路线去这里。你可以自己完成这一切,
DIY方法
使用编码 API
结论
如果您不介意把手“弄脏”,并且有时间/耐心,请采用 DIY 方法。这是一个非常陡峭的学习曲线,但值得。最后你就会拥有技能。但如果这是您部署用于商业用途的东西,我建议您不要采用这种方法。相反,寻找云编码 API 提供商并开始使用它们。那里有很多,选择你喜欢的。这样您就可以专注于视频编码问题而不是其他问题。
全面披露:我在 Bitmovin 工作,但这并不影响我的回答。
You have two different routes to go here. You could do it all on your own,
DIY Approach
Use Encoding APIs
Conclusion
If you don't mind getting your hands "dirty", have time/patience to spare, go with the DIY approach. It's a very steep learning curve, but worth it. You will have skills at the end. But if this is something you are deploying for commercial use, I would advise against this approach. Rather, look for the cloud encoding API providers and start using them. There are many out there, pick the one you like. That way you can focus on the video encoding problems rather than others.
Full Disclosure: I work at Bitmovin, but that does not influence my answer.