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

Silence "Opening for reading" #25165

Closed
davispuh opened this issue May 6, 2020 · 4 comments
Closed

Silence "Opening for reading" #25165

davispuh opened this issue May 6, 2020 · 4 comments
Labels

Comments

@davispuh
Copy link

@davispuh davispuh commented May 6, 2020

Checklist

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

Description

Currently when downloading HLS stream from .m3u8 file you get all console spammed with loads of

[https @ 0x557f165b4b40] Opening 'https://server/file.mp4/segmentXXXX_0_a.ts' for reading  

I want to silent them so that I can still see download progress. If I use -q then there's no progress information anymore.

So basically what I want is -q --progress so it's quiet but with progress information.

@davispuh davispuh added the request label May 6, 2020
@cookieguru
Copy link

@cookieguru cookieguru commented May 7, 2020

If I'm not mistaken that message actually comes from ffmpeg. You could pass -loglevel warning to ffmpeg via --external-downloader-args

@zackmark29
Copy link

@zackmark29 zackmark29 commented May 7, 2020

If I'm not mistaken that message actually comes from ffmpeg. You could pass -loglevel warning to ffmpeg via --external-downloader-args

What is the parameter for that? only --external-downloader-args?

@cookieguru
Copy link

@cookieguru cookieguru commented May 7, 2020

There are examples of its usage in other issues here. GitHub's built-in search will find them.

@davispuh
Copy link
Author

@davispuh davispuh commented May 7, 2020

Awesome, so turns out everything is done by ffmpeg.
Using just -loglevel warning didn't work because it also hide progress, but this works perfectly and is exactly what I needed:
youtube-dl --external-downloader-args "-loglevel warning -stats"

I guess it would be nice if youtube-dl had flag for this case (quiet but with progress) but it's not really issue as can achieve it anyway.

@davispuh davispuh closed this May 7, 2020
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
3 participants
You can’t perform that action at this time.