VS 2008 Play Media File Video Or Audio?
Jul 7, 2011
how to play video or audio in a vb.net application but have come up with not a lot.
I want to create a program that accessing a web server (no problem on that) and will pick up audio and video that is stored on that server.
Or, maybe do a live broadcast where I can play my guitar and sing a song. (Promise if I get this done through here I will give you a live performance) on that note I am sure you will all hold back.
This is a little open and wide, but what I would like to know via a webserver is this possible
1.Video
2.Audio
3.Live broadcast
View 11 Replies
ADVERTISEMENT
Dec 13, 2011
I m trying to create media player .i want to add an swf file in current running video file at the top of my video player or bottom of my video.
View 2 Replies
Sep 18, 2009
I'm using the windows media player (wmp.dll) in vb.net 2008 and would like to know if it's possible to play a specific portion of the video. For example, I would like to start to play the video X minutes from the start and for Y amount of time.
View 1 Replies
Sep 18, 2009
I'm using the windows media player (wmp.dll) in vb.net 2008 and would like to know if it's possible to play a specific portion of the video. For example, I would like to start to play the video X minutes from the start and for Y amount of time.
View 1 Replies
Apr 10, 2009
How do I play audio/video files in VB.NET?
remember to mark the replies as answers.
View 1 Replies
Feb 4, 2011
I'm kinda new to this. Done it a bit a while back, completed a simple conversation program, and started a text game..but decided to take it back up and make a new interaction fiction game with videos.. the thing I'm having a problem with right now is the windows media player control. I make my first intro movie play by placing it's location in the URL property...I'm wondering how you would code it to play the second intro video I have once that one comes to an end.. I may just put the two videos together to make this easier.
View 10 Replies
Jul 18, 2009
So I found the Windows Media player and added it on my form. I have a sample wmv called bear.wmv file in my solution explorer. How do I get the video to play? I was hoping for a smart tag and just connect the player to the wmv file,
View 1 Replies
May 1, 2009
how have a media player to play video on the application??? is there a drag and drop media box?
View 1 Replies
Sep 16, 2010
Im trying to open media player (full screen) and play a movie. When i create the file path like so: Dim MoviePathVTS As String = String.Concat("""" + tempMoviePath, " \VIDEO_TS\VTS_01_1.VOB" + """")
It wont play the file but if i do it like this: Dim video1 = """F:\Movies\DvD\Angels and Deamons\VIDEO_TS\VTS_01_1.VOB"""
It plays fine? the file paths are the same including the extra "" but it just refuses to play. I need the top one because i have many movies in a treeview.
Heres my code
Private Sub watchNow_Click(ByVal sender As Object, ByVal e As EventArgs)
'get the position of the selected node
Dim i = movieTreeView.SelectedNode.Index
[CODE]...
View 2 Replies
Nov 6, 2008
Public soundPlay As New System.Media.SoundPlayer How do I play an embedded resource wav file.
View 3 Replies
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
Nov 17, 2009
I want to know if there is a way to trim and audio.For example, I load in a song that is 3mins in length. I only want 1min 10s part to 2min 30s portion of the song and then save it as, let's say a WAV file.
Is there any API that I could look into to do this?
View 1 Replies
Jun 7, 2009
I am currently trying to find a way to play an audio stream from the internet so I thought that someone here might be able to help me. The stream I want to play is specified in a .m3u file and it is not a live stream, it is pre-recorded. This component is for a WPF Browser Application I'm developing.I thought of using the ActiveX MediaPlayer from WMP.dll but it's lack of intuitiveness confounded me. I would really dislike having to download the whole audio track before playing it since the file may be really large and take a long time to complete. Playing the file in Windows Media Player as an outside player is also out of the question.
View 14 Replies
Apr 28, 2012
The code below works so i know the resource is registering correctly ...
vb.net
My.Computer.Audio.Play(My.Resources.alrt2xuk, AudioPlayMode.Background)
But what im trying to do is make a function where I can play the audio file in the programs resources with a string variable being passed to it representing the resource objects filename.
this is so users can type in a audio files name and pull it from the program's resources dynamically VS a big case i would keep having to expand ...
heres my code
[Code]....
but that isnt working for some reason ... keeps throwing "objects reference not set to instant of an object" on the "Return ..." line
View 2 Replies
Apr 18, 2010
I have a start and stop button on a form and would like a pause and restart button aswell.
I can start my audio file (WAV file in the C-Drive) fine with;
My.Computer.Audio.Play("C:Bleep_TestBleep_Test.wav", AudioPlayMode.Background)
Thus allowing other functions to be carried out.I can stop my audio with;
My.Computer.Audio.Stop()
But i would like to be able to pause and restart the audio?There are timers and getkeystates envolved with this form. The timers I can pause and restart, the getkeystates are a function called in conjunction with the timers as a case statement, (all this is working).how to pause and restart the audio, bearing in mind the loaction and the other features of the form? (I only wish i was a clever as you guys/girls out there to return the help rather than leaching your knowledge continously)
View 5 Replies
Jan 25, 2012
I have 28 mp3 and 28 wav files. A Treeview allows user to select "Matthew" then click on a chapter and that chapter plays. What I want to accomplish, is to allow the user to click on "Matthew" in the treeview and the m3u (playlist) plays the entire Audio
Book of "Matthew".
I have researched the forums, tried numerus examps, checked out MSDN examps and Learn and still cannot find a way to accomplish what I want.
View 2 Replies
Oct 1, 2009
Is possible extract audio from video and save into file wave?
View 1 Replies
Mar 20, 2011
actually i have problem to develop tool for recover audio/video fil
View 1 Replies
Dec 22, 2010
is there a way to make an audio file play on a button click event?
View 4 Replies
Oct 17, 2011
I creat audio video chat and when calling receivng video and client video is together...I want that client move his or her webcam video where want...as I know it name DROP&DRAP but I`m not know how to do it...
View 5 Replies
Feb 21, 2009
am programming a media player in VB.Net using the Microsoft.DirectX.AudioVideoPlayback namespace. I would like to be able to play video files which have multiple audio streams (eg. several languages or commentary) and select which audio stream to play. As far as I can tell the Video and Audio classes don't provide this functionality.
View 1 Replies
Apr 27, 2011
How to play a video file in vb.net ?
I need the video to automatically start playing on form load.
View 1 Replies
Jan 6, 2010
I am using the following code to play sounds in my VB.NET application: [Code] now this works fine for any sound file. However there is a second sound file (sound2.wav) which I want to play sometimes too. I want sound2 to have priority over sound1, however if I play sound2 using this method and then sound1 also plays a second later, sound2 will be canceled for sound1 to play.
So I'd like to know if there's a way to either play both sounds at once, or to check if sound2 is playing before I play sound1, and then only play sound1 if sound2 is not currently playing.
View 1 Replies
Aug 12, 2009
Play a mp3 file without adding a Windows Media Player Control
View 5 Replies
Nov 12, 2011
I want to play a WMV file without using a Windows Media Player Control.
View 39 Replies
Jul 12, 2010
i want to buffer a video file on client side when it request.. what syantax i use to buffer the video the video in client's media player
View 1 Replies
Dec 11, 2011
I m design a media player in vb.net..now i play 1Gb video movie.. i want to set the commercial time like every 15 mint my video automatically stop and some commercials play automatically after complete commercials my video[code]...
View 6 Replies
Jul 7, 2009
I was wondering if it was possible to have a program open Firefox, and have it open a bunch of tabs that all go to a link with a video, and then have it automatically play that video?
View 4 Replies
Jan 25, 2009
how can I play a MP3 file without using Windows Media Player or Direct Sound? I cant use DirectX even if I wanted to! Is there any other way? I could not use DirectX because I could not install the DirectX Software Development Kit on a 64 bit system!
View 8 Replies
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