OK. A little background. I'm working on a player for a little project of mine. I know that I can link in the Windows Media Player into my C# .NET project, but I don't trust the time codes on it, which are crucial for editing. So I'm looking at writing my own little player. I found something on CodeProject that takes Windows AVIFile COM component and wraps it in a .NET wrapper suitable for C#. It even comes with a little demo application. I have figured out how the demo app works, but no dice on the sound. What I need to be able to do is:
1. I need to be able to play the sound stream. I think I can use the SoundPlayer class for this, but I'm not sure.
2. Seek within the sound stream in the AVI file. This is so I can start playing at video frame # 10,000, for example.
3. Find where I am playing from in the sound stream. This is because video playback is more intense than sound playback, so if the sound gets ahead of the video, I need to be able to jump ahead in the video to where the sound and the video are once again in sync.
Any ideas, gurus, on how this can be accomplished? I'm using .NET 2.0 and Visual Studio 2005, along with the AVIFile wrapper that can be found here, which I can tweak to suit my needs.
CogoSWSDS
+ Reply to Thread
Results 1 to 1 of 1
-
Old ICBM Coordinates: 39 45' 0.0224" N 89 43' 1.7548" W. New coordinates: 39 47' 48.0" N 89 38' 35.7548" W.
Similar Threads
-
No sound from a PCM audio stream using DVDFab DVD to AVI file.
By loninappleton in forum AudioReplies: 8Last Post: 5th Dec 2011, 04:27 -
Improving a noisy sound stream
By Ygramul in forum AudioReplies: 1Last Post: 3rd May 2011, 09:48 -
Playing only sound from MMS stream
By igorek in forum Newbie / General discussionsReplies: 2Last Post: 16th Nov 2008, 16:38 -
How do you determine if your transport stream is faulty?
By yoda313 in forum DVB / IPTVReplies: 20Last Post: 21st Jul 2008, 02:10 -
Sound stream stopped working after being multiplexed
By moviebuff2 in forum Newbie / General discussionsReplies: 7Last Post: 29th Oct 2007, 20:21