LibVLCSharp - TimeChanged event and SetPosition
Posted: 21 Apr 2019 00:59
Hi,
I'm using LibVLCSharp.
I have two things that are not very clear to me:
1) I need a way to have a callback (ideally at each frame) with the current timestamp. I'm currently using the TimeChanged event, but I can see it get fired not so frequently. Like every 300/400 milliseconds.
2) If I try to set the Time while the video is paused, and then try to read the Time after setting it....there is a differency of few milliseconds. So in example if I set the Time to 2345, if I read it back I obtain a different value...like 2378!
Regarding issue 1) I read sommewhere in the forum that this is the way that libvlc work....and for now there is no way to get this callback fired more frequently. Is it true? Ar things going to change in the 4.0 release?
thanks
I'm using LibVLCSharp.
I have two things that are not very clear to me:
1) I need a way to have a callback (ideally at each frame) with the current timestamp. I'm currently using the TimeChanged event, but I can see it get fired not so frequently. Like every 300/400 milliseconds.
2) If I try to set the Time while the video is paused, and then try to read the Time after setting it....there is a differency of few milliseconds. So in example if I set the Time to 2345, if I read it back I obtain a different value...like 2378!
Regarding issue 1) I read sommewhere in the forum that this is the way that libvlc work....and for now there is no way to get this callback fired more frequently. Is it true? Ar things going to change in the 4.0 release?
thanks