Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Control frequency of progress updates #17898
Comments
|
In my case, progress updates from the progress hook aren't frequent enough. When I use the progress hook to create a progress bar, it stutters and looks kind of unpleasant. I think it would be really nice to update progress as fast or as slow as required. Running ffmpeg with a big file on a slow computer can sometimes take a couple of minutes. It would be nice to get progress updates for that as well. My tool just freezes while it's waiting for ffmpeg so it's not great for UX. Doing this would involve reading the stdout of the ffmpeg subprocess one line at a time instead of using |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2018.10.05. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Description of your issue, suggested solution and other information
When piping the ouput of youtube-dl to a file with the --newline option there can be many hundreds of download progress messages - several per second which can be excessive.
I would like an option to control how frequently the down load status is updated.
eg --progress 30 to update the status every 30 seconds
I know I can use the --no-pogresss opion to suppress the download progress messages - I would like something in-between,
BTW It would also be nice if all ouput messages had a time stamp so it was not necessary to use awk or other tool to add time stamps