rrvideo: improve the video quality and add a progress bar for the CLI tool (#1197)

* refactor rrvideo: use playwright rather than puppeteer

* add a progress bar for the tool

* add tests for cli.ts

* fix build error

* add change log

* update readme file

* Apply a scaling method to improve the resolution of the output video
This commit is contained in:
Yun Feng
2023-05-01 22:04:38 +10:00
committed by GitHub
parent ebcbe8b0d7
commit 23d01387f4
16 changed files with 417 additions and 279 deletions

View File

@@ -11,18 +11,28 @@
],
"types": "build/index.d.ts",
"scripts": {
"install": "playwright install",
"build": "tsc",
"test": "jest",
"check-types": "tsc -noEmit",
"prepublish": "yarn build"
},
"author": "yanzhen@smartx.com",
"license": "MIT",
"devDependencies": {
"@types/fs-extra": "11.0.1",
"@types/jest": "^27.4.1",
"@types/minimist": "^1.2.1",
"@types/node": "^18.15.11",
"jest": "^27.5.1",
"ts-jest": "^27.1.3",
"@rrweb/types": "^2.0.0-alpha.8"
},
"dependencies": {
"@open-tech-world/cli-progress-bar": "^2.0.2",
"fs-extra": "^11.1.1",
"minimist": "^1.2.5",
"puppeteer": "^19.7.2",
"playwright": "^1.32.1",
"rrweb-player": "^2.0.0-alpha.8"
}
}