go-olive / olive

Live Stream Recorder 直播录制/录播
https://go-olive.github.io
Apache License 2.0
864 stars 85 forks source link

虎牙录播linux平台分片出问题了,1秒钟生成一个flv #177

Open ffingcn opened 9 months ago

ffingcn commented 9 months ago

2024-02-28出的问题,求问大佬还更吗 虎牙录播,linux平台分片出问题了,1秒钟生成一个flv

ffingcn commented 9 months ago

x86架构

Lurito commented 9 months ago

同样的问题,在 olive_v0.6.3_windows_amd64 版本也存在。使用 run -u <url>run -f config.toml 启动程序,都会出现这一问题。这一问题会导致直播视频几乎无法录制,只有极罕见的情况可以录制到 1 条几秒的片段(即 1 个关键帧的内容),两小时录到了10 条。

附日志:

INFO[2024-03-02 19:09:43] dispatch add monitor                          id=****** pf=huya
INFO[2024-03-02 19:09:43] dispatch remove recorder                      id=****** pf=huya
INFO[2024-03-02 19:09:43] monitor start                                 id=****** pf=huya
INFO[2024-03-02 19:09:44] live status changed                           id=****** new=true old=false pf=huya
INFO[2024-03-02 19:09:44] dispatch add recorder                         id=****** pf=huya
INFO[2024-03-02 19:09:44] recorder start                                id=****** pf=huya
INFO[2024-03-02 19:09:44] dispatch remove monitor                       id=****** pf=huya
INFO[2024-03-02 19:09:44] parser-monitor program starts...
INFO[2024-03-02 19:09:44] split program starts...
INFO[2024-03-02 19:09:44] monitor stop                                  id=****** pf=huya
INFO[2024-03-02 19:09:44] record start                                  id=****** pf=huya rn="<title>"
DEBU[2024-03-02 19:09:44] flv working                                   out="<out_path>"
INFO[2024-03-02 19:09:44] record stop: unexpected EOF                   id=****** pf=huya
INFO[2024-03-02 19:09:44] record start                                  id=****** pf=huya rn="<title>"
DEBU[2024-03-02 19:09:44] flv working                                   out="<out_path>"
INFO[2024-03-02 19:09:44] record stop: unexpected EOF                   id=****** pf=huya
INFO[2024-03-02 19:09:44] record start                                  id=****** pf=huya rn="<title>"
DEBU[2024-03-02 19:09:44] flv working                                   out="<out_path>"
INFO[2024-03-02 19:09:44] record stop: unexpected EOF                   id=****** pf=huya
......

如上内容会一直重复,直到主播下播。

目前问题暂时只在虎牙平台发现。我这边首次发现的日期是北京时间2月29日夜间。

qchenac commented 8 months ago