Solved

DirectShow, audio, and a webcam

Posted on 2004-10-20
7
2,269 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

What is RenderMan: RenderMan is a not any particular piece of software. RenderMan is an industry standard, defining set of rules that any rendering software should use, to be RenderMan-compliant. Pixar's RenderMan is a flagship implementation of …
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…
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

914 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

20 Experts available now in Live!

Get 1:1 Help Now