8000 [Help] 断播后重新直播自动录制报错,会计时,但是流量和文件大小未0 · timerring bilive · Discussion #321 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Help] 断播后重新直播自动录制报错,会计时,但是流量和文件大小未0 #321

Answered by timerring
MinTiang asked this question in Q&A
Discussion options

You must be logged in to vote

这和断播后重新录播无关,主要是可能主播切换了码流,采用了 HEVC 编码,而 FLV 文件本身就不支持 HEVC,codec id 12 是中国云厂商自己修改定义的,不是写在 FLV 标准里的。

如果遇到这种情况,我推荐将该直播间切换到 HEVC 流的录制,以下方法二选一即可:

Method1 配置修改方法

[[tasks]]
room_id = xxxxx
enable_monitor = true
enable_recorder = true

[tasks.recorder]
stream_format = "fmp4"
recording_mode = "raw"
fmp4_stream_timeout = 5

Method2 web 修改方法

  1. 在直播流格式中选择 HLS。
  2. 等待 fmp4 流中选择等待 x 秒后如果没有抓取到 HEVC 流,则回到 AVC 流。建议时间等待时间稍长一点。

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by timerring
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
E88C
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #206 on May 01, 2025 05:47.

0