简体   繁体   English

如何使用ffmpeg API转换音频文件?

[英]How to convert audio file using ffmpeg API?

How to convert PCM to flac using only ffmpeg API, but not the ffmpeg binary? 如何仅使用ffmpeg API而不使用ffmpeg二进制文件将PCM转换为flac? I am looking for the full explanation of the process, but not only a solution 我正在寻找有关过程的完整说明,而不仅仅是解决方案

The best way is to look at the source of the ffmpeg binary itself, it uses the ffmpeg APIs itself. 最好的方法是查看ffmpeg二进制本身的源代码,它使用ffmpeg API本身。 There are also code samples there. 那里也有代码示例。 Here's the ffmpeg source code . 这是ffmpeg源代码

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM