Questions tagged [axwindowsmediaplayer]

AxWMPLib.AxWindowsMediaPlayer is the base class for the Windows Media Player control

166 questions
1
vote
1 answer

WMP - Source object doesn't provide IPropertyNotifySink

I've included a reference to the WMP according to this instruction: https://msdn.microsoft.com/de-de/library/windows/desktop/dd564585(v=vs.85).aspx The form designer's code looks like this: _ Private…
tmighty
  • 10,734
  • 21
  • 104
  • 218
1
vote
0 answers

Memory leak issue in axwmplib playlist

I am playing a playlist using axwmplib where I'd Set mode "loop" as true. With every change in media of playlist the size of memory consumption by application get increases continuously. I have to play this playlist 24*7 and this result in system…
1
vote
1 answer

AxWindowsMediaPlayer poor performance

The AxWindowsMediaPlayer control when embedded in a C# winform gets choppy playback. The only time it plays smoothly is when it is in fullscreen mode. How can I get the performance of the fullscreen mode all the time?
John
  • 5,942
  • 3
  • 42
  • 79
1
vote
0 answers

AxWindowsMediaPlayer flickers black during playlist at random point

I have a video player which loads videos (.wav) to a playlist and scrolls through the playlist using a play queue manipulated by the playstatechange events. It works fine except for a black flicker (usually just one) that happens on the last frame…
Harrison
  • 57
  • 11
1
vote
1 answer

playing one video after another using AxWindowsMediaPlayer's PlayStateChange event in C#

I am trying to create a video player which plays a set of videos one after another using AxWindowsMediaPlayer. It currently plays one video in the given set but not the others. I am trying to implement the method shown in the example link below in…
Harrison
  • 57
  • 11
1
vote
0 answers

Switching from SoundPlayer to Windows Media Player Video

I have a paradigm which plays audio stimuli followed by images of the stimuli to be selected by the user. I need to replace the audio stimuli with video. Here is the original session code/implementation of the paradigm. At the end is one of my…
1
vote
1 answer

System.ArgumentException on putting AxWMPLib.AxWindowsMediaPlayer in Form

I have a standard Form with only a AxWMPLib.AxWindowsMediaPlayer and no code except autogenerated. I get System.ArgumentException twice on every app start. It says, that object does not provide IPropertyNotifySink interface. But how to implement it,…
JustLogin
  • 1,822
  • 5
  • 28
  • 50
1
vote
1 answer

How to make MediaElement work as good as AxWindowsMediaPlayer?

I need a very simple video player in my C# app. It only has to loop a video from file and nothing more. Since I'm developing a WPF application, I've tried to use System.Windows.Controls.MediaElement. It has all the functions I need, but works quite…
JustLogin
  • 1,822
  • 5
  • 28
  • 50
1
vote
1 answer

Using custom controls in full-screen mode of windows media player control in C#

I have written a video player app that uses the WindowsMediaPlayer control. I have since started to use photoshop a bit and so decided to create my own buttons and controls for it so I could make it respond in exactly the way I want it to. I created…
lace.john
  • 1,051
  • 2
  • 17
  • 22
1
vote
0 answers

axWindowsMediaPlayer crashes when run for longer periods

I am not an expert on c# but just trying to churn out a quick solution. Gist of the solution: I have a sensor that sends a signal via serial port, and based on the signal the video played must be changed. It switches between two videos It works as…
Veeru
  • 4,936
  • 2
  • 43
  • 61
1
vote
0 answers

C# Windows Media Player how to Delete a Playist (WMPLib.IWMPPlaylist)

I'm trying to delete a WMPLib.IWMPPlaylist in C# I've already tried it with these methods WMP.playlistCollection.remove(playlist); WMP.playlistCollection.setDeleted(playlist, true); as well as this code from a similar question: IWMPPlaylistArray…
1
vote
1 answer

Stop AxWindowsMediaPlayer programmatically via button click

How can I stop the AxWindowsMediaPlayer manually on button click? I am developing an application in WPF and using VS 2015.
stack_91
  • 31
  • 1
  • 9
1
vote
1 answer

How to play embedded video, by prevention of producing new video file in directory path?

I am developing vb.net Windows application for playing the video file. I have added a video files in embedded resource in this way: Project->Properties. Then select the "Resources" tab. Next Select "Add Resource"->"From Existing File". I am able…
bnil
  • 1,531
  • 6
  • 35
  • 68
1
vote
1 answer

Get index of current playing/paused song in playlist [Windows Media Player Library]

Here is my media player playlist code setup, working with the windows media player library. Right now what I'm doing is creating the media player and giving it a playlist. WindowsMediaPlayer wmPlayer = new…
HaloMediaz
  • 1,251
  • 2
  • 13
  • 31
1
vote
1 answer

timer1_Tick event in WinForms C# in presence of axWindowsMediaPlayer

Note: This application will be designed for a touch device (MS Surface Hub) My Windows Form contains axWindowsMediaPlayer component. I have created a playlist and I am able to loop the media files in the playlist. However, I want my…
Yash Saraiya
  • 1,035
  • 1
  • 20
  • 40