I currently have some webcams w/ microphones that I'd like to stream from various computers in our home to "Blue Iris" video surveillance software. I am currently doing this with the following two VLC streams per computer:
1) Video:
vlc.exe dshow:// --dshow-caching 100 --dshow-vdev=USB_Camera --dshow-adev=none --sout #transcode{vcodec=MJPG,vb=1000,width=1280,height=720}:duplicate{dst=std{access=http{mime=multipart/x-mixed-replace;boundary=--7b3cc56e5f51db803f790dad720ed50a},mux=mpjpeg,dst=:8081/video.mjpg}}
2) Audio (gets sent to a VLC listener on the Blue Iris computer that then sends to VAC [Virtual Audio Cable] which then sends to a virtual "line in" which Blue Iris listens to - yes this is a bit messy!):
vlc.exe dshow:// --dshow-caching 100 --dshow-vdev=none --dshow-adev="Microphone (USB2.0 MIC)" --sout #transcode{acodec=s16b,samplerate=44100}:rtp{dst=192.168.0.99,port=5532,caching=50}
The Video part works great (although it seems to hang after X number of hours and VLC needs to be restarted - something I'll troubleshoot in the future). What I'd like to do is also send the Audio to http path "8081/audio.xxx" and have Blue Iris read this as a source for the audio stream. I've read dozens of posts, manuals, examples, etc, and tried dozens of variations to get this to work on my own, but I have not had any luck. Could someone please assist me with this? I'm definitely looking to have low-latency and in-sync audio/video if at all possible (anything under 3 or 4 seconds max would be nice). With the video feed currently I get < 1 second latency, the audio is more like 3 or so seconds... I'm hoping that combining the two in a single VLC stream might get the audio in sync as well. ALso, the audio codec doesn't have to be 's16b', I was just using that in an attempt to lower the latency a tad.
Again, any assistance would be appreciated as I've spent many hours trying to figure this out on my own but without much success I can provide screenshots of how Blue Iris' MJPEG setup screen looks if that would somehow assist with this as well.
P.S. I don't necessarily need to use MJPEG... I could always use other Blue Iris supported methods of streaming video/audio, such as: "RTSP H.264/MJPG/MPEG4", "RTSP HTTP-Tunneled", or "WM/ASF stream" <-- I've messed with the ASF streaming method, but video seems to freeze on a single frame, very strange). If any of you have examples of what should work in any of these other codecs I would be willing to try them as well (at the cost of some latency/CPU overhead as I expect they will take longer/more processor usage to transcode).
Thanks in advance!