You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/reactivex/observable/catch.py", line 55, in action
current = next(sources_)
StopIteration
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/blrec/core/operators/request_exception_handler.py", line 39, in on_error
raise exc
File "/usr/local/lib/python3.10/site-packages/blrec/core/operators/connection_error_handler.py", line 48, in on_error
raise exc
File "/usr/local/lib/python3.10/site-packages/blrec/core/operators/stream_parser.py", line 53, in _before_retry
raise exc
File "/usr/local/lib/python3.10/site-packages/blrec/flv/operators/parse.py", line 45, in on_next
tag = reader.read_tag()
File "/usr/local/lib/python3.10/site-packages/blrec/flv/io.py", line 42, in read_tag
tag = self._parser.parse_tag(no_body=no_body)
File "/usr/local/lib/python3.10/site-packages/blrec/flv/format.py", line 90, in parse_tag
video_tag_header = self.parse_video_tag_header(header_data)
File "/usr/local/lib/python3.10/site-packages/blrec/flv/format.py", line 165, in parse_video_tag_header
codec_id = CodecID(flag & 0b0000_1111)
File "/usr/local/lib/python3.10/enum.py", line 385, in call
return cls.new(cls, value)
File "/usr/local/lib/python3.10/enum.py", line 710, in new
raise ve_exc
ValueError: 12 is not a valid CodecID`
Activity
[-][Help] 断播后重新直播录制报错,会计时,但是流量和文件大小未0[/-][+][Help] 断播后重新直播自动录制报错,会计时,但是流量和文件大小未0[/+]timerring commentedon Mar 18, 2025
这和断播后重新录播无关,主要是可能主播切换了码流,采用了 HEVC 编码,而 FLV 文件本身就不支持 HEVC,
codec id 12是中国云厂商自己修改定义的,不是写在 FLV 标准里的。如果遇到这种情况,我推荐将该直播间切换到 HEVC 流的录制,以下方法二选一即可:
Method1 配置修改方法
Method2 web 修改方法
MinTiang commentedon Mar 18, 2025
好的,非常感谢