LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-16-2020, 06:31 PM   #1
TheOneKEA
Member
 
Registered: Oct 2003
Distribution: Debian GNU/Linux 11 (amd64) w/kernel 6.0.15
Posts: 299

Rep: Reputation: 30
Question 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?
 
  


Reply

Tags
alsa, cx231xx, otg102, v4l2, vlc


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] QSSTV no audio error:Unable to open hw:0,0 ALC662 rev1 Analog: Device or resource busy unclejed613 Ubuntu 0 04-17-2018 12:45 AM
Fresh install of Debian 9 recognizes audio interface as a sound input device, however will not capture/record/pick-up audio froj Linux - Newbie 1 04-10-2018 07:49 AM
Unable to play DVD on VLC - VLC is unable to open the MRL Belikewater Linux - Newbie 3 03-27-2016 12:36 PM
Can't capture audio without introducing noise (sound-card line-in or capture card) Holering Linux - Hardware 7 01-02-2014 09:33 PM
VLC error: VLC could not open the file "/usr/share/vlc/skins2/text.bmp". brjoon1021 Ubuntu 1 01-14-2009 10:48 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:54 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration