Click here to Skip to main content
15,886,258 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
I'm using WinForms. I want to show the progress of a video conversion in a progressBar ,I'm currently using the NReco.VideoConverter, I've tried FFLib.Encoder too, it has an EventHandler named Progress, but I can't make it work with the progressBar.

I've tried progressBar1.Value += converter.Progress;, also tried using a "percentHandler" and it failed.

Hope someone can help me. Also, if someone knows about a better video conversion library, please let me know.

Thnaks in advance
Posted
Comments
Sergey Alexandrovich Kryukov 24-Feb-15 21:37pm    
What have you tried so far?
—SA

1 solution

Please see: http://www.nrecosite.com/doc/NReco.VideoConverter/html/E_NReco_VideoConverter_FFMpegConverter_ConvertProgress.htm[^].

It's nearly all clear what to do, but if not, now, when you know the event name, you can do some more search and find out some more detail, if you need it.

—SA
 
Share this answer
 
Comments
ChrisCreateBoss 25-Feb-15 18:09pm    
I saw that event handler, but I don't know how to use it. Can you give me a code sample please?
Sergey Alexandrovich Kryukov 25-Feb-15 18:26pm    
It would not take more of my time that yours, set aside that you are more interested party :-) I never used it, too. Will you try it out and ask further questions if you face problems? This is exactly what you need.
—SA
ChrisCreateBoss 25-Feb-15 18:51pm    
So, what should I do?
Sergey Alexandrovich Kryukov 25-Feb-15 21:46pm    
I already answered. Handle this event. Do you know how to handle events (I hope)?
—SA
ChrisCreateBoss 26-Feb-15 7:35am    
No, I don't know how to handle them.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900