Solved

DirectShow, audio, and a webcam

Posted on 2004-10-20
7
2,265 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
  • 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
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 
LVL 27

Expert Comment

by:Asta Cu
ID: 12478526
0
 
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 Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
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…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

706 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now