上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 32 下一页
摘要: // Simulate a call to Dropbox or other service that can// return an image as an ArrayBuffer.var xhr = new XMLHttpRequest();// Use JSFiddle logo as a s 阅读全文
posted @ 2020-08-14 13:39 zhishaofei3 阅读(705) 评论(0) 推荐(0)
摘要: 首先引入fluent-ffmpeg模块: var ffmpeg = require('fluent-ffmpeg'); 1.函数 ffmpeg.ffprobe ffmpeg.ffprobe查看音频视频文件信息并输出为json格式 format 里面包含比特率,时长,文件大小等信息 streams,包 阅读全文
posted @ 2020-08-04 13:44 zhishaofei3 阅读(775) 评论(0) 推荐(0)
摘要: 淡入淡出效果 fade 应用淡入/淡出 它接受下面参数: •type, t 指定类型是in代表淡入,out代表淡出,默认为in •start_frame, s 指定应用效果的开始时间,默认为0. •nb_frames, n 应用效果的最后一帧序数。 对于淡入,在此帧后将以本身的视频输出,对于淡出此帧 阅读全文
posted @ 2020-08-04 12:13 zhishaofei3 阅读(2029) 评论(0) 推荐(1)
摘要: //渐入i in.mp4 -vf fade=in:0:90 out.mp4 //黑白 i in.mp4 -vf lutyuv="u=128:v=128" out.mp4 //锐化i in.mp4 -vf unsharp=luma_msize_x=7:luma_msize_y=7:luma_amoun 阅读全文
posted @ 2020-08-04 11:34 zhishaofei3 阅读(1424) 评论(0) 推荐(0)
摘要: 我在尝试Deno 的渐进式 HTTP 服务器 Servest ,在运行示例时遇到错误: $ deno run Servest.ts error: Uncaught PermissionDenied: network access to "0.0.0.0:8899", run again with t 阅读全文
posted @ 2020-07-20 14:07 zhishaofei3 阅读(300) 评论(0) 推荐(0)
摘要: flex属性是 flex-grow + flex-shrink + flex-basis 的缩写。 1.赋给3个值.item { flex: 100 200 300px;}// 等价于.item { flex-grow: 100; flex-shrink: 200; flex-basis: 300p 阅读全文
posted @ 2020-07-08 11:46 zhishaofei3 阅读(1150) 评论(0) 推荐(0)
摘要: 概述:template 和 style 跟以前的写法保持一致,只有 script 的变化 Vue三个TS封装库vue-class-component vue-class-component 对 Vue 组件进行了一层封装,让 Vue 组件语法在结合了 TypeScript 语法之后更加扁平化vue- 阅读全文
posted @ 2020-06-16 15:14 zhishaofei3 阅读(1267) 评论(0) 推荐(0)
摘要: 1 function copyItem() { 2 const input = document.createElement('input') 3 input.type = 'text' 4 input.value = '' 5 document.body.appendChild(input) 6 阅读全文
posted @ 2020-06-04 16:27 zhishaofei3 阅读(209) 评论(0) 推荐(0)
摘要: I think the explanation from the Mozilla Docs describes it well: You can assign a different this object when calling an existing function. this refers 阅读全文
posted @ 2020-06-04 12:05 zhishaofei3 阅读(173) 评论(0) 推荐(0)
摘要: let triangle={ a:1, b:2, c:3 } function coloTriangle(){ this.color='red'; } coloTriangle.prototype=triangle; let color=new coloTriangle(); Object.defi 阅读全文
posted @ 2020-05-20 22:18 zhishaofei3 阅读(255) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 32 下一页