hr3lxphr6j / bililive-go

一个直播录制工具
GNU General Public License v3.0
3.86k stars 497 forks source link

虎牙、抖音等录制会出现几秒到几分钟的中断 #778

Open lhs55502002 opened 2 months ago

lhs55502002 commented 2 months ago

程序版本

0.7.33

所使用的 config 文件的内容

rpc: enable: true bind: 127.0.0.1:7890 debug: false interval: 15 out_put_path: E:\b ffmpeg_path: "D:/program/ffmpeg-6.1.1-full_build/bin/ffmpeg.exe" log: out_put_folder: E:\b save_last_log: false save_every_log: true feature: use_native_flv_parser: false live_rooms:

程序 log

time="2024-08-03 07:48:58" level=info msg="BiliLive-go Version: v0.7.33 Link Start" time="2024-08-03 07:49:09" level=info msg="Server start at 127.0.0.1:8080" time="2024-08-03 10:55:27" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:27" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:27" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:27" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:32" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:32" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:38" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:38" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:39" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:39" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:49" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:49" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:49" level=info msg="exit status 0xcccfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:49" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:57" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:55:57" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:56:05" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:56:05" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:56:05" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:56:17" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:56:17" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:56:17" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 10:56:23" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 11:33:50" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 11:33:50" level=warning msg="failed to get stream url, will retry after 5s..." error="Get \"https://www.huya.com/522222\": dial tcp: lookup www.huya.com: no suchhost" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 11:33:50" level=error msg="failed to load room info" error="Get \"https://live.douyin.com/webcast/room/web/enter/?aid=6383&app_name=douyin_web&browser_language=zh-CN&browser_name=Chrome&browser_platform=Win32&browser_version=116.0.0.0&device_platform=web&language=zh-CN&live_id=1&web_rid=97408757072\": dial tcp: lookup live.douyin.com: no such host" url="https://live.douyin.com/97408757072" time="2024-08-03 11:33:55" level=warning msg="failed to get stream url, will retry after 5s..." error="Get \"https://www.huya.com/522222\": dial tcp: lookup www.huya.com: no suchhost" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 11:34:07" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 11:34:11" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 11:34:11" level=warning msg="failed to get stream url, will retry after 5s..." error="Get \"https://www.huya.com/522222\": dial tcp: lookup www.huya.com: no suchhost" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 12:56:07" level=error msg="failed to load room info" error="http2: server sent GOAWAY and closed the connection; LastStreamID=1999, ErrCode=NO_ERROR, debug=\"\""url="https://live.douyin.com/56711435156" time="2024-08-03 13:57:28" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:57:28" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:57:34" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:57:34" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:57:39" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:57:47" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:57:47" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:57:48" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:57:52" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:57:52" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:00" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:00" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:03" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:17" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:17" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:17" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:27" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:28" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:28" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:33" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:33" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:34" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 13:58:34" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 17:49:58" level=error msg="failed to load room info" error="Get \"https://live.kuaishou.com/u/3xd8h8m9ht82rze\": dial tcp: lookup live.kuaishou.com: no such host" url="https://live.kuaishou.com/u/3xd8h8m9ht82rze" time="2024-08-03 17:50:03" level=error msg="failed to load room info" error="Get \"https://www.huya.com/297376\": dial tcp: lookup www.huya.com: no such host" url="https://www.huya.com/297376" time="2024-08-03 17:50:04" level=error msg="failed to load room info" error="Get \"https://live.douyin.com/56711435156\": dial tcp: lookup live.douyin.com: no such host" url="https://live.douyin.com/56711435156" time="2024-08-03 18:34:43" level=info msg="Live Start" host="你的圈圈儿" room="13号直播" time="2024-08-03 18:34:43" level=info msg="Record Start" host="你的圈圈儿" room="13号直播" time="2024-08-03 18:34:59" level=info msg="Live end" host="你的圈圈儿" room="13号直播" time="2024-08-03 18:34:59" level=info msg="Record End" host="你的圈圈儿" room="13号直播" time="2024-08-03 18:34:59" level=info msg="" host="你的圈圈儿" room="13号直播" time="2024-08-03 18:35:11" level=info msg="Live Start" host="你的圈圈儿" room="13号直播" time="2024-08-03 18:35:11" level=info msg="Record Start" host="你的圈圈儿" room="13号直播" time="2024-08-03 18:35:11" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="你的圈圈儿" room="13号直播" time="2024-08-03 18:35:22" level=info msg="Live end" host="你的圈圈儿" room="13号直播" time="2024-08-03 18:35:22" level=info msg="Record End" host="你的圈圈儿" room="13号直播" time="2024-08-03 18:35:22" level=info msg="" host="你的圈圈儿" room="13号直播" time="2024-08-03 18:35:39" level=info msg="Live Start" host="你的圈圈儿" room="13号直播" time="2024-08-03 18:35:39" level=info msg="Record Start" host="你的圈圈儿" room="13号直播" time="2024-08-03 21:57:36" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 21:57:36" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 21:57:37" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 21:57:37" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 21:57:42" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 21:57:42" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 21:57:47" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 21:57:47" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 21:58:02" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 21:58:02" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 21:58:14" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-03 22:35:58" level=info msg="" host="你的圈圈儿" room="13号直播" time="2024-08-03 22:36:02" level=info msg="exit status 0xcbcfcb08" host="你的圈圈儿" room="13号直播" time="2024-08-03 22:36:03" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="你的圈圈儿" room="13号直播" time="2024-08-03 22:36:08" level=info msg="exit status 0xffffffea" host="你的圈圈儿" room="13号直播" time="2024-08-03 22:36:08" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="你的圈圈儿" room="13号直播" time="2024-08-03 22:36:13" level=info msg="exit status 0xffffffea" host="你的圈圈儿" room="13号直播" time="2024-08-03 22:36:13" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="你的圈圈儿" room="13号直播" time="2024-08-03 22:36:15" level=info msg="Live end" host="你的圈圈儿" room="13号直播" time="2024-08-03 22:36:15" level=info msg="Record End" host="你的圈圈儿" room="13号直播" time="2024-08-04 00:56:42" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:56:42" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:56:55" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:56:55" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:56:56" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:56:56" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:05" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:07" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:07" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:07" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:17" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:17" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:17" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:17" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:27" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:34" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:34" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:34" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:39" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:39" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:47" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:47" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 00:57:49" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:07:30" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:07:30" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:07:31" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:07:31" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:07:51" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:07:51" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:07:51" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:07:51" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:05" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:05" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:06" level=info msg="exit status 0xcccfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:06" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:15" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:15" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:21" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:21" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:21" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:33" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:33" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:33" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:38" level=info msg="exit status 0xcccfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:38" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 01:08:44" level=info msg="exit status 0xcccfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:11:37" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:11:37" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:11:38" level=info msg="" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:11:53" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:11:53" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:11:54" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:04" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:04" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:04" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:18" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:18" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:19" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:23" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:23" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:26" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:26" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:34" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:44" level=info msg="Live Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:44" level=info msg="Record Start" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:45" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:55" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:55" level=info msg="exit status 0xffffffea" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:56" level=info msg="Live end" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:12:56" level=info msg="Record End" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 02:13:05" level=info msg="exit status 0xcbcfcb08" host="药水哥s" room="我药当梦幻单挑王" time="2024-08-04 08:38:00" level=info msg="Live Start" host="你的圈圈儿" room="13号直播" time="2024-08-04 08:38:00" level=info msg="Record Start" host="你的圈圈儿" room="13号直播" time="2024-08-04 08:38:00" level=info msg="exit status 0xffffffea" host="你的圈圈儿" room="13号直播" time="2024-08-04 08:38:00" level=warning msg="failed to get stream url, will retry after 5s..." error="vMultiStreamInfo not found" host="你的圈圈儿" room="13号直播" time="2024-08-04 08:38:17" level=info msg="Live end" host="你的圈圈儿" room="13号直播" time="2024-08-04 08:38:17" level=info msg="Record End" host="你的圈圈儿" room="13号直播" time="2024-08-04 08:38:17" level=info msg="" host="你的圈圈儿" room="13号直播" time="2024-08-04 08:38:29" level=info msg="Live Start" host="你的圈圈儿" room="13号直播" time="2024-08-04 08:38:29" level=info msg="Record Start" host="你的圈圈儿" room="13号直播"

自由描述

如加粗部分,”failed to get stream url“,不知为什么会中断。比如药水哥,同一场直播,我看B站上别人录的一个片段就没有中断,我录的就中断了好几次。可能别人不是用这个软件录的吧,又或者是他中断的地方和我不一样。

我寻思虎牙又不用翻墙,应该不是VPN的问题。也不总是会有中断,有时候还是能完整录完一场4小时左右的直播的,但比较少。总之,不知道哪里出了问题。

lhs55502002 commented 2 months ago

屏幕截图 2024-08-04 103225(1)

msumdx commented 2 months ago

是不是播出的网络环境不太稳定 我只在特定的直播间会遇到

lhs55502002 commented 2 months ago

但是同一个片段,别人能录到完整的。我录的是药水哥,我看到B站有人录到完整了。就算他不是用bililive,用 的是其他工具或者直接录屏,都说明了药水哥的直播是没有中断的。