问题描述
我正在 https://github上查看原始dranger.com/ffmpeg教程的更新版本. .com/mpenkov/ffmpeg-tutorial
第三步(源代码: https://github.com /mpenkov/ffmpeg-tutorial/blob/master/tutorial03.c )添加了声音,但产生的声音很奇怪.当音频流是AAC时,我只会听到静态声音.当音频流为MP3时,我会听到很高音调的声音.
The third step(Source code: https://github.com/mpenkov/ffmpeg-tutorial/blob/master/tutorial03.c) adds sound, but the sound produced is strange.When the audio stream is AAC I only hear static.When the audio stream is MP3 I hear a very high pitched version of the sound.
怎么了?
推荐答案
我遇到了同样的问题.经过数天的尝试,我发现我从Zeranoe使用的最新版本出了问题.
I've had the same exact issue. After days of trying, I figured out it was something wrong with the latest build that I was using from Zeranoe.
如果您还使用Zeranoe构建,请尝试使用26c531c构建(高于它的任何内容都会产生问题).
If you are using Zeranoe builds as well, try using the 26c531c build (anything above it will produce the issue).
这篇关于ffmpeg和SDL产生的奇怪声音的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!