|
@@ -35,7 +35,7 @@ public class WatermarkVideoJob implements Job {
|
|
MpsUtils mpsUtils = new MpsUtils();
|
|
MpsUtils mpsUtils = new MpsUtils();
|
|
QueryJobListResponse.Job job = mpsUtils.getJobStatus(videoWatermarkTask.getJobId());
|
|
QueryJobListResponse.Job job = mpsUtils.getJobStatus(videoWatermarkTask.getJobId());
|
|
if (job.getState().equals("TranscodeSuccess")){
|
|
if (job.getState().equals("TranscodeSuccess")){
|
|
- String url = "https://ctop-media.oss-cn-beijing.aliyuncs.com/watermark/"+DateUtils.getNowDate("yyyy-MM-dd")+"/"+job.getOutput().getOutputFile().getObject();
|
|
|
|
|
|
+ String url = "https://ctop-media.oss-cn-beijing.aliyuncs.com/"+job.getOutput().getOutputFile().getObject();
|
|
|
|
|
|
try {
|
|
try {
|
|
String localPath = LoadFileUtil.downLoadFromUrl(url, PropertiesUtils.getValue("kuaishou_config", "video_sava_path"));
|
|
String localPath = LoadFileUtil.downLoadFromUrl(url, PropertiesUtils.getValue("kuaishou_config", "video_sava_path"));
|