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