I am making a program for my company; the program will stay within the company, it will mainly be used to play video/audio files for our engineering plans. Anyway theoretically what I wish to do is to play audio files with fmod, and video files with winmm or directx engine or any other engine that plays video. My question is how can I split up the video and the audio? Because as I noticed fmod does not play video, yet it does play the audio from the video. So perhaps you can tell me how I can use winmm and/or directx engine to ONLY play the video and the audio portion can be played by the fmod. however my theory might have a problem because if of course there will be a small latency between audio and video, and if for some reason the video frame rate or audio rate drops then i might have a problem, cuz there is no way to determine how much to correct it by with out using some super fancy code.
anyway hopefully someone can help me out with my goals.
thanks for your time and i look forward to your reply.
- RoSmecher asked 13 years ago
because directshow doesn’t have sweet features such as equalizing capabilities, or at least i am not aware of them. also i will be using fmod for audio files anyway, and i just thought that fmod would give me more control with the audio even if i am playing a video clip sometimes.
- Anonymous answered 13 years ago
You can mute the video volume with winmm like this:
[code:21h0guap]Public Function SetVideoVolume(Alias As String, VOL As Long)
mciSendString "SETAUDIO " & Alias & " VOLUME TO " & CStr(VOL), "", 0, 0
And then play the audio with fmod.
- Vilo answered 13 years ago
Please login first to submit.