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

[Feature Request] natively support downloading specific time frames #174

Open
3 tasks
blackjack4494 opened this issue Oct 8, 2020 · 1 comment
Open
3 tasks
Labels
Projects

Comments

@blackjack4494
Copy link
Owner

blackjack4494 commented Oct 8, 2020

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

WRITE DESCRIPTION HERE
In the past I also needed specific time frames. Lately some people were looking for such feature as well. There is a workaround using ffmpeg.
I have no clue yet how to name those flags but to show what I mean
--start-time 30s where also 1m 1hr 1d should work as well as 1m30s. This flag should only download media after e.g. 30 seconds (lower threshold).
--duration 30s same parameter behaviour as above. This flag should only download 30 seconds of media either starting from 0 (default) or if start time is giving take that.
--end-time 50s again same parameter behaviour. This flag should download no more than the given time (upper threshold). Either always enforce this when conflicting with duration flag or make it depending on argument position e.g. if duration comes after make duration override end time if needed.

Benefits would be to have this feature natively without the need of ffmpeg as external downloader.

@nicolaasjan
Copy link

Would it also be possible to cut off a specific amount of seconds from the end of video's?
I ask this, because someone at /r/youtube-dl had that question.

I guess it will be difficult, because calculations have to be made...
On Linux the program bc (basic calculator) has to be installed (my Linux Mint system had it by default).
On Windows; use Python for it (see here)?

See this thread.
And this question.

@blackjack4494 blackjack4494 added this to To do in Status Oct 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status
  
To do
Development

No branches or pull requests

2 participants