Encode media, upload encodings & cleanup