Frame Editing with LibVLCSharp in WPF
I am developing a video editing software using LibVLCSharp in WPF, I have multiple issues regarding the library, the most important ones are :
- I want the video to be shown in the first frame, but it autoplays when I load the video with
Control.SourceProvider.MediaPlayer.Play(new Uri(Video.Path));
- When the video ends, I want it to pause in the last frame so I could go back and forward in the frames using
Control.SourceProvider.MediaPlayer.Time +(or -) int frame
- When I use the Time function sometimes it gets stuck due to few click on forward/backward frames.
- I want to be able to divide the frames let's say to 100% and be able to move forward/backward with keeping an object that saves the frame number in a variable to access the same frame later like a Framelist[int] where I'll have
Frame[5], frame[10]....
etc - I want to be able to get a preview from a video to put it in a clickable label without My ultimate goal is to be able to surf frames of a video to add a zone using Canvas and to play the video with the zones moving together to keep track of an object
Can anyone help with these issues please ? I've been looking for a solution for a while now and all I found was the project PreviewThumbnailExtractor
and I can't seem to find a way to use it to do what I want neither do I know how to implement it in WPF to get the video preview as specified above.
Thanks in advance