How Do I Play Audio/video Files
Apr 10, 2009How do I play audio/video files in VB.NET?
remember to mark the replies as answers.
How do I play audio/video files in VB.NET?
remember to mark the replies as answers.
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
how can i get it to play other files besides just .wav, like .mp3. wave files are way too large to be used easily if you want a good quality. why cant i play .mp3 files with it?when i convert a 2.1 mb mp3 file to .wav it turns out to be 36 mb?any other ways besides computer.audio to play audio files on command?
View 1 RepliesI dont have bass dll or other files...How i play xm audio files in project, and whats the command to Call the function FOR PLAYING.
View 2 RepliesHow can I know type of file, music video or something else, in VB 2005 without looking extension.
View 1 RepliesI have 1-10 audio files that were selected by the user using an "openFileDialog" (with a button and textbox for each). Now, I want it to play all of the files that they selected in a random order when the user clicks "Button12." After all the files have been played, I want it to start over and play all of them in a random order again. I don't want it to stop until the user clicks "Button13." When the user clicks "Button 12" again, it should start playing them in a random order again.
View 4 RepliesI am building a music player. I found this class that has worked great for what I need. However, for some reason, it won't play certain audio files. IT just reads it as 0 duration. I have no idea why. Below is the code that plays the file.
[Code]...
I have a requirement to combine 2 audio files with a video file is this possible with vb.net.What the user basicly wants to do is select 3 files one video, 2 audio, then click a go button and the files be combined to produce a single file, where do I start?
Am wondering if media encoder can do this or do I need to look in other areas?
How to play an audio file automatically when form loads?
View 5 Replieshow to open and play video files in windows form? also save videos in a specific folder inside the project.
View 2 RepliesI am trying to play video files (atleast wmv, avi) from a byte stream in vb.net.Is it possible to direct this data at a wmp control?I have done this successfully with images & picture boxes, just need help with the video.
View 1 RepliesI am trying to create a software where video files play continuously using a timeline like Windows Movie maker or Pinacle Studio. So i have no idea how to maintain the time line. Will i use Timer Control for that or any other methods are available.
View 6 RepliesI 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 RepliesI'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]............................
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 RepliesI 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 Replieshow 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.
can play a SWF video but not a Flash Video?
View 14 RepliesI have put some wav audio on the resources. in my form, i have a label. i named the label as s1f1 and s1f2. now i want to play the audio according to the label click. if it is click then the audio play. i dont to put a line of code in every label. assuming that there is a lot of label, then it will be a waste of time. so how can i play the audio, by only write a several line code but for all of the labels.
View 7 Replieshow can i play more than one wav file at a time? and not at the same time too. can vb.net do this alone without import something else?
View 1 RepliesWhat is the code to add an audio track to play?
I need the file to play after a letter has been pressed so will be in the keypress function
how to use Silverlight to play audio from local ASP.NET folders?
View 1 RepliesOn a click of a button i want to pay an audio file.... here is my code
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
If TextBox2.Text = "1" Then
[Code]....
now for some reason it says syntax error?
I'm new to VB and have over the last week or two been looking at the different ways to play audio (mp3's). Windows Media Player, Microsoft Multimedia Control, Bass.dll, SndPlaySound, MCI SendString and DirectX (including audiovideoplayback, direct3d and directsound.)I origninally decided to use windows mediaplayer, mainly because it seemed the logical choice but quickly found out i couldn't get it to work properly. So i installed the Directx SDK but now i'm completely overwhelmed about what to use and why.
View 3 RepliesI want to play a sound in the left speaker only and then again in the right speaker.
View 6 RepliesI'm looking at creating an mp3 player to keep myself busy. However I'm trying everything I can to avoid using the windows media player COM component. It makes it a little too easyWhile looking around I stumbled upon the DirectX.AudioVideoPlayback namespace and I was wondering if this would be sufficient. Would I be able to create an equalizer and other more advanced things for my application?
View 2 RepliesI'm trying to use the MSVidCtl to utilize a TV tuner on VS2008, but so far only got Audio but no Video. I've seen some other discussions and some other people having the same issue, probably related to "no encoder found" from the feature list of the tuner? How to make MSVidCtl work?
View 1 RepliesIn my program I have one line of code that worked one day, and not the next. I didn't change anything in this part of the code, but sure enough, going back a day, it works.
Code:
My.Computer.Audio.Play(My.Resources.ResourceManager.GetStream("tada"), AudioPlayMode.Background)
Now, this is the exact same line of code in the copy that works, and the copy that doesn't. The line is identical, so there must be a problem with my actual resources or something.I know this line of code is getting called... I can put a breakpoint on it and put debug.print statements before and after it.Now, in my resources, tada is listed in there, and the file seems to be there appropriately. In fact, if I double click it in the tree, it plays, and I can play it on the resources screen as well. I even tried adding a different wav file, and no luck!
Putting a try/catch block around it shows that no errors are thrown.I've tried it on 4 different computers with different configurations. Same problem.how to debug this?
I do get that I'm going to need to "thread" them separately, but I've been unsuccessful so far.
I get the audio clips to play, but when one starts, the other stops.
This is code that's playing the audio, derived from examples in preior postings[code]...
Assuming that i have 22 labels. each of them is named s1f01, s1f02, s1f03 and so on..my question is how can i play the audio wav that have the same name with the labels name when the label is click. for e.g. i have put s1f01 wav audio file to my resources. so i want to play it when the label that have the name s1f01 is click.[code]...
View 2 Replies