youtube videos live detection #26611

Open
opened 2026-02-21 13:14:59 -05:00 by deekerman · 3 comments
Owner

Originally created by @Achusalu on GitHub (Jul 18, 2023).

Checklist

  • I'm reporting a feature request
  • I've verified that I'm running youtube-dl version 2021.12.17
  • I've searched the bugtracker for similar feature requests including closed ones

Description

how to detect live detection on youtube streaming videos

Originally created by @Achusalu on GitHub (Jul 18, 2023). <!-- ###################################################################### WARNING! IGNORING THE FOLLOWING TEMPLATE WILL RESULT IN ISSUE CLOSED AS INCOMPLETE ###################################################################### --> ## Checklist <!-- Carefully read and work through this check list in order to prevent the most common mistakes and misuse of youtube-dl: - First of, make sure you are using the latest version of youtube-dl. Run `youtube-dl --version` and ensure your version is 2021.12.17. If it's not, see https://yt-dl.org/update on how to update. Issues with outdated version will be REJECTED. - Search the bugtracker for similar feature requests: http://yt-dl.org/search-issues. DO NOT post duplicates. - Finally, put x into all relevant boxes (like this [x]) --> - [x] I'm reporting a feature request - [x] I've verified that I'm running youtube-dl version **2021.12.17** - [x] I've searched the bugtracker for similar feature requests including closed ones ## Description <!-- Provide an explanation of your issue in an arbitrary form. Please make sure the description is worded well enough to be understood, see https://github.com/ytdl-org/youtube-dl#is-the-description-of-the-issue-itself-sufficient. Provide any additional information, suggested solution and as much context and examples as possible. --> how to detect live detection on youtube streaming videos
Author
Owner

@dirkf commented on GitHub (Jul 18, 2023):

The extractor marks live streams with the is_live flag in the info JSON, but a live stream is extracted from the time of extraction.

Are you asking for a feature where the program detects the scheduled start of a livestream and defers extraction to that time, or where the program somehow stalls until a valid live stream is available?

You could investigate the experimental --live-from-start option in yt-dlp to see if that's what you want. Or, actually, --wait-for-video ... is what I was thinking of.

@dirkf commented on GitHub (Jul 18, 2023): The extractor marks live streams with the `is_live` flag in the info JSON, but a live stream is extracted from the time of extraction. Are you asking for a feature where the program detects the scheduled start of a livestream and defers extraction to that time, or where the program somehow stalls until a valid live stream is available? You could investigate the experimental `--live-from-start` option in yt-dlp to see if that's what you want. Or, actually, `--wait-for-video ...` is what I was thinking of.
Author
Owner

@Achusalu commented on GitHub (Jul 19, 2023):

Actually i am trying to object detection on youtube streaming videos,
Will you please helpe about this?

@Achusalu commented on GitHub (Jul 19, 2023): Actually i am trying to object detection on youtube streaming videos, Will you please helpe about this?
Author
Owner

@dirkf commented on GitHub (Jul 19, 2023):

Please explain fully.

@dirkf commented on GitHub (Jul 19, 2023): Please explain fully.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/youtube-dl#26611
No description provided.