blrec icon indicating copy to clipboard operation
blrec copied to clipboard

录制结束后不能正常转封装

Open mylolis opened this issue 2 years ago • 3 comments

已经设置转封装为mp4,但使用原始模式录制时,直播结束后没有转换封装,而是留下了一堆m4s文件。webui显示录制中断。 日志如下 [2022-08-02 10:00:03,421] [DEBUG] [live_monitor] [21672022] Live status changed from LIVE to PREPARING [2022-08-02 10:00:03,512] [DEBUG] [playlist_dumper] [21672022] Playlist ended [2022-08-02 10:00:03,799] [INFO] [recorder] [21672022] The live has ended [2022-08-02 10:00:04,583] [DEBUG] [playlist_dumper] [21672022] Playlist ended [2022-08-02 10:00:05,705] [DEBUG] [playlist_dumper] [21672022] Playlist ended [2022-08-02 10:00:06,801] [DEBUG] [stream_recorder_impl] [21672022] Stopping stream recorder... [2022-08-02 10:00:06,804] [DEBUG] [playlist_dumper] [21672022] Playlist ended [2022-08-02 10:00:06,805] [DEBUG] [playlist_dumper] [21672022] Closed file: /rec/星弥Hoshimi/2022/20220802/080219-八月第一次直播/index.m3u8 [2022-08-02 10:00:06,807] [INFO] [stream_recorder_impl] [21672022] Video file completed: '' [2022-08-02 10:00:06,809] [DEBUG] [postprocessor] [21672022] Postprocessing... [2022-08-02 10:00:06,810] [INFO] [danmaku_dumper] [21672022] Danmaku file completed: '/rec/星弥Hoshimi/2022/20220802/080219-八月第一次直播/index.xml' [2022-08-02 10:00:06,811] [DEBUG] [danmaku_dumper] [21672022] Stopped dumping danmaku [2022-08-02 10:00:06,813] [DEBUG] [recorder] [21672022] Stream recording completed [2022-08-02 10:00:12,115] [DEBUG] [metadata_dumper] [21672022] Disabled metadata dumper [2022-08-02 10:00:12,116] [DEBUG] [stream_recorder_impl] [21672022] Stopped stream recorder [2022-08-02 10:00:12,116] [DEBUG] [danmaku_dumper] [21672022] Disabled danmaku dumper [2022-08-02 10:00:12,116] [DEBUG] [danmaku_receiver] [21672022] Stopped danmaku receiver [2022-08-02 10:00:12,117] [DEBUG] [cover_downloader] [21672022] Disabled cover downloader [2022-08-02 10:00:12,117] [INFO] [recorder] [21672022] Recording Finished [2022-08-02 10:00:12,117] [INFO] [recorder] [21672022] Waiting... until the live starts [2022-08-02 10:00:12,118] [DEBUG] [live_monitor] [21672022] Number of sequential LIVE status: 0

mylolis avatar Aug 02 '22 03:08 mylolis

补充:我也有过这个现象,但是是在删除任务时发生的,可能说的不是一个事,但是借此issue标题一用

InterestingFred avatar Aug 06 '22 12:08 InterestingFred

[2022-08-02 10:00:06,807] [INFO] [stream_recorder_impl] [21672022] Video file completed: ''
[2022-08-02 10:00:06,809] [DEBUG] [postprocessor] [21672022] Postprocessing...

怪了,这里怎么没有文件路径 🤔


自己转下封装

ffmpeg -i index.m3u8 -i index.m3u8.meta -map_metadata 1 -c copy rec.mp4 或者 ffmpeg -i index.m3u8 -c copy rec.mp4

acgnhiki avatar Aug 07 '22 06:08 acgnhiki

我也遇到了这个问题

Misaka-Mikoto-Tech avatar Sep 03 '22 08:09 Misaka-Mikoto-Tech