-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Show estimated video transcoding time #799
Comments
During encoding FFMpeg dynamically reports:
From here there is number of ways to evaluate ETA. I see the most robust, simple and flexible is:
We are getting duration of playback reported by container, it (container) solves the case. Mingling with streams would tend to get too complex. There is v:0 stream in 97% cases, but in others, it can be v:1, or there can be any number: v:n (VR, 3-angle camera video). Or if we support podcasts, - they often have no video stream, than we must... So we just get duration of playback from authoritative source - container, and that is it. It would return number in seconds:
During encoding we are gathering that
It gives us accurate estimation, while all this works for any types of scenarios. I propose this time-based variant and not others, because if we would go frame numbers, FPS route - there are plethora of corner cases and variants that need be accounted then, and ETA code over would become a mess. Container&Time-based variant is universal for all cases. |
At best we can only tell the position in the transcoding queue of a video, and the time left to transcode once transcoding. Your users will still have a very vague notion of when their video will be transcoded… |
As pointed out on IRC, we can easily access the progress of an active job through the API provided by |
Admins can now see transcoding progress percentage in job list: 3b01f4c |
Why not make the percent visible to the uploader? It would them to know on their side the progress of their video. |
Question goes unanswered. |
Can we get the percent visible to the uploader? Or even better, an estimated time to completion? |
I'm getting a lot of questions by uploaders that want to know the time until an upload of theirs is transcoded. Unfortunately, this is almost impossible to estimate, because there are a lot of factors, like:
Instead, it would be nice if Peertube could display the estimated transcoding time, probably on the upload screen.
It would also make sense to show the total length of the transcoding queue separately, and inform the admin if it is unusually long.
The text was updated successfully, but these errors were encountered: