this creates mp4 files however they are not aligned. When I package this
using packager, the content of the two video profiles are not synchronized
and audio is not matching any of the videos (when profile is changed, the
video jumps few seconds). I think it might be because the ffmpeg first
analyses first input, starts recording, analyses second input, starts
recording, ... and analysing takes some time, therefore its not
I also tried multiple ffmpegs, one for each input (something like
bash ffmpeg xxx & ffmpeg yyy & ffmpeg zzz). I have achieved much better
results than with the first solution but the audio still didnt match video
by a little time (usually 0.5 to 2 secs).
What would you please suggest to do to achieve having multiple video
profiles and audio synchronized from multiple UDP inputs?