video encoder merging