Use the FPS retrieved while demuxing a TS file in order to mux the elementary streams properly into a MP4 file with the correct FPS. All demuxed and muxed file must have the same FPS.