Solved

DirectShow, audio, and a webcam

Posted on 2004-10-20
7
2,286 Views
Last Modified: 2013-12-08
I'm trying to capture data from a webcam.  The video capture works fine, but no audio is coming through.  The webcam does have audio support, as is evidenced when I enumerate the AudioInputDevices (and with the software that came with the camera).  When I call RenderStream (using a capture pin and an audio media type), I get an HRESULT of 0x80070057.  Do I need to do something special with the capture filter?  Keep in mind that I'm pretty new at DirectShow, so I ~could~ be missing something obvious.
0
Comment
Question by:rwinkler
[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
7 Comments
 
LVL 27

Expert Comment

by:Asta Cu
ID: 12478482
Have you tested your whole multimedia environment using the DirectX diagnostics?  Which version of DirectX installed and Operating System version?
0
 
LVL 1

Author Comment

by:rwinkler
ID: 12478513
Oh, gee, I forgot I still had this question open.  The issue was a bad codec installed.  The intelligent connect was using this bad codec, so even graphedit was crashing.  After uninstalling the codec, it worked better.  Thanks for taking an interest in my question, though :)
0
 
LVL 27

Expert Comment

by:Asta Cu
ID: 12478515
0x80070057 - error query result from the Microsoft Knowledge Base 'may' be of some help or add some insight.
http://search.microsoft.com/search/results.aspx?view=en-us&st=b&na=82&qu=0x80070057

Microsoft DirectX 9.0 SDK Update (October 2004)  - Introduction to DirectShow
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/directshow/htm/introductiontodirectshow.asp
0
Technology Partners: 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!

 
LVL 27

Expert Comment

by:Asta Cu
ID: 12478543
Oh my goodness, was here all alone and no comments, about to add two more links and see your comment, LOL.  That'll teach me to refresh my screen.  

Happy you found the culprit and it was, indeed, a codec issue.

":0)  Oh well, learned something along the way, so a win/win scenario.

Best wishes,
Asta
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 12807952
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

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

As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Suggested Courses

630 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