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

Video selection based on video duration #862

Closed
xavier83 opened this issue Jun 1, 2013 · 5 comments
Closed

Video selection based on video duration #862

xavier83 opened this issue Jun 1, 2013 · 5 comments
Labels

Comments

@xavier83
Copy link

@xavier83 xavier83 commented Jun 1, 2013

Currently there is an option to download videos based on their filesizes but not based on the duration of the video. I would be great to have an option that filters videos that pass the given duration constraints.

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jun 4, 2013

Sorry, I didn't understand , did you mean the duration of the video?

@FiloSottile
Copy link
Collaborator

@FiloSottile FiloSottile commented Jun 4, 2013

Yep, I think so.

Here, like with --print, maybe we should create a --filter

@xavier83
Copy link
Author

@xavier83 xavier83 commented Jun 10, 2013

yup. by runtime i meant duration of the video rather than the execution of the program.

@anton-fedorov
Copy link

@anton-fedorov anton-fedorov commented Apr 2, 2014

We've run over this need too. Do you guys support this?

@xavier83 xavier83 changed the title Video selection based on video runtime Video selection based on video duration Aug 23, 2014
@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Feb 10, 2015

Since youtube-dl 2015.02.10.2 (the relevant commit is 347de49) you can use the --match-filter options, for example if you want to only download videos longer than 1 minute you can use --match-filter 'duration > 60'

@jaimeMF jaimeMF closed this Feb 10, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
4 participants
You can’t perform that action at this time.