-api-id | -api-type |
---|---|
M:Windows.Media.Playback.MediaPlayer.CopyFrameToVideoSurface(Windows.Graphics.DirectX.Direct3D11.IDirect3DSurface,Windows.Foundation.Rect) |
winrt method |
Copies the current video frame from the MediaPlayer to the specified target rectangle within the provided IDirect3DSurface.
The IDirect3DSurface to which the video frame is copied.
The target rectangle within the IDirect3DSurface to which the video frame is copied.
For information on using CopyFrameToVideoSurface to apply GPU effects to video frames, see the Use MediaPlayer in frame server mode section of Play audio and video with MediaPlayer.