Skip to content
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

WHIP:Support for baseline/main/high profile encoding without B frames #2

Merged

Conversation

duiniuluantanqin
Copy link

@duiniuluantanqin duiniuluantanqin commented May 19, 2023

ffmpeg推流时,需要增加-bf 0 以禁用B帧。

ffmpeg -re -i ~/git/srs/trunk/doc/source.flv \
    -vcodec libx264 -profile:v high -r 25 -g 50 -bf 0 -acodec libopus -ar 48000 -ac 2 \
    -f rtc 'http://localhost:7080/whip/endpoint/abc123'

@duiniuluantanqin duiniuluantanqin changed the title WHIP:Support baseline/main/high profile without B frames WHIP:Support for baseline/main/high profile encoding without B frames May 19, 2023
@winlinvip winlinvip merged commit bd9f7d1 into winlinvip:feature/rtc-muxer May 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants