Meta.Vlc icon indicating copy to clipboard operation
Meta.Vlc copied to clipboard

Vlc elapsed time accuracy issue after I pause the video

Open PraveshDev opened this issue 6 years ago • 5 comments

I am using Meta VLC with WPF application. I have canvas as a parent of VLC player. When I pause the video, mark rectangle on the video and acess elapsed time(vlc.time) it gives some milliseconds difference, sometimes fine. Due to this when again I want to show marked area it is not at the exact position. Sometimes it gives accurate, sometimes there is 1 to 5 frames difference. As I debug, It looks VLC is updating its elapsed time after >200 milliseconds. I need exact and accurate time so that I can show the marked rectangle precisely. Can you please tell me how can I solve this? Thanks

PraveshDev avatar Mar 25 '19 05:03 PraveshDev

Ummm, I think it is a libvlc's issue, you can report it to libvlc forum.

devkanro avatar Mar 25 '19 08:03 devkanro

Can we call vlc timechanged event manually on 10 milliseconds intervals so that it would update the elapsed time at each 10 milliseconds?

PraveshDev avatar Mar 26 '19 02:03 PraveshDev

I use function pointer for VLC event, and the event is fired by VLC forwardly, not me.

devkanro avatar Mar 26 '19 06:03 devkanro

Can we change that setting of VLC to update in 10 milliseconds, through Meta VLC property or any other way. Or there is a way to do this you know through your Meta VLC.

PraveshDev avatar Mar 26 '19 06:03 PraveshDev

In my impression, there is no libvlc function to do this. But maybe some option can do this.

devkanro avatar Mar 28 '19 04:03 devkanro