一定要放到环境变量里吗,能不能设置某个其他变量,比如FFMPEG_PATH之类的
compressVideo:fail 音视频处理需要使用 ffmpeg?wx.compressVideo({ src: file[i].path, quality: 'medium', fps: 30, resolution: 1, success:(resp)=>{ let size=parseFloat(resp.size/1024/1024).toFixed(1) console.log("压缩后视频大小为"+size) console.log(resp,'------压缩成功') },fail:(err)=>{ console.log("err: ",err); wx.hideLoading() } }) 小程序开发工具中报错 报错反馈:compressVideo:fail 音视频处理需要使用 ffmpeg
07-17离了个谱,在使用component的目录的index.json里加一个component再减去它,就可以正常工作了。。。
Component is not found in path "wx://not-found".[图片][图片] 我的页面 tool/fapiao/import 突然就无法访问,提示Component is not found in path "wx://not-found". 我特地清空了内容,只保留了默认自动生成的文件内容,结果还是无法访问,空白一片。 我怀疑你们的服务器把这个文件损坏了。。
06-26