进度条 [英] Progress Bar- ffmpeg

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

问题描述

大家好.

我只想问问是否有人知道如何制作进度条来计算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...

推荐答案

http://vbffmpegwrapper.codeplex. com/ [ ^ ]

如代码中所示,可以使用Percent事件来设置值.
http://vbffmpegwrapper.codeplex.com/[^]

As it shows in code, you can use Percent event, to set the value.
Private Sub handlepercent(ByVal percentage As Integer) Handles convert.Percent
    YourProgressBar.Value = percentage
End Sub


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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆