Since video and audio was rendered separately, both need to be multiplexed into a single file containing both the video and audio stream.