Merge animated GIFs and background music into video