Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Youtube] --live-from-start support for sequence / range download #3451

Open
5 tasks done
mxvin opened this issue Apr 16, 2022 · 7 comments · May be fixed by #5822 or #6498
Open
5 tasks done

[Youtube] --live-from-start support for sequence / range download #3451

mxvin opened this issue Apr 16, 2022 · 7 comments · May be fixed by #5822 or #6498
Labels
enhancement New feature or request

Comments

@mxvin
Copy link

mxvin commented Apr 16, 2022

Checklist

Description

Hi,
I try to implement capability of youtube livestream download (--live-from-start), that we can determine from which sequence it starts downloads until live/current live, or range from sequence A to sequence B by changing some parts on extractor/youtube
In my case this is working well as expected, and super useful, and I want to know what you guys think.
Maybe if this is good enough I hope I can be push it upstream, or let this be just a feature request :)

commit: mxvin@ecf8b60

my misplace comment on this feature (maybe related to that actual issue, maybe not): #2412 (comment)

Verbose log

No response

@mxvin mxvin added enhancement New feature or request triage Untriaged issue labels Apr 16, 2022
@pukkandan
Copy link
Member

For this to be actually useful, the option needs to be time-based, not fragment based

@pukkandan pukkandan removed the triage Untriaged issue label Apr 16, 2022
@ohhai
Copy link

ohhai commented Jun 20, 2022

Any method of range selection would be useful, I think.
Currently it's almost impossible to download default length of long live streams (120 hours) to cut a small portion of it.

@user334
Copy link

user334 commented Jul 14, 2022

In my case this is working well as expected, and super useful, and I want to know what you guys think.

Hi @ohhai!
Could you please share your fork of yt-dlp with this feature enabled?
I'm downloading some streams and downloading a whole stream is just.. eh.. a pain and simply unneeded most of the times. I definitely agree with you in "any method would be useful".

@NDR0216
Copy link

NDR0216 commented Jul 31, 2022

commit: mxvin@ecf8b60

@user334 here is the fork

@pukkandan
Copy link
Member

pukkandan commented Jul 31, 2022

If you wish, you can make a PR for it. But I don't want a new option. Instead, this can be added to --download-sections itself. Something like --download-sections "*100f-200f" (f=fragment). Even better if you can extend this to support other fragmented downloads

@NDR0216
Copy link

NDR0216 commented Jul 31, 2022

@pukkandan something like --live-from-start --download-sections

@danielehrhardt
Copy link

i would do something like this:
Start from 3 hours in the past:
-start=-180

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: youtube livestream
6 participants