Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vlc elapsed time accuracy issue after I pause the video #282

Open
PraveshDev opened this issue Mar 25, 2019 · 5 comments
Open

Vlc elapsed time accuracy issue after I pause the video #282

PraveshDev opened this issue Mar 25, 2019 · 5 comments

Comments

@PraveshDev
Copy link

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

@devkanro
Copy link
Owner

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

@PraveshDev
Copy link
Author

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

@devkanro
Copy link
Owner

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

@PraveshDev
Copy link
Author

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.

@devkanro
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants