Trying to develop a WinForms app using LibVLC but there are some issues...
Posted: 15 Sep 2024 02:57
Hi. I'm a beginner trying to build some sort of video organizer in C# using WinForms & LibVLCSharp where on the top part is the video preview (from LibVLCSharp) and on bottom part the controls to move or copy the video. So far I managed to make the app show a VideoView where the video is playing + start/pause + stop.
There are some issues that I couldn't find a solution.
1. How can I get the current video duration after the video is loaded in the player?
2. How can I rewind the video for 1 second if a press let's say the left arrow? Same but 1 second forward if I press the right arrow.
3. How can I slow down the video playback speed to 20% of the original speed?
4. How can I set the loop video (restart playing after it ends)?
Please give me actual code examples and I'll try to incorporate them into my app. Thanks in advance!
There are some issues that I couldn't find a solution.
1. How can I get the current video duration after the video is loaded in the player?
2. How can I rewind the video for 1 second if a press let's say the left arrow? Same but 1 second forward if I press the right arrow.
3. How can I slow down the video playback speed to 20% of the original speed?
4. How can I set the loop video (restart playing after it ends)?
Please give me actual code examples and I'll try to incorporate them into my app. Thanks in advance!