Managing Audio Tracks Via AxWindowsMediaPlayer Object

Jan 30, 2012

I have recently created an application to play videos using theAxWindowsMediaPlayer object. I was able to set good part of the controls but I'm still struggling with the audio track functionality. In order words, I was not able to find a method or even a property that allows me to select which audio track should play with the movie. If the movie has more than one, the audio tracks are played all together when the play method is executed.

View 3 Replies


ADVERTISEMENT

VS 2010 Media Player Is Skipping Some Tracks - In Interval Of 2 Tracks

May 2, 2010

Media Player is skipping some tracks, in interval of 2 tracks, I don't know why. Imagine a list of 5 tracks.

[Code]....

View 1 Replies

Media Player Is Skipping Some Tracks In Interval Of 2 Tracks

May 2, 2010

Media Player is skipping some tracks, in interval of 2 tracks, I don't know why.

[Code]...

View 2 Replies

C# - Pattern For Managing Reference Count And Object Life

Mar 18, 2010

We have a serial port which is connected to hundreds of physical devices on the same wire. We have protocols like Modbus and Hart to handle the request and response between the application and devices. The question is related to managing the reference count of the channel. When no device is using the channel, the channel should be closed.

[Code]...

View 2 Replies

Audio Management System - Allow User To Add Audio Files Itself Into Database Together With Audio Information

Jan 28, 2010

I'm developing a standslone system for my school project. I'm developing an audio management system which allow user to add audio files itself into database together with the audio information such as artist name and album year. I just started it few days ago and face some problems.. my song in the playlist wont continue to play after 1 finished and i need some idea on how to store the audio files into database ... in blob types may be?

Heres the screenshot and codes

Public Class Form1

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles bt_add.Click

[CODE]............................

View 2 Replies

VS 2010 Cannot Dispose DirectX Audio Object After Playing?

Nov 14, 2011

I'm playing an audio file like so:

VB.NET Dim audio As New Audio(Application.StartupPath & "est.wav", True) audio.Balance = 10000 audio.Play()

Which works great. But if I need to change that file, I get an UnauthorizedException because the I haven't disposed of it. But, if I add a dispose after .Play, it won't play.

View 2 Replies

Audio Converter And Compressor - Audio & Video - Dream.In.Code

Mar 13, 2009

I just want to ask or I need some idea on how to convert wav files to mp3 and compressed the file to make the size smaller. I've search on the internet and find vorbis.dll as a reference object and lame.exe for converter. With regards to the audio compression, i downloaded monkey's audio software but doesnt have an idea on how to incorporate it.

View 2 Replies

VS 2008 Recording Audio - Capture The Audio Played On My Laptop

Jun 11, 2009

Im trying to capture the audio played on my laptop. so i have searched the internet and found a source code for doing exactly that. the problem i have is that my audio device is not listed in the dropdown box (see picture) but it does when its run on windows xp (im running windows 7 x64) the goal of this application would be to capture my friends radio stream and save the individual played mp3's to a loction on my hard drive.(yes i have permission) i have included the source code so perhaps some 1 could have a look at it. (source code)[URL]

View 2 Replies

Make Media Player Start Some Tracks

Apr 5, 2011

Im trying to make the media player start some tracks that i have in a folder in the working directory of my program. I am not sure how to do this as I have never used the media player. The program has a media Library i have called itunes and a variable for the number of different genera available (there are only 2 at the minute) there is an array that gets the track and genera. The horizontal scroll bar is suppose to select them but doesn't (if i change the number in the array it works) Called HSB.[code]

View 3 Replies

Make A VU Meter For Audio To Monitor Audio Input?

Feb 26, 2007

make a VU meter for Audio to monitor audio input devices volume level such as microphone and etc?

View 7 Replies

Routing Modem Audio Out To SR Engine Audio Input Under VB / VBA?

May 20, 2009

I have a database application developed around Access with VBA,I have used the Speech SDK and developed an application that in conjunction with MSCOMM 6.0 library calls into a remote IVR system.It sends in the credentials and queries information in response to that IVR's verbal requests. All seems successfull except for one problem;I'm using a shared SR engine and its using the system microphone as its audio input, this in turn gets the sound from the speakers which are routed to the telephone line through the modem. Of course this has a number of disadvantages - noise added to the sound from the environment and sound quality degredation as well as speaker volume dependency.

I would like the SR engine to take its audio input from the modem in paralell with the sound that goes to the speakers (so we can listen in to the call as well). This means that I must route the system audio output to the SR engine audio input. It seems that I must use an InProc SR instance - however in VBA that type is not recognized - since the shared SR uses the microphone as input by default. there is some statement to the effect that it is difficult in Microsoft's Help file. I'm unable to set the SR audio input to the modem output stream in VBA.As needed I can accomplish the C++ interface using an ActiveX object or a DLL to expose the missing API to VBA?

View 7 Replies

Create A Tool For My Group (6 People) That Tracks Tickets?

Apr 12, 2009

first wanna say, awesome forum here wish i'd found it sooner so basically im trying to create a tool for my group (6 people) that tracks tickets they work, basically we work jobs by ticket request and im trying to create a tool/program where they can enter:the ticket number if they completed,pending etc and notes of the job i figured it was gonna be easy, do a simple GUI that saves the info to a excel sheet or a access DB file.

that is basically how it looks. what im trying to figure out and hoping to get some help on is what is the best way to go about this? would a access DB work out better? (since i am hoping to expand it later like add a auto date/time function etc)how do i get it so when i hit the "submit" button it copies the fields and puts them into the DB file?

View 7 Replies

Stop Pause / Gap Between Tracks In Windows Media Playlist?

Aug 16, 2009

Is it possible to prevent the pause or gap when playing audio from a windows media playlist in VS 2008?

Or is there another method of playing .wav or .mp3 files without pauses or gaps inbetween each other?

View 4 Replies

Play Audio After The Previous Audio

Sep 23, 2009

how can i play the audio after the previous audio play is finish by using directx.

assume i have audio1.wav and audio2.wav.

i play audio1.wav by this code.

audio1 = audio.fromfile("D:audio1.wav", false)

how can i play audio2.wav after audio1.wav is finish? without use any button or signal. just depends on when the audio1.wav is finish, then audio2.wav will play automatically.

View 4 Replies

AxWindowsMediaPlayer Mystery?

Aug 29, 2009

On the subject of the AxWindowsMediaPlayer.URL property, MSDN warns:Quote:Originally Posted by MSDN

View 3 Replies

Tell When AxWindowsMediaPlayer Is Downloading?

May 2, 2012

I am using AxWindowsMediaPlayer on VB.NET to preview MP3 files from the web so that the user can choose to download it if he likes it. It works. I just put a link in the URL property and after a while it begins playing. ... after a while, of course. Because it has to download the file first. Perhaps I realized that because of my slow connection XD. But that made me think: how can I tell if the player is currently downloading a file? So that I can put a label saying "Please wait, preparing file..." or something.

View 1 Replies

DoDragDrop List View Item Reordering - User Can Drag Media Tracks From One Listview To Another Listview

Feb 12, 2010

I have a media browser program I am building. I am trying to use drag/drop so a user can drag media tracks from one listview to another listview and then use the second list view as a playlist in windows media player com object. Reading at MSDN I have found out that there is no built in support for item re-ordering with the listview control. I have listview1 working correctly but when I try to reorder items in listview2, the dragged item ends up at the end of the list. So basically I need to get the item insertion index corrected. I have tried more than 10 times to get this code right.

Here is my code which includes a form with two listview's.

Public Class Form1

Private Sub ListView_ItemDrag(ByVal sender As Object, ByVal e As _
System.Windows.Forms.ItemDragEventArgs) Handles ListView1.ItemDrag, _
ListView2.ItemDrag

[CODE]...

View 2 Replies

Disable AXWindowsMediaPlayer Shortcuts?

Aug 7, 2011

Is there any way to disable the keyboard shortcuts of AxWindowsMediaPlayer or even handle the KeyDownEvent of that control ?

View 1 Replies

Use Wait To Complete On AxWindowsMediaPlayer?

Mar 12, 2011

How do I use Wait to complete on AxWindowsMediaPlayer. I wish the video to play first before loading another form.

View 5 Replies

AxWindowsMediaPlayer Cannot Display Fullscreen When It Re-played

Jul 31, 2010

i make a simple winform application with AxWindowsMediaPlayer and timer.

My objective is about to make the application play the clip with interval (that's why i use timer)

When AxWindowsMediaPlayer finish playing the first clip, everything's okay. But when it begin playing the next clip. It CAN'T HAVE FULLSCREEN MODE. I have to double click the control manually to have it fullscreen. I use vb 2005 in 7 ultimate.

Here is my code

Private Sub AxWindowsMediaPlayer_PlayStateChange(ByVal sender As Object, ByVal e As AxWMPLib._WMPOCXEvents_PlayStateChangeEvent) Handles AxWindowsMediaPlayer.PlayStateChange

[Code]......

View 6 Replies

Axwindowsmediaplayer Play/Pause In If Statement?

Mar 22, 2012

I am making a media player and I have a button where I want the text to change depending whether the media player is playing or paused. So far I have this:

If (AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsPlaying) Then Then
Button3.Text = "Pause"
ElseIf (AxWindowsMediaPlayer1.playState = WMPLib.WMPPlayState.wmppsPaused) Then
Button3.Text = "Play"
End If

The problem is, is that i get an error under WMPLib.WMPPlayState on both lines. The error says 'WMPPlayState' is ambiguous in the namespace 'WMPLib'..

View 2 Replies

AxWindowsMediaPlayer Uimode 'none' Option Not Working

Aug 11, 2010

I have the windows media player embedded in a windows form, I have tried to set the uiMode to 'None' but it will not work, I have tried doing it using the properties window in the development screen which accepts 'None' but when the program is run it shows the controls on the player.I have also tried placing the action into code: AxWindowsMediaPlayer1.uiMode = none This generates an error stating the 'None' is not declared.

View 6 Replies

Error In Playing Movies Through Axwindowsmediaplayer

Aug 20, 2010

this is my Dim files() As IO.FileInfo = New IO.DirectoryInfo(My.Application.Info.DirectoryPath & "downloaded songs").GetFiles("*.wmv") Listbox1.Items.AddRange(files) but when i load - nothing happens

View 6 Replies

Get The Video To Finish Playing In AxWindowsMediaPlayer?

Mar 11, 2011

How do I get the video to finish playing in AxWindowsMediaPlayer before it loads another form? It keeps showing the next form briefly before the video starts.

View 2 Replies

Preview Subtitles Over AxWindowsMediaPlayer Control?

Nov 26, 2009

I'm making a MediaPlayer program , and I'm using AxWindowsMediaPlayer control

so , I need to know how to preview subtitles or seek bar over

AxWindowsMediaPlayer control - especially on FullScreen mode

View 3 Replies

Using AxWindowsMediaPlayer To Play A Short Video?

Sep 1, 2011

I have a form using AxWindowsMediaPlayer to play a short video. How can I load another form and close this form when the video is finished?

View 6 Replies

VS 2008 - Axwindowsmediaplayer Repeat Or Play?

Dec 2, 2009

I am using Windows Media Player component in vb2008 and I was wondering if there is a way to make it repeat? or if I can just make it play every 51 seconds (which is how long the song is) I tried Axwindowsmediaplayer1.play and .repeat, But neither of those are functions, So I'm not sure what I would have to use.

View 2 Replies

VS 2008 AxWindowsMediaPlayer Video Scaling?

Mar 31, 2011

I have a axwindowsmediaplayer object in my form which plays a video on load, but unfortunately the video seems too small and there is a massive black border around the video, is there anyway I can stretch the video to fill the whole player window?

View 1 Replies

Axwindowsmediaplayer - When Call Form 2 Again, The Player Seems Don't Show Up?

Mar 11, 2010

I'm using VS 2008 pro version under windows 7. I'm developing an app, and my app has 2 forms. When i press a button in form 1, form 2 will show up. Form 2 contains an axwindowsmediaplayer control and I set the autostart to true. The problem is: When i start debugging the app, the form 1 shows up and I click the button to call form 2, the form 2 shows up and the player start playing ( this is really good, at first), when i close form 2, the player stop, the app takes me to form 1 again, now is the problem, when i call form 2 again, the player seems don't want to show up, i don't know how to describe, here is the image .

View 1 Replies

AxWindowsMediaPlayer Auto Play Next Song From Playlist

Feb 27, 2011

AxWindowsMediaPlayer auto play next song from playlist

View 1 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved