Audio recording issues

Xeoma Software

Moderators: Admin_N, Administrator, Admin_P, Admin_K

Audio recording issues

Postby 555|STi » Mon Nov 16, 2015 8:01 pm

Hi guys, I need some help.

I'm trying to setup a motion detection server.

Just need to record any motion on my parking spot. In simple words... "Oh!, I see something moving near my car, I'll record it".

No need to activate recording with audio detection, just with movement. But, I need that the recording has audio.

Well, I can start recording when motion is detected, but can't do it with audio.

I'm getting an error message that says something like "Microphone is not available, please check the microphone to computer connection and configure it".
x1.jpg
Microphone is not available, please check the microphone to computer connection and configure it
x1.jpg (157.21 KiB) Viewed 14652 times


The camera microphone detects sound. And records video in any other app.
x2.png
Microphone
x2.png (52.07 KiB) Viewed 14652 times


Anyone knows what can I do to be able to record with audio?

I would really appreciate you could help me, this was the only reason that kept me on Windows. And I don't want to go back.


Thank you.

I'm from chile, so... excuse me for my English. :lol:
555|STi
 
Posts: 3
Joined: Mon Nov 16, 2015 5:47 pm
Location: 127.0.0.1

Re: Audio recording issues

Postby Admin_K » Fri Dec 04, 2015 2:27 pm

Hello!

Do you use ip or usb camera?

'Microphone' module is used when you use usb camera.

If you use ip camera and want to record using ip camera's microphone, then you need to check audio URL in 'Universal camera' module's settings.

You can also check our new version of Xeoma: http://felenasoft.com/xeoma/en/download/
Admin_K
 
Posts: 342
Joined: Tue Apr 07, 2015 2:20 pm

Re: Audio recording issues

Postby 555|STi » Fri Dec 04, 2015 5:43 pm

Admin_K Wrote:Hello!

Do you use ip or usb camera?

'Microphone' module is used when you use usb camera.

If you use ip camera and want to record using ip camera's microphone, then you need to check audio URL in 'Universal camera' module's settings.

You can also check our new version of Xeoma: http://felenasoft.com/xeoma/en/download/



Hi Admin_K, thanks for answering.

I'm using a Microsoft Lifecam VX2000 USB camera.

I'll try with the new version.

Thanks.
555|STi
 
Posts: 3
Joined: Mon Nov 16, 2015 5:47 pm
Location: 127.0.0.1

Re: Audio recording issues

Postby mauricioesilva » Sat Dec 05, 2015 1:40 pm

Helo "555|STI", you are not alone with audio problems. Xeoma seams to have serious trouble handling audio devices. I dust off my webcam and try to reproduce your problem and wasn't difficult at all. Actually I have your problem using the microphone input from the audio card and a different problem using the one on the webcam.

The audio card is a VIA VT1705 (HD INTEL), if I add a microphone module using the one on the card Xeoma will display this error on the console:

AlsaDevice: HDA Intel (hw:0) ALSA device: Sample rate cannot be configured: Invalid argument
AlsaDevice: HDA Intel (hw:0) ALSA device: Sample rate cannot be obtained: Invalid argument

The problem won't stop there. Xeoma won't release the hardware even after deleting the microphone module. To reuse the microphone I have to restart the program, if not any program trying to open it will fail, example:
$ arecord -t wav mic.wav
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:722: audio open error: Device or resource busy

Now the webcam...
It is a Logitech QuickCam Ultra Vision SE and can record video without any problem, but if I try to use the microphone module (assigned to another camera or to the webcam) I will NOT display any error on the graphic interface but will display this error on the console:

AlsaDevice: USB Device 0x46d:0x8c9 (hw:1) ALSA device: Sample rate cannot be configured: Invalid argument

...and won't record any audio.

To this test I run xeoma server from the console with the command:
# /usr/local/Xeoma/xeoma -service
Because that the log file (/tmp/XeomaCore.log) is always empty.

Both microphone were tested with the standard alsa utils without problem.
$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: VT1705 Analog [VT1705 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: U0x46d0x8c9 [USB Device 0x46d:0x8c9], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0

And I can record using the follwing commands:
$ arecord -t wav mic.wav (the default input audio device is the microphone on the card)
and
$ arecord -c 1 -t wav mic.wav (to use the webcam microphone)


I really don't need audio recording right now, but I hope this help you to make the developers pay a little more attention to your problem.
mauricioesilva
 
Posts: 17
Joined: Sun Jun 15, 2014 2:15 am
Location: Argentina


Return to Xeoma - General discussion

Who is online

Users browsing this forum: No registered users and 12 guests