Page 1 of 1

DirectShow Audio Input pins on capture cards not recognized

Posted: 03 Apr 2014 19:24
by gordonf
This might be a long-standing problem with VLC as I've tried it starting from 1.1.9 up through 2.1.3 and I get the same results.

While I can connect the audio output of many devices to my PC's own audio-in jack to work around this, I'd prefer using the audio-in capability of the capture cards I use, especially when one of the inputs is HDMI that includes audio of its own. There doesn't appear to be an option to use the audio inputs on Aver Media cards, specifically.

When I try browsing an Aver card's video capture filters using Graphedit or GraphStudio, I see "Analog Video In" and "Analog Audioinput" on the capture side, and "Capture" and "Audio" on the output side. Some applications like Roxio Creator can see these and use them. Those apps have other problems however, which is why I'm looking closer at VLC.

I have attempted hand-coding the dshow-adev device and pin number to work around it. For example:

Code: Select all

:dshow-vdev=AVerMedia BDA Analog Capture Secondary :dshow-adev=AVerMedia BDA Analog Capture Secondary :dshow-video-input=0 :dshow-audio-input=2
In 2.0.5 this gives me an error saying it can't open the device but plays the video. In 2.1.3 it doesn't give an error, but doesn't give me audio either.

I got the pin numbers from the Device Properties dialog that can come up; the help for :dshow-video-input says I can use that to retrieve pin numbers to select input sources, in this case '0' is composite or component, and '1' is S-Video or HDMI. They have related audio pins "2" for composite / component and "3" for S-Video / HDMI. I know the video pin numbers are correct at least.
--

Here's an example DirectShow graph that works

Posted: 14 Apr 2014 18:49
by gordonf
I learned a bit about DirectShow and was able to produce a capture graph that plays the audio as well as the video. The question now is how to reproduce this in VLC.

Image

The card has a primary and secondary pair of xbar and capture filters. Each of those has four input pins as illustrated but in this secondary case the "composite" input is component video and the "SVideo" input is HDMI video.

I can choose the correct input from the VLC dshow-video-input= parameter but it ignores the dshow-audio-input= parameter. Also, "AverMedia BDA Analog Capture Secondary" is not available as an audio source, either by drop-down or specifying by hand in a command line.
--

Re: DirectShow Audio Input pins on capture cards not recogni

Posted: 12 May 2014 17:21
by rogerdpack

Re: Here's an example DirectShow graph that works

Posted: 08 Dec 2017 23:23
by plugger0
I learned a bit about DirectShow and was able to produce a capture graph that plays the audio as well as the video. The question now is how to reproduce this in VLC.

Image

The card has a primary and secondary pair of xbar and capture filters. Each of those has four input pins as illustrated but in this secondary case the "composite" input is component video and the "SVideo" input is HDMI video.

I can choose the correct input from the VLC dshow-video-input= parameter but it ignores the dshow-audio-input= parameter. Also, "AverMedia BDA Analog Capture Secondary" is not available as an audio source, either by drop-down or specifying by hand in a command line.
--
i solved the problem by going into my sound setting on my computer and usb 2861 settings and set it to listen