your work is simple as a pie,
let me do it for you in next 10 minutes,
ffmpeg expert here at your service, i have worked many times on ffmpeg for converting raw captured data to mp4 , converting videos merging videos, recording videos and more.
so send me a message to get your work done right away.