在智能媒体服务用的4.12.3同样的时间线配置,换了个转场类型就预览失败了,是什么原因呢?{
"VideoTracks": [
{
"VideoTrackClips": [
{
"MediaURL": "https://yl-resouce.oss-cn-hangzhou.aliyuncs.com/clipvideo/39fb5e4a6bd344358ca890216abdef8b.mp4",
"Type": "Video",
"In": 0,
"Out": 2,
"Speed": 1,
"TimelineIn": 0,
"TimelineOut": 2,
"X": 0,
"Y": 0,
"Width": 253,
"Height": 450,
"Effects": [
{
"Type": "Crop",
"Height": 1,
"Width": 1,
"X": 0,
"Y": 0
},
{
"Type": "Background",
"SubType": "Color",
"Color": "#000"
}
],
"TrackId": 0,
"Id": 9
},
{
"MediaURL": "https://yl-resouce.oss-cn-hangzhou.aliyuncs.com/2/material/video/17140097849990000.mp4",
"Type": "Video",
"In": 0,
"Out": 6,
"Speed": 1,
"TimelineIn": 2,
"TimelineOut": 8,
"X": 0,
"Y": 0,
"Width": 253,
"Height": 450,
"Effects": [
{
"Type": "Crop",
"Height": 1,
"Width": 0.31690140845070425,
"X": 0.3415492957746479,
"Y": 0
},
{
"Type": "Background",
"SubType": "Color",
"Color": "#000"
},
{
"Type": "Transition",
//"SubType": "swap",
"SubType": "squareswire",
"Duration": 1,
"From": 9
}
],
"TrackId": 0,
"Id": 10
}
],
"Count": 2,
"Type": "Video",
"Visible": true,
"Id": 2
}
],
"AudioTracks": [
{
"AudioTrackClips": [],
"Count": 0,
"Type": "Audio",
"Visible": true,
"Id": 6
}
],
"SubtitleTracks": [
],
"AspectRatio": "9:16",
"FECanvas": {
"Height": 450,
"Width": 253
},
"From": "openAPI",
"LosslessConversion": false,
"SdkVersion": "4.12.3",
"Version": 0
}
你的timelineIn和timelineOut填写有问题,需要重叠1秒 此回答整理自钉群“【客】智能媒体服务官方答疑群(2)”
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。