如何以编程方式使用 ffmpeg 将 flv 视频转换为 mp3?

发布于 2024-12-06 02:59:54 字数 110 浏览 0 评论 0原文

我需要在 C++ 上创建视频转换应用程序,但无法使用 ffmpeg.exe。
我需要以编程方式执行此操作,但我不知道该怎么做,而且我在互联网上没有找到任何示例。
也许有人了解我的任务?谢谢。

I need to create application on C++ for video conversion, and I can't use ffmpeg.exe.
I need to do it programmatically, but I don't know how can I do it, and I didn't find any examples on Internet.
May be somebody know something about my task? Thank you.

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

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

发布评论

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

评论(2

痴梦一场 2024-12-13 02:59:54

ffmpeg 是一个开源项目。 ffmpeg 使用的转码引擎位于库 libavcodec(用于编解码器)和 libavformat(用于容器)中。您可以将转换编写为对这些库的调用,而无需 ffmpeg 命令行应用程序。

这里是有关使用这些库的教程。

祝你好运。

ffmpeg is an open source project. The transcoding engine used by ffmpeg is in the libraries libavcodec (for the codecs) and libavformat (for the containers). You can write your conversion as calls into these libraries, without the ffmpeg command line application.

Here is a tutorial on using these libraries.

Good luck.

春花秋月 2024-12-13 02:59:54

这是另一个很好的 ffmpeg 教程。查看 ffmpeg 的实际源代码也会有所帮助。

教程源的更新版本位于此处

Here's another good ffmpeg tutorial. Looking at the actual source code for ffmpeg would also help.

An updated version of the tutorial source is here.

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