Strange Sound produced by ffmpeg and SDL

穿精又带淫゛_ 提交于 2019-12-02 08:00:42

问题


I'm following the updated version of the original dranger.com/ffmpeg tutorial at https://github.com/mpenkov/ffmpeg-tutorial

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.

What's wrong?


回答1:


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.

If you are using Zeranoe builds as well, try using the 26c531c build (anything above it will produce the issue).



来源:https://stackoverflow.com/questions/14452817/strange-sound-produced-by-ffmpeg-and-sdl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!