Is there any resources anywhere that would explain how to set this up?btidey wrote: ↑Wed Mar 14, 2018 9:45 amThere is no direct method for incorporating a sound stream into the h264 recordings that the MMAL camera interface provides.
Some users have added sound by kicking off a separate sound recording and then incorporating it into the .mp4 recordings during the MP4Box operation. The macros and Mp4 command line configuration provide hooks to allow this to be done. However, there is a significant problem in getting video and sound in sync. It is possible to reasonable (but not perfect sync) by avoiding use of the pre-capture video buffer.
If anybody wants to integrate this further then please look at the source code and make any changes necessary.
I had a baby monitor setup in place using RPI Cam Web Interface, and wanted to add sound to that through a USB microphone. I am currently streaming through Picam (https://github.com/iizukanao/picam) but the 3 seconds lag is a bit much for me. I enjoy the control and functionalities brought by the RPI Cam Web Interface and I'd rather like to find a way to add sound streaming to that, hopefully with a lot less lag.