-
-
Notifications
You must be signed in to change notification settings - Fork 415
Why does the trackbar stop working on my videos in my c# application? #671
Comments
Please:
|
Hi
if it helps this as an example one video i have says the length of it is 8.36 which times by 1000 = 8360 which is what i used to set the maximum on the track bar and the trackbar and buttons worked till 7524 after that the values do go up and down once they go below 7524 it all works again however anything after that time index the screen (panel1) doesnt update and is frozen at that time index also unaware if the answer to the problem is the same as this one, just thought i would ask. i have added a play button and pause button. once my video reaches the end of the video, everything including the tracbar and skip button stop working, again it is as if it is frozen |
|
Hi i have uploaded a simple version of my code which shows the error, i have written a readme section which shows you how to use the application once it has started, it also out lines the issue i am facing as well https://github.com/VijayRed01/TS1_C Thank you |
Use private void trackBar1_ValueChanged(object sender, EventArgs e)
{
control.Time = trackBar1.Value; //correct
} Instead of invoking and updating etc. private void trackBar1_ValueChanged(object sender, EventArgs e)
{
Time_update(trackBar1.Value); //wrong
} |
Hi i have tried that however the video just hangs after a while i did try And that sort of works however causes a lot more issues |
I have an issue / a question (pick one) about Vlc.DotNet.
Generic information
Summary
I am creating an application using vlc.dotnet, I wanted to implement a trackbar to be able to scroll through the video. However the problem I am facing is that, the trackbar seems to be able to work until a specific point in the video and this seems to be different with each video. Below is a summary of my code, as the actual code is really long.
The code also has two buttons which increments and decrement the value within the trackbar, so the user is able to use that alongside the trackbar to scroll through the video. These buttons also work to a certain point and then stop. The video contains lines of Meta data which is linked to each frame, so using the length of the video and the number of lines of meta data, I tried to calculate the max length and the tick frequency and that didn’t seem to work either. Below is the code to show how I tried to implement the calculations.
The text was updated successfully, but these errors were encountered: