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
Thread
-
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
-
Playing only sound from MMS stream
By igorek in forum Newbie / General discussionsReplies: 2Last Post: 16th Nov 2008, 17:38 -
Sound stream stopped working after being multiplexed
By moviebuff2 in forum Newbie / General discussionsReplies: 7Last Post: 29th Oct 2007, 21:21 -
Dobly Sound from Transport Stream Files
By shankomatic in forum Authoring (DVD)Replies: 8Last Post: 6th Jan 2005, 22:18 -
Sound Issue PCM vs Full Digital Stream (RAW)..No Sound RAW
By hardwork12 in forum DVD RippingReplies: 0Last Post: 8th Dec 2002, 22:26 -
MPEG in QT exported to DV Stream, no sound. Please help.
By genrlz in forum MacReplies: 8Last Post: 30th Jul 2002, 19:17
-




Quote