LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Unable to open analog capture card's audio input in VLC (https://www.linuxquestions.org/questions/linux-software-2/unable-to-open-analog-capture-cards-audio-input-in-vlc-4175678865/)

TheOneKEA 07-16-2020 06:31 PM

Unable to open analog capture card's audio input in VLC
 
I am trying to configure VLC 3.0.11 on Debian 10.4 to capture analog AV input from a VHS VCR, via an OTG102 analog capture device. I've configured the relevant V4L2 and ALSA drivers, disabled PulseAudio's control of the OTG102 analog audio device, and successfully configured VLC to capture video from the VCR.

However, when I try to configure VLC to connect to the ALSA device exposed for the OTG102's analog audio inputs (hw:2,0), VLC instead tries to open a regular file named hw:2,0 in my $HOME directory and errors out like so:

Code:

main debug: creating demux: access='file' demux='any' location='$HOME/hw%3A2%2C0' file='$HOME/hw:2,0'
main debug: looking for access_demux module matching "file": 17 candidates
main debug: no access_demux modules matched
main debug: creating access: file://$HOME/hw%3A2%2C0
main debug:  (path: $HOME/hw:2,0)
main debug: looking for access module matching "file": 28 candidates
filesystem error: cannot open file $HOME/hw:2,0 (No such file or directory)

I can't figure out how to get VLC to properly open and receive the audio from the OTG102. I've checked my kernel config and I think I have the relevant drivers enabled:

Code:

CONFIG_VIDEO_DEV=y
CONFIG_VIDEO_V4L2=y
CONFIG_VIDEO_V4L2_I2C=y
CONFIG_VIDEO_TUNER=m
CONFIG_VIDEO_CX231XX=m
CONFIG_VIDEO_CX231XX_ALSA=m
CONFIG_VIDEO_CX2341X=m
CONFIG_VIDEO_TVEEPROM=m
CONFIG_VIDEOBUF2_CORE=m
CONFIG_VIDEOBUF2_V4L2=m
CONFIG_VIDEOBUF2_MEMOPS=m
CONFIG_VIDEOBUF2_VMALLOC=m
CONFIG_VIDEO_CX25840=m
CONFIG_SND_USB_AUDIO=m
CONFIG_SND_USB_AUDIO_USE_MEDIA_CONTROLLER=y

arecord -l shows the following capture device being present:

Code:

card 2: Cx231xxAudio [Cx231xx Audio], device 0: Cx231xx Audio [Conexant cx231xx Capture]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

dmesg:

Code:

[35845.123235] usb 3-4: new high-speed USB device number 8 using xhci_hcd
[35845.253336] usb 3-4: New USB device found, idVendor=1f4d, idProduct=0102, bcdDevice=40.02
[35845.253339] usb 3-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[35845.253340] usb 3-4: Product: OTG102
[35845.253341] usb 3-4: Manufacturer: Geniatech
[35845.253342] usb 3-4: SerialNumber: 20090427
[35845.312488] cx231xx 3-4:1.1: New device Geniatech OTG102 @ 480 Mbps (1f4d:0102) with 6 interfaces
[35845.312714] cx231xx 3-4:1.1: Identified as Geniatech OTG102 (card=17)
[35845.313276] i2c i2c-9: Added multiplexed i2c bus 11
[35845.313304] i2c i2c-9: Added multiplexed i2c bus 12
[35845.408087] cx25840 8-0044: cx23102 A/V decoder found @ 0x88 (cx231xx #0-0)
[35847.653116] cx25840 8-0044: loaded v4l-cx231xx-avcore-01.fw firmware (16382 bytes)
[35847.702736] cx231xx 3-4:1.1: v4l2 driver version 0.0.3
[35847.827669] cx231xx 3-4:1.1: Registered video device video0 [v4l2]
[35847.827708] cx231xx 3-4:1.1: Registered VBI device vbi0
[35847.827710] cx231xx 3-4:1.1: video EndPoint Addr 0x84, Alternate settings: 5
[35847.827712] cx231xx 3-4:1.1: VBI EndPoint Addr 0x85, Alternate settings: 2
[35847.827713] cx231xx 3-4:1.1: sliced CC EndPoint Addr 0x86, Alternate settings: 2
[35847.827806] usbcore: registered new interface driver cx231xx
[35847.835063] cx231xx 3-4:1.1: audio EndPoint Addr 0x83, Alternate settings: 3
[35847.835065] cx231xx 3-4:1.1: Cx231xx Audio Extension initialized

Why is VLC trying to open a regular file in my $HOME instead of accessing the ALSA device?


All times are GMT -5. The time now is 08:20 PM.