Skip to content

Commit ccdc0a0

Browse files
authored
fix cmd error
打水印参数漏了
1 parent 5eb0a0e commit ccdc0a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/pfop_watermark.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
base64URL = urlsafe_base64_encode('http://developer.qiniu.com/resource/logo-2.jpg')
1919

2020
# 视频水印参数
21-
fops = 'avthumb/mp4/'+base64URL
21+
fops = 'avthumb/mp4/wmImage/'+base64URL
2222

2323
# 可以对转码后的文件进行使用saveas参数自定义命名,当然也可以不指定文件会默认命名并保存在当前空间
2424
saveas_key = urlsafe_base64_encode('目标Bucket_Name:自定义文件key')
@@ -28,4 +28,4 @@
2828
ops.append(fops)
2929
ret, info = pfop.execute(key, ops, 1)
3030
print(info)
31-
assert ret['persistentId']
31+
assert ret['persistentId']

0 commit comments

Comments
 (0)