- 授权协议: MIT
- 开发语言: JavaScript
- 操作系统: 跨平台
- 软件首页: https://github.com/greggman/ffmpegserver.js
- 软件文档: https://github.com/greggman/ffmpegserver.js
软件介绍
这是一个简单的 Node 服务器和开发库用于将 Canvas 帧发送到服务器,并使用 ffmpeg 对视频进行压缩。可独立使用或者跟 CCapture.js 一起使用。
使用步骤:
安装 Node
克隆此项目源码或者下载源码压缩包
进入 repo 目录并运行 npm install
执行 node start.js
示例代码:
var capturer = new CCapture( {
format: 'ffmpegserver',
framerate: 60,
verbose: true,
name: "foobar", // videos will be named foobar-#.mp4, untitled if not set.
extension: ".mp4", // extension for file. default = ".mp4"
codec: "mpeg4", // this is an valid ffmpeg codec "mpeg4", "libx264", "flv1", etc...
// if not set ffmpeg guesses based on extension.
} );
capturer.start();
function render(){
// rendering stuff ...
capturer.capture( canvas );
}
requestAnimationFrame(render);
capturer.stop();
capturer.save( function( url, size ) { /* ... */ } );
Verilog数字系统设计教程
夏宇闻 / 北京航空航天大学出版社 / 2003-7-1 / 38.0
《Verilog数字系统设计教程》可作为电子工程类、自动控制类、计算机类的大学本科高年级及研究生教学用书,亦可供其他工程人员自学与参考。一起来看看 《Verilog数字系统设计教程》 这本书的介绍吧!
