amiaopensource / vrecord

Vrecord is open-source software for capturing a video signal and turning it into a digital file.
https://github.com/amiaopensource/vrecord
151 stars 45 forks source link

EXIT=audiopassthrough #709

Closed jbbenoit73 closed 1 year ago

jbbenoit73 commented 2 years ago

Hello, I have got 2 issues. First : in the vrecord audio tab, the "audio device" column is empty while there are two audio cards. Second : in the home menu, when i load "Audio Check" Vrecord exits and sends the message "numerisation@numerisation:~$ vrecord -e 2022-02-02T10:18:10 - vrecord exited a form in an unexpected way (EXIT=audiopassthrough), please report this error to https://github.com/amiaopensource/vrecord/issues numerisation@numerisation:~$ " My system is Ubuntu.20.04 in a Precision Dell Tower with an Bmd Intensity Pro 4K B inside. Thanks for help, JB B

privatezero commented 2 years ago

Hi @jbbenoit73 - thanks for reporting this! I think I've figured out the glitch causing the button problem.

When I get a chance I'll take a deeper look to see if I can notice anything that might be creating errors with the device list.

privatezero commented 2 years ago

@jbbenoit73 - vrecord relies on parsing the output of arecord to populate the list of audio devices on Linux. Could you tell me what the output of arecord -l is on your end?

arecord should come installed as part of the system, but if for some reason you don't have it, try installing with sudo apt install alsa-utils

jbbenoit73 commented 2 years ago

Hello. thank you for your reply. I try it numerisation@numerisation:~$ arecord -l Liste des Périphériques Matériels CAPTURE carte 0: PCH [HDA Intel PCH], périphérique 0: ALC3234 Analog [ALC3234 Analog] Sous-périphériques: 1/1 Sous-périphérique #0: subdevice #0 carte 1: S2 [SSL 2+], périphérique 0: USB Audio [USB Audio] Sous-périphériques: 1/1 Sous-périphérique #0: subdevice #0 carte 3: WEBCAM [C270 HD WEBCAM], périphérique 0: USB Audio [USB Audio] Sous-périphériques: 1/1 Sous-périphérique #0: subdevice #0 numerisation@numerisation:~$ vrecord -e libEGL warning: DRI3: Screen seems not DRI3 capable libEGL warning: DRI2: failed to authenticate

The option for AUDIO_DEV_CHOICE is not set. Please restart vrecord in edit mode (vrecord -e) or update the configuration file at /home/numerisation/.vrecord.conf. numerisation@numerisation:~$

Regards jb

privatezero commented 2 years ago

@jbbenoit73 thanks for providing that output, that was very helpful! The problem was the underlying function for populating that list was incorrectly assuming an English output from arecord.

We have a patch at https://github.com/amiaopensource/vrecord/pull/713 that will fix this, so should be resolved soon!

jbbenoit73 commented 2 years ago

@privatezero Thanks you. I tried vrecord by changing the system language settings, it works but I have to go back to the french settings. Sorry, I'm not a computer scientist, can you tell me how to use the patch? I guess that i have to correct a 'vrecord' file but which one? Regards. jb

privatezero commented 2 years ago

I'm hoping we can get this fix merged into a new release in the next couple of days, so at that point all you will need to do is update vrecord with brew update && brew upgrade vrecord (assuming you used homebrew to install vrecord) to get the fixes.

In the meantime, if you are in a hurry you can download the branch of vrecord that includes the fix here and then run it directly from that folder by opening that folder in the terminal and making sure to always use ./vrecord instead of vrecord to run the command.

jbbenoit73 commented 2 years ago

Thank you very much. jb

privatezero commented 1 year ago

Closing as should be fixed in https://github.com/amiaopensource/vrecord/pull/714