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

How to get ffmpeg output when youtube-dl uses it as downloader? #29888

Closed
3 tasks done
abvalyn opened this issue Aug 30, 2021 · 2 comments
Closed
3 tasks done

How to get ffmpeg output when youtube-dl uses it as downloader? #29888

abvalyn opened this issue Aug 30, 2021 · 2 comments
Labels

Comments

@abvalyn
Copy link

abvalyn commented Aug 30, 2021

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

TL;DR Is there a way to see ffmpeg output when youtube-dl uses it as downloader?

Longer:

It was available for some time (e.g. in release 2021.04.07 for pornhub-m3u8 videos and then logic was changed and output was hidden by this commit. The example of such an output might be found here).

It shows useful warnings/errors (like "HTTP error 429 Too Many Requests" and "HTTP error 403 Forbidden", etc.) which might be ignored by youtube-dl itself. Youtube-dl might show successful download when some peaces of video are actually not downloaded. I'd like to get at least ffmpeg logs to avoid such situations.

@dirkf
Copy link
Contributor

dirkf commented Sep 1, 2021

Try --verbose/-v.

If that's too much, try --external-downloader-args '-v 32', or 24 or 16 instead of 32 for still less (Windows: '' -> "").

If that's not enough, try --external-downloader-args '-v 48'.

Only the ffmpeg authors can explain why their program that does a lot of multiplication elsewhere was unable to turn numbers like 1, 2, 3, 4, ... into 8, 16, 24, 32, ... (though there are text alternatives).

@abvalyn
Copy link
Author

abvalyn commented Sep 7, 2021

Thanks for your reply.

I investigated a little more. It looks like last version of youtube-dl with --verbose flag actually shows HTTP-errors if they lead to fragment fail and hide them if e.g. 6 out of 10 attempts are failed.

@abvalyn abvalyn closed this as completed Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants