Build a movie from jpeg images / convert photos into video(movie) IONIC2

I’m building an app which one of its feature is to allow the user to take some photos and then record an audio then at the end those images with the audio are converted to a small video (movie). I found something a like in swift called Export UIImages as a movie. Does anyone know how I can do that in ionic2? I need your thoughts and help please.