Skip to content
项目

关于

Export puppeteer tab as webm video

设计与媒体

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Puppetcam

Example to export chrome tab as a video

  1. Exported videos are stored in Downloads folder
  2. Specify bitrate to control quality of the exported video by adjusting videoBitsPerSecond property in background.js

Dependencies

  1. xvfb
  2. npm modules listed in package.json

Usage

npm install
node export.js http://tobiasahlin.com/spinkit/ spinner.webm

Thanks to @cretz for helping with automatic tab selection and avoiding the permission dialog

Motivation

Was looking for a method to export a video of user actions rendered using our custom player used in uxlens. Export has to happen on a server in an automated fashion and hence the usage of xvfb.

Sample video

Puppetcam

探索相关项目

加载中…