Trying to develop a WinForms app using LibVLC but there are some issues...

This forum is about all development around libVLC.
fractal-1
New Cone
New Cone
Posts: 9
Joined: 15 Sep 2024 02:34

Trying to develop a WinForms app using LibVLC but there are some issues...

Postby fractal-1 » 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!

mfkl
Developer
Developer
Posts: 739
Joined: 13 Jun 2017 10:41

Re: Trying to develop a WinForms app using LibVLC but there are some issues...

Postby mfkl » 18 Sep 2024 10:31

Most of these questions are answered here https://code.videolan.org/videolan/LibV ... type=heads. For the rest, google and stackoverflow are your friends.
https://mfkl.github.io


Return to “Development around libVLC”

Who is online

Users browsing this forum: No registered users and 5 guests