|
@@ -277,11 +277,7 @@ public class MpsUtils {
|
|
|
JSONObject videoWatermarkInput = new JSONObject();
|
|
|
videoWatermarkInput.put("Location", ossLocation);
|
|
|
videoWatermarkInput.put("Bucket", "ctop-media");
|
|
|
- try {
|
|
|
- videoWatermarkInput.put("Object", URLEncoder.encode(videoPath, "utf-8"));
|
|
|
- } catch (UnsupportedEncodingException e) {
|
|
|
- throw new RuntimeException("videoWatetmark Input URL encode failed");
|
|
|
- }
|
|
|
+ videoWatermarkInput.put("Object", videoPath);
|
|
|
JSONObject videoWatermark = new JSONObject();
|
|
|
videoWatermark.put("WaterMarkTemplateId", watermarkTemplateId);
|
|
|
videoWatermark.put("Type", "Image");
|