How to get current frame?
Asked Answered
H

2

5

I would like to send to another app current frame (number). Is it possible to access it in axWindowsMediaPlayer control?

Headlock answered 2/11, 2011 at 19:44 Comment(1)
Is all the code yours or third party tools (source code less) involved?Radiotelephone
L
4

I didn't see anything about this on axWindowsMediaPlayer control.

But you can use FrameGrabber project to extract frames from a movie. FrameGrabber is an open-source library written in c# and it is easy to use.

Hope this helps.

Lathan answered 2/11, 2011 at 20:2 Comment(0)
P
3

This may be an old thread, but I feel like the question did not properly get answered. This may not be the "frame number" but it does give you a "position" of the video that you could pass. I am using it to sync two videos. This is for a media player that has already been added to a VB form called AxWindowsMediaPlayer1. I am sure something similar can be called in C#

Dim position As Double 
position = AxWindowsMediaPlayer1.Ctlcontrols.currentPosition
Parol answered 3/10, 2014 at 14:3 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.