[~] prepare to encode video