本文介绍了进度条的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.

我只想问问是否有人知道如何制作进度条来计算ffmpeg文件转换的进度.

我试过了:

ProgressBar1.Minimum = 0
ProgressBar1.Maximum = 100
ProgressBar1.value = ffmpegOutput


它不起作用..如何获取文件进度的百分比?



预先谢谢大家...

Hello everyone..

I would just like to ask if anyone knows how to make a progress bar calculating the progress of the ffmpeg file conversion.

i tried:

ProgressBar1.Minimum = 0
ProgressBar1.Maximum = 100
ProgressBar1.value=ffmpegOutput


It doesn''t work.. how can i get the percentage of the file progress?



Thank you all in advance...

推荐答案

Private Sub handlepercent(ByVal percentage As Integer) Handles convert.Percent
    YourProgressBar.Value = percentage
End Sub


这篇关于进度条的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-22 14:17