Skip to content

[Help] 频繁发生:Failed to get live stream url: NoStreamQualityAvailable('flv', 'avc', 10000) #360

@roger2255

Description

@roger2255

Problem Overview

(Briefly and clearly describe the issue you're facing and seeking help with.)
录制失败。

Steps Taken

(Detail your attempts to resolve the issue, including any relevant steps or processes.)
录制一段时间后会出现,并且这个时候重启服务器或者重启录制功能也不会解决。要等到这个直播间下次上播才会正常。
Failed to get live stream url: NoStreamQualityAvailable('flv', 'avc', 10000)

Expected Outcome

(A clear and concise description of what you expected to happen.)
录制文件卡在flv状态

Screenshots

(If applicable, add screenshots to help explain your problem.)

Environment Information

  • Operating System: Debian12
  • Python Version: 3.10
  • Error Messages and Logs: 看下面详细的

2025-09-27 13:49:22.455 | INFO | blrec.core.operators.stream_url_resolver:on_next:94 | 440006 - Getting the live stream url... qn: 10000, format: flv, api platform: web, use alternative stream: False
2025-09-27 13:49:22.531 | WARNING | blrec.core.operators.stream_url_resolver:on_next:110 | 440006 - Failed to get live stream url: NoStreamQualityAvailable('flv', 'avc', 10000)
2025-09-27 13:49:22.532 | WARNING | blrec.core.operators.stream_url_resolver:_before_retry:166 | 440006 - The original stream quality (10000) is not available
2025-09-27 13:49:23.031 | INFO | blrec.application:exit:115 | - Exiting Application...
2025-09-27 13:49:23.032 | DEBUG | blrec.task.task_manager:stop_all_tasks:159 | - Stopping all tasks...
2025-09-27 13:49:23.032 | DEBUG | blrec.task.task_manager:stop_task:144 | - Stopping task 440006...
2025-09-27 13:49:23.032 | DEBUG | blrec.core.stream_recorder_impl:_do_stop:294 | 440006 - Stopping stream recorder...
2025-09-27 13:49:23.038 | WARNING | blrec.flv.operators.analyse:push_metadata:257 | 440006 - Failed to make metadata: AssertionError(('has_video: False, video_analysed: False',))
2025-09-27 13:49:23.039 | DEBUG | blrec.core.recorder:on_stream_recording_completed:431 | 440006 - Stream recording completed
2025-09-27 13:49:23.312 | INFO | blrec.core.operators.stream_url_resolver:on_next:94 | 1883947915 - Getting the live stream url... qn: 10000, format: flv, api platform: web, use alternative stream: False
2025-09-27 13:49:23.411 | WARNING | blrec.core.operators.stream_url_resolver:on_next:110 | 1883947915 - Failed to get live stream url: NoStreamQualityAvailable('flv', 'avc', 10000)
2025-09-27 13:49:23.412 | WARNING | blrec.core.operators.stream_url_resolver:_before_retry:166 | 1883947915 - The original stream quality (10000) is not available
2025-09-27 13:49:23.536 | DEBUG | blrec.flv.metadata_dumper:_do_disable:53 | - Disabled metadata dumper
2025-09-27 13:49:23.537 | DEBUG | blrec.core.stream_recorder_impl:_do_stop:302 | 440006 - Stopped stream recorder
2025-09-27 13:49:23.537 | DEBUG | blrec.core.raw_danmaku_dumper:_do_disable:57 | 440006 - Disabled raw danmaku dumper
2025-09-27 13:49:23.541 | DEBUG | blrec.core.raw_danmaku_receiver:_do_stop:30 | 440006 - Stopped raw danmaku receiver
2025-09-27 13:49:23.541 | DEBUG | blrec.core.danmaku_dumper:_do_disable:105 | 440006 - Disabled danmaku dumper
2025-09-27 13:49:23.541 | DEBUG | blrec.core.danmaku_receiver:_do_stop:33 | 440006 - Stopped danmaku receiver
2025-09-27 13:49:23.542 | DEBUG | blrec.core.cover_downloader:_do_disable:69 | 440006 - Disabled cover downloader
2025-09-27 13:49:23.542 | INFO | blrec.core.recorder:_stop_recording:491 | 440006 - Recording Cancelled
2025-09-27 13:49:23.542 | DEBUG | blrec.core.recorder:_do_stop:454 | 440006 - Stopped recorder
2025-09-27 13:49:23.542 | DEBUG | blrec.postprocess.postprocessor:_do_stop:143 | 440006 - Stopped postprocessor
2025-09-27 13:49:23.542 | DEBUG | blrec.bili.live_monitor:_do_disable:70 | 440006 - Disabled live monitor
2025-09-27 13:49:23.543 | DEBUG | blrec.bili.live_monitor:_poll_live_status:195 | 440006 - Cancelled polling live status
2025-09-27 13:49:23.543 | DEBUG | blrec.bili.live_monitor:_poll_live_status:200 | 440006 - Stopped polling live status
2025-09-27 13:49:23.543 | DEBUG | blrec.bili.danmaku_client:_terminate_message_loop:284 | 440006 - Terminated message loop
2025-09-27 13:49:23.544 | DEBUG | blrec.bili.danmaku_client:_disconnect:245 | 440006 - Disconnected from server
2025-09-27 13:49:23.546 | DEBUG | blrec.bili.danmaku_client:_do_stop:111 | 440006 - Stopped danmaku client
2025-09-27 13:49:23.546 | DEBUG | blrec.task.task_manager:stop_task:148 | - Stopped task 440006

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions