IAdapter
IAdapter

Reputation: 64717

How to get current frame?

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

Upvotes: 5

Views: 3370

Answers (2)

leo
leo

Reputation: 31

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

Upvotes: 3

Mahdi Ghiasi
Mahdi Ghiasi

Reputation: 15301

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.

Upvotes: 4

Related Questions