DirectShow avi playback problem on Windows Embedde 6.0 R3

Hello guys,

In reference to the related question, I am using the same code which can be found on msdn web site to play video files using DirectShow, I can play WMV files without any problems, but if I try to play AVI files, I have 2 cases:

1) either the video is displayed without the audio, for instance when playing the clock.avi file found under Windows XP folder,

2) or the audio is present without the video which the case that happened when I created AVI file my self to test it.

I have to say that I am using a custom run time image, and I am including all the available catalogs for audio and video Codecs and renderers.

So, are there any specific requirements for the AVI file to be played on Windows Embedded, i.e, a specific type of audio and video formats the AVI file must be created with?

Thank you in advance and highly appreciate any help.
zhkhanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

fredshovelCommented:
Can you elaborate a bit more here: AVI is an outdated carrier that really isn't a mainstream streaming format. Which video codec are you using in the AVI container?
WMV is of course the container for WMV9 or WMV8 etc. with wma audio.
So what codecs are you using in the AVI container and why do you want to stream in the AVI container?
0
zhkhanAuthor Commented:
Thank you fredshovel for replying.

As a matter of fact I was not trying to use AVI for streaming, I just wanted to play a simple AVI file that contains both video and audio, there was no specific reason why I wanted to use AVI but not another format, so I solved this problem by simply using WMV file and everything went fine.

Thank you.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Smartphone Programming

From novice to tech pro — start learning today.