Motion - Support Question 2008x 07x 28x 151056

Video with audio recording

Question

Is it possible somehow to record mpg or avi files with sound, not just silent movies?

Upon motion detected I would like to record a movie with sound, using the associated audio
capture device (=preferably the microphone of the USB camera). So far I could not figure out 
how to do this. I tried to start ffmpeg with appropriate parameters on_event_start but it failed
 with device busy, obviously because motion needs to access the camera continuously for detection.
 I have also read the related text: http://www.lavrsen.dk/twiki/bin/view/Motion/SoundAudioRecording 
but it provides only sound recording in a separate audio file.

Any other idea or suggestion?

Laszlo BORTEL
bortel.laszlo@telekom.hu

Environment

Motion version: 3.2.10.1
ffmpeg version:  
Libraries: ffmpeg, mysql, postgresql
Server OS:  

-- LaszloBORTEL - 28 Jul 2008

Answer

At the moment there's no plan to add a audio capture to motion at least in core , some people uses with trunk version and ext_pipe to encode video and audio or

using on_* events , but do it with V4L2 with integrated audio is not easy and very hard to maintain ( i don't want to buy all devices to test how they work or not).

So all this customs features will be available in motion 4.x as a plugin that won't break motion core.

-- AngelCarpintero - 29 Jul 2008
Topic revision: r2 - 29 Jul 2008, AngelCarpintero
Copyright © 1999-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Please do not email Kenneth for support questions (read why). Use the Support Requests page or join the Mailing List.
This website only use harmless session cookies. See Cookie Policy for details. By using this website you accept the use of these cookies.