Skip to content

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