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

Get duration before (or while) downloading #23968

Closed
kr4ssi opened this issue Feb 5, 2020 · 2 comments
Closed

Get duration before (or while) downloading #23968

kr4ssi opened this issue Feb 5, 2020 · 2 comments
Labels

Comments

@kr4ssi
Copy link
Contributor

@kr4ssi kr4ssi commented Feb 5, 2020

Checklist

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

Description

WRITE DESCRIPTION HERE

I would like to get the duration of a file before it finished downloading, is that already somehow possible by piping, or if I put ffprobe as external downloader?
I think the best would be to get the duration from the same stream as it's downloading, since it would decrease requests to the server.

@kr4ssi kr4ssi added the request label Feb 5, 2020
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Feb 5, 2020

Make a pre-run for metadata extraction.

@dstftw dstftw closed this Feb 5, 2020
@kr4ssi
Copy link
Contributor Author

@kr4ssi kr4ssi commented Feb 9, 2020

There is no duration in metadata for every hoster.

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
2 participants
You can’t perform that action at this time.