windows-media-player

Any possibility to add subtitl in AxWindowsMediaPlayer control ?

Hi I am using axWindowsMediaPlayer control in my windows mobile application with using .net CF 2.0, I want to play the video with subtitle.(SRT file type) Any one know how to add the SRT file in AxWindowMediaPlaye ,It is possible ? Pl. give me some suggestions Thank you in advance. ...

How to control the system volume using javascript

Hi, I am using media player to play audio and video. I am creating own button to increase and decrease the volume of the media player. working fine too. Problem: Even after reaches 0% volume its audible. If the player volume increase the system volume also be increased. Is it possible. How to achieve this task. Control: <objec...

Embedding WMP to play .mpg files cross browser

Hi all, I'm setting up a website which ultimately displays videos. The video files are all .mpg and requirements prevent me from converting these to another format such as flv. So far I have been playing around with Windows Media Player but have found that it doesn't play nice with non IE browsers. The problem which arises is that altho...

Embedded WMP control - how to get resolution of current playing file?

Hi All. I have a Windows Media Player control embedded inside my webpage, I feed it some URL to stream from (ASF file). How can I get from the WMP control the resolution in pixels of the file being played? Thanks Roey ...

Delphi: Error when starting MCI

I use the TMediaPlayer component for playing music. It works fine with most of my tracks. But it doesn't work with some tracks. When I want to play them, the following error message is shown: Which is German but roughly means that: In the project pMusicPlayer.exe an exception of the class EMCIDeviceError occurred. Message: "Error wh...

How does Windows Media Player deal with monitor refresh rates?

I'm writing an animation app in C#/WinForms (see this question). Basically, the animation in my application is smooth but shows tearing effects; when I take the same animation and render it to an AVI file and play it with Windows Media Player, the animation shows no tearing effects at all. I know WMP is not changing the frame rate beca...

Can the Windows Media Player COM control play AVI files from memory (instead of from a file)?

I have a C# app, and I'm looking at using the Windows Media Player COM control to play animation and audio. So far, the only way I see of programatically controlling what the control is playing is to set its URL property to point to some file (I assume there's some way to pass in a playlist). Is there any way the WMP can render an AVI ...

MediaCollectionMediaAdded Event does not fire

I'm relatively new to C# and want basically develop an application that works with the WMP library. According to msdn, the WMPLib offers several events dealing with the WMP library such as MediaAdded, MediaDeleted, MediaChanged, etc. I wanted to implement to implement the event that is fired when a new media is added to the library as f...

How can I play DVD files using wmp.dll?

I need help with my VB6 app. I have a form with a reference to wmp.dll (Windows Media Player 9 ocx). I can play many file extensions like Mpg mpeg , avi, qt and others, but I want to play dvd files. I'm using the following code:. wmp.url = "D:\VIDEO_TS\VTS_01_0.VOB" This command work in all files, but not for DVD files. I've also tr...

video dsp plugin for Media Player 12

Hello, I am trying to build a video dsp plugin for Media Player 12 x32 running on Windows 7 x64. I installed Visual Studio 2008 and the Windows SDK 7 on the target machine and used Media Player SDK wizzard to create the example video dsp plugin project. Built the project successfully and registered the resulting dlls (wmpplugin1.dll and...

getting sound on .asf video on Mac OS X

When I try to open the following video: http://streaming1.hss-win.rpi.edu/ondemand/cogsci/issues_in_cs/issues_in_cogsci_02_04_2009.asf I can get it but without any sound... I tried it both inside the browser (Firefox) and in QuickTime Media player but still it does not work. Any idea how to get this to work on Mac OS X? Using version ...

cannot play video file from specified point using Windows Media Player on Windows Server 2008 x64

I would like to play a video on a web page using Windows Media Player, and start it at a certain location using the currentPosition parameter. It works fine when I create it and play it from visual studio in Windows XP - meaning that that the video file is indexed. However, the currentPosition parameter does not seem to have any effect ...

Controlling Windows Media Player through PHP / batch files

I'm currently writing a tiny webapp for my HTPC (actually, a PC serving as both a media player and web- / fileserver) that will allow me to remotely control the playing of audio, without having to turn on my TV just to switch songs. I'm using Windows Media Player as my audio player of choice, and I thought I could control it through PHP...

More efficient way to find media item in WMP media library?

Hello, all. I am messing around with the WMPLib component provided by Windows Media Player 12 (wmp.dll) in VB.NET with .NET Framework 3.5 SP1. I am trying to retrieve a media item from my media library based on its name (assuming there are no duplicate names). At the moment, I'm grabbing the entire media library, and looping through ev...

How to input live video Stream to Microsoft Encoder.

There is a facility in Microsoft Encoder to give input from a file or from a device such as webcam for streaming. But i haven't found a way to give live video stream to encoder. i.e. How to make encoder listen to particular UDP port. From which encoder will take input stream and encode it and push to windows media server. Any help will ...

Checklist for Embedded Windows Media Player

Is there a list of the things to check to get an embedded WMV video to playback? I have used the jQuery http://malsup.com/jquery/media/ Media Plugin which should make the embedded code correct for all browsers. However some corporate users report that they see the embedded video player but cannot play the file. In this case, users are ...

Need help with video streaming with web-embedded Windows Media Player Component

Hello, I need to be able to play a .wmv video in a Windows Media Player component on a web page starting at a particular specified point in the video right away. I can embed the component and play the video. The problem is that even if I specify the location with The PARAM “currentPosition”, the video starts to play from the beginning...

How to make windows media player go to previous song in playlist?

Hi, everyone! I am writing a simple Windows app in c++, that will be able to send commands to windows media player. My problem is that I want my app to move to the previous song in the playlist. IWMPControls::previous() seems to do the job, but its behavior differs from what is written in msdn. In fact this function rewinds current med...

How to turn off Video Acceleration programatically.

Im using the Windows Media Player OCX in a program runned on hundreds of computers (dedicated). I have found out that when video acceleration is turned on to "full", on some computers it will cause the video to fail to play correct, with green squares between movies and so on. Turn the acceleration to "None" and everything is fine. Th...

Windows Media Player toolbar obscures DHTML layer on Firefox

Hi, I have a DHTML layer that floats across a webpage. Everything is working with the DHTML layer, except when it goes pass the Windows Media Player toolbar. It goes behind the toolbar. Any idea how to fix this? Thanks in advance for your help. ...