Open MymsMan opened 6 years ago
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 p.communicate
and then extracting the frame number with regex or something. Then you probably want a separate progress hook status for "postprocessing"
. I read somewhere that you have to pass universal_newlines=True
to Popen
to make it work. Not really sure what that means.
hi, is this still an issue ? if so i would want to know how to contribute to this
I am not aware on any change being made in this area so yes it is still an issue.
Please follow the guide below
x
into all the boxes [ ] relevant to your issue (like this:[x]
)Make sure you are using the latest version: run
youtube-dl --version
and 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