Solved

DirectShow avi playback problem on Windows Embedde 6.0 R3

Posted on 2010-08-17
4
605 Views
Last Modified: 2013-12-21
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.
0
Comment
Question by:zhkhan
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 22

Expert Comment

by:fredshovel
ID: 33528803
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
 

Accepted Solution

by:
zhkhan earned 0 total points
ID: 33923601
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

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
The Windows functions GetTickCount and timeGetTime retrieve the number of milliseconds since the system was started. However, the value is stored in a DWORD, which means that it wraps around to zero every 49.7 days. This article shows how to solve t…
Viewers will learn the basics of using Ableton Live's advanced sampler instrument, Sampler. Load new Sampler into an empty MIDI track: Select a sample and drop it into sample window in Sampler: Adjust pitch if necessary with Root Key setting: …
Viewers will learn key ranges in Sampler to make their sampled instruments sound more realistic Gather samples of various notes and drag them to Key Range panel: Set proper root key for each sample: Select all the samples with Command-A (or Ctrl…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question