-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebRTC: Audio is corrupt when using FFmpeg native opus codec. When converting audio AAC to opus using FFmpeg's built-in opus encoding, there is a crackling sound. #3140
Comments
winlinvip
changed the title
RTMP2RTC: 音频aac转opus时爆音滋滋电流音,只要使用FFmpeg内置opus编码,就会爆音
WebRTC: 音频aac转opus时爆音滋滋电流音,只要使用FFmpeg内置opus编码,就会爆音
Aug 9, 2022
winlinvip
changed the title
WebRTC: 音频aac转opus时爆音滋滋电流音,只要使用FFmpeg内置opus编码,就会爆音
WebRTC: 只要使用FFmpeg内置opus编码,音频aac转opus时爆音滋滋电流音
Aug 9, 2022
winlinvip
changed the title
WebRTC: 只要使用FFmpeg内置opus编码,音频aac转opus时爆音滋滋电流音
WebRTC: 只要使用FFmpeg内置opus编码,音频aac转opus时滋滋爆音
Aug 9, 2022
winlinvip
changed the title
WebRTC: 只要使用FFmpeg内置opus编码,音频aac转opus时滋滋爆音
WebRTC: 使用FFmpeg内置opus编码,音频aac转opus时滋滋爆音
Aug 9, 2022
winlinvip
changed the title
WebRTC: 使用FFmpeg内置opus编码,音频aac转opus时滋滋爆音
WebRTC: Audio is corrupt when using FFmpeg opus. 使用FFmpeg内置opus编码,音频aac转opus时滋滋爆音
Dec 25, 2022
winlinvip
added a commit
that referenced
this issue
Jan 6, 2023
Specify using the built-in opus in FFmpeg, with the option: --ffmpeg-opus=on|off Whether enable the FFmpeg native opus codec. Default: off After changing the opus library, you need to delete FFmpeg and recompile it. rm -rf objs
./configure --ffmpeg-opus=on
make
|
winlinvip
changed the title
WebRTC: Audio is corrupt when using FFmpeg opus. 使用FFmpeg内置opus编码,音频aac转opus时滋滋爆音
WebRTC: Audio is corrupt when using FFmpeg native opus codec. 使用FFmpeg内置opus编码,音频aac转opus时滋滋爆音
Jan 6, 2023
winlinvip
added a commit
that referenced
this issue
Jan 6, 2023
winlinvip
added a commit
that referenced
this issue
Jan 6, 2023
Is it possible to fix it by upgrading FFmpeg to 5.1? |
Test FFmpeg last release 5.1.3, the problem already solved. SRS will update FFmpeg from 4.x to 5.1.3 |
winlinvip
changed the title
WebRTC: Audio is corrupt when using FFmpeg native opus codec. 使用FFmpeg内置opus编码,音频aac转opus时滋滋爆音
WebRTC: Audio is corrupt when using FFmpeg native opus codec. When converting audio AAC to opus using FFmpeg's built-in opus encoding, there is a crackling sound.
Jul 28, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Compile FFmpeg
--enable-decoder=opus --enable-encoder=opus
--enable-libopus
SRS Config (Configuration)
Replay (Reproduction)
RTMP streaming:
ffmpeg -stream_loop -1 -re -i 264_aac_basline_48k.mp4 -c copy -f flv "rtmp://127.0.0.1/live/livestream"
RTC playback, open the player
https://127.0.0.1/players/rtc_player.html
, and play:https://127.0.0.1/players/rtc_player.html
Expect (Expected Behavior)
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: