- iOS手机和安卓手机压缩视频分辨率不同
- 当前 Bug 的表现(可附上截图) 小程序chooseVideo上传视频,设置 compressed: true 压缩视频在iOS和Android端分辨率不同 [图片] [图片] - 预期表现 压缩后的视频应该是同样的分辨率 - 复现路径 - 提供一个最简复现 Demo wx.chooseVideo({ sourceType: ['camera'], maxDuration: 10, compressed: true, success: (res) => { console.log(res) // duration,height,tempFilePath,width if (res.duration > 10) { showToast('text', '建议10秒左右的视频') this.calculateHeight(); return } this.sendVideoToNos(res) console.log(res.width,res.height) }, })
2018-11-27 - 视频返回宽高有误
- 当前 Bug 的表现(可附上截图) 由于压缩视频分辨率太低,故此采用不压缩的方式,设置compressed:false,但是产生了新的问题,无论是横屏还是竖屏,返回的宽高都是1920*1080,这是我的手机的原始宽高,也就是说设置不压缩视频后,返回的宽高出现问题,不能判断是竖屏还是横屏 [图片] - 预期表现 根据宽高的比较判断横竖屏 - 复现路径 - 提供一个最简复现 Demo wx.chooseVideo({ sourceType: ['camera'], maxDuration: 10, compressed: false, //不压缩视频 success: (res) => { console.log(res) // duration,height,tempFilePath,width if (res.duration > 10) { showToast('text', '建议10秒左右的视频') this.calculateHeight(); return } this.sendVideoToNos(res) console.log(res.width,res.height) }, })
2018-11-23 - 调用原生相机分辨率
- 当前 Bug 的表现(可附上截图) 所有手机上传上阿里云的视频都是270*480的分辨率,太低了 [图片] - 预期表现 更高的分辨率,比如1920*1080 - 复现路径 [图片] - 提供一个最简复现 Demo wx.chooseVideo({ sourceType: ['camera'], maxDuration: 10, success: (res) => { console.log(res) // duration,height,tempFilePath,width if (res.duration > 10) { showToast('text', '建议10秒左右的视频') return } }, })
2018-11-21 - 可以拍摄视频时进行美颜美白操作吗?
- 需求的场景描述(希望解决的问题) - 可以拍摄视频时进行美颜美白操作吗? 希望提供的能力
2018-09-27