Make Audio / Video Player Using DirectX

Sep 16, 2009

i need Help to make Audio or Video Player With Using DirectX. how many Different b/w DirectX and Windows Media Player???

View 8 Replies


ADVERTISEMENT

Make A Small Video-player With WPF - Ffdshow And MeidaElement Not Working

Feb 13, 2011

I'm trying to make a small video-player in Vb.net with WPF.

Got everything working beside 2 things:
Mkv-files and subtitles,.
I've installed FFDShow.

I've read that if you install it to WMP, then it will automatically work to MediaElement. It did work first, but then i had DivX installed, when i uninstall'd DivX, it stopped working.

View 1 Replies

Make A Telnet Application To Communicate With A Special Video Player?

May 28, 2009

I am trying to make a telnet application to communicate with a special video player I have, I have gotten the telnet session to connect to the video player (server) but it won't respond back....I think the problem might be with the coding...the strData string below is supposed to be the replies I get back from the server, but it won't show any strings on the screen.

[Code]...

View 5 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

Create Audio Video Chat - Client Move His Or Her Webcam Video Where Want?

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

What Syntax Use To Buffer Video The Video In Client's Media Player

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

Directx Audio Stops Playing When Change Window?

Sep 15, 2009

So I have a wav playing using DirectX in VB6. If i switch to another window, it stops playing. If I click back on the VB6 window it resumes play. How do I make it continue playing when I change windows? Another problem I cannot load wav files larger than 50 megabyte. It says Out Of Memory. How can I increase that?

View 1 Replies

Use DirectX Audio Functions In Program For WinXP / Vista?

Apr 9, 2012

I've been fighting for weeks now to make a simple music playback program. It would function much like Windows Media Player without the visualisations and playlists. I'm writing this on a Win7 box, but it needs to work on XP and newer.

I say fighting because I'm severely annoyed at how MS has worked some items and it's taken many days to go through everything only to find that it doesn't work.

I started by using WMP in VB Express 2010 and having it play my music. Simple, but not portable. I copied my .exe to a WinXP machine and it blew up. I copied it to a different Win7 machine and it doesn't run (I can double-slick all day, nothing happens,
no log entries, nothing....)

Then I find that there is an issue with the GUID of media player on different computers, and it'll most likely fail to run when you try to use it on other machines than the one the program was built on.

So I gave up on that.

I then figured I'd use DirectX. It's on XP and newer already, and is supposed to be backwards compatibile so if I build my app on Win7 it should still run on XP and such. I did that, and it works fine on the machine I built it with (again). My shuffle works,loop/repeat works, got my own version of a playlist and it all works. I copy that to another Win7 box and it doesn't run at all. It's setup as .NET 3 so I can be sure of compatibilty with WinXP.

For grins, I gutted all the code in my VB app involving calls to Directx and built that. It runs fine on other computers, including my XP test box. So I know the problem revolves around DirectX somehow.[code]...

View 10 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

Play Video In DirectX (WPF)?

Apr 9, 2011

I have a WPF 4/VB.net project, and I'm trying to play video in it. I've been using a mediaelement, much to the chagrin of the program's overall performance. Thus, I'm looking into the only other viable alternative that I can find for my project...directx.

Which brings me to my question. Is it possible to play video (either Theora [.ogv] or Flash Video [.flv]) in DirectX?

View 1 Replies

Playing Video Using DirectX ?

Sep 18, 2009

I have scoured just about every code sample on the web, and am still having trouble. Basically my code follows the following structure:

I installed the DirectX SDK, and imported AudioVideoPlayback Imports Microsoft.Directx.AudioVideoPlayback '''

Then I create my VideoPlayer Public WithEvents VideoPlayer as Video So far so good, I have event handlers and a video object

Then:

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

I execute the above subroutine and the video plays flawlessly

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

The above code works perfectly as well

Then I try to execute the PlayVideo sub to play another file and I get a generic "Object reference not set to an instance of an object" error, that does not point to any particular line of code. It took me forever to find out exactly what line of code was causing this. So I came up with a workaround:

In the PlayVideo sub I changed the code to this

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

And there it is, the second video played without error. but then I noticed something, after the second video ended the .Ending event handler did not fire, actually all the event handlers basically died. So someone told me to use a timer to monitor when the video ends, and I basically laughed it off since we know that's an amateur move. After being frustrated for a while, I caved in and used the timer to do my dirty work, which I really don't like.

Now there's another problem, after I play a video in my project, DirectX is not screwed up for other programs until I restart my computer. Particularly I have a visualization plugin for Windows Media Player called Gforce. After I play a video, Gforce will not work, it gives me an "Error=18" which means that my computer does not have sufficient hardware to use it. The only way to be able to clear it up is to restart my computer.

Here are my specs:
Intel 3.0ghz Dual Core processor
Nvidia Geforce 9800GT with 1GB ram
4 GM Ram
Windows 7 64-bit version (build 7100)
Programming in Visual Studio 2008 Professional (using Visual Basic code)

I originally attempted to use the AxWindowsMediaPlayer control, but I am unable to. According to Microsoft there is a bug that prevents me from using it. When I pull up the choose items dialog box it does not show up, if I browse to wmp.dll to manually add it, I get an error ("self-registration for c:windowssystem32wmp.dll failed"). I also read that you should try to add the wmp.ocx instead of wmp.dll, but I am at a loss on this since I am pretty sure that file does not exist. I am trying to put together a new media player program for my theater pc and this video thing is putting me to a standstill. I am a highly experienced vb programmer (over 20 years), but I am not very experienced in DirectX. I have read a lot of code samples on video playback but they all give me tons of problems, so I hate to say it but i think that most of these samples were written by people who don't know what they are doing.

View 2 Replies

Using The DirectX 11 SDK, Load A Video (with Sound) And Play It?

Nov 2, 2010

I am having problems locating any documentation or examples for rendering video on a form using DirectX. I need to use DirectX because I will be putting overlay's on the video loaded dynamically. I will also want to perform transitions between 2 video instances.

I can not find any documentation on Google or Microsoft's site, Such as render the video on a 3d object as a texture, maybe... IDK?

This is for Visual Studio 2010, .net framework 4.0, using vb.net.

View 1 Replies

Audio Player With Waveform?

Jun 27, 2011

I'm looking for a free audio player control that has ability to display waveform of the audio being played.

View 1 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

MSVidCtl - Only Audio And No Video

Apr 28, 2010

I'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 Replies

Capture Video And Audio From Another Windows App?

Dec 19, 2011

I am planning to create a proprietary Windows application that will let the user capture video and audio from any other Windows application and stream it onto another computer via Internet. Capturing video is easy, I could simply let the user browse all open windows (or applications) and have the user click the prefered one. But what about audio? Is it possible in Windows to capture the audio from any application?

View 4 Replies

Detect Audio Or Video Files?

Mar 10, 2010

How can I know type of file, music video or something else, in VB 2005 without looking extension.

View 1 Replies

How Do I Play Audio/video Files

Apr 10, 2009

How do I play audio/video files in VB.NET?

remember to mark the replies as answers.

View 1 Replies

VS 2008 : Extract Audio From Video?

Oct 1, 2009

Is possible extract audio from video and save into file wave?

View 1 Replies

VS 2005 Combining Video And Audio Files?

Aug 3, 2009

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?

View 6 Replies

VS 2005 Trim An Audio/video File?

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

Audio Player - File Moving With An Array Position?

Jun 3, 2011

I'm making a quiz and I've got a set of questions and answers being loading into two different arrays, the idea is to answer a question with a choice of 4 buttons, so on a button click the answers checks to see if it is correct and moves along to the next question (while doing this the questions and answers change)However, my problem is that i've set up an audio player as the questions are for example "what is the sound?" and there is a preview button which uses the audio player to play the sound for the user.

Now everything moves with the array however, the sound still remains the same on every question after the quesiotn has been answered. So my set of answers move (when debugging, the sound array does move but the player doesn't seem to want to) with the array and i need the player to change to the specific array position which it is in as well.

Audio Player:
Dim answer = CorAnsList(qNum).sound
Dim answerPrev As String = My.Computer.FileSystem.CurrentDirectory & "sounds" & answer & ".wav"
Private Sub btnPrev_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnPre.Click

[code]....

View 1 Replies

Cut And Save The Audio Files Played In Media Player

Aug 5, 2009

I have created a small media player calling COM component of Windows media player. Now i want to cut and save the audio files played in media player? is it possible with windows media player or i would have to use some other media player object? I can have the files info which i am using in window media player to play..but cant able to get the details which we can finds with our OS( windows) like compression format, bit-rate etc.

View 1 Replies

How To Develop Tool To Recover Audio/video File

Mar 20, 2011

actually i have problem to develop tool for recover audio/video fil

View 1 Replies

Integrate To Application A Process To Capture The Audio And Video

Mar 29, 2012

I'am on Visual Studio 2008, language :VB

I want to integrate to my application a process to capture the audio and video from a specific area of the screen and save it in a .wmv or .avi file.

I already have Microsoft.Expression.Encoder on my computer but I dont know how to integrate the tool to my project.

View 3 Replies

Stream Audio And Video In The Local Area Network?

Oct 26, 2009

I am developing an application where in I need to stream audio and video in the local area network. There is calling option from my application where users can call each other(audio call or video call) in the LAN.

View 3 Replies

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

Display The Website's Player (Silverlight Based) And Capture The Audio

Sep 28, 2011

We have an occasional board meeting that is broadcast live via the Internet. We are on a 3000+PC LAN and our office is out in the boonies on a T1 line. In order for us to listen to the meeting we need to go to a website and play the live stream. If more than a few PCs listen in the line is saturated and no one can listen.

[Code]...

View 2 Replies

Play Video In Vlc Player?

Nov 1, 2010

how to start a video on vlc player embedded in a form?I add the VideoLAN VLC ActiveX Plugin v1 and v2 to toolbox, and place both to my form.What is the code to start a video playing on VLC embedded to forms?

View 2 Replies

Selecting From Multiple Audio Streams Within A Video File Using Directshow?

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







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