martin2k

Home | Forums | Visual Basic 6.0 | Games | Web Directory | Software | HTML | Wiki | Blog | Contact

Problem with Mpeg audio filter!!


Home Read and add posts to the Visual Basic 6.0 Forums Download some of my programs and OCXs Read the Tips here The old style forum is still available here Contact

Back


From: Simon E-mail: chapsin@maxis.net.my 1

Date: Sunday, February 25, 2001 at 05:00:00

Subject: Problem with Mpeg audio filter!!

Comments:

Can you teach me how to change the audio channels setting to "both"
with VB6 code, when playing Mpeg movie with Windows Media Player
control?

Thank you

Simon Sim
Malaysia

From: Martin Allen E-mail: <No e-mail> 2

Date: Sunday, February 25, 2001 at 14:43:00

Subject: RE: Problem with Mpeg audio filter!!

Comments:

Hello Simon,

Thank you for your message.

The following code may help you with your problem:

MediaPlayer1.FileName = "C:\Movie.mpg" 'Specify a file to play
MediaPlayer1.Volume = -2700 'Set volume to lowest
MediaPlayer1.Volume = 0 'Set volume to highest

I do not know if you are talking about a DVD disc or a normal MPEG file. I was unable to get DVD files to work in Windows Media Player, but I was able to play it in a the original Media Player - file://C:\WINDOWS\MPLAYER.EXE. There is not a way that I know of to change the audio channels. Right-clicking on the player and choosing Options... and then the Playback tab, will allow to change the balance of the sound output.

Please e-mail me reply if you want any more help.

The VB6 Problems page is soon ending and the problems that are there and this one will be transferred to the form section.

Martin Allen
http://www.martin2k.co.uk/vb6


This forum is no longer taking new messages or replies since 01 November 2002.  The above material is for reference purposes only.

The new Visual Basic 6.0 forum can be found here.


Martin Allen 1999 - 2003.  Last updated Monday 07 April 2003 07:43:32 PM +0100.