npm

@pku6/pv-tools

0.0.2 • Public • Published

PV Tools

This is a npm package, aiming to provide npm executables for the pre-upload processing of pku lesson videos.

Install

npm i -g @pku6/pv-tools

Use

Each asset of a github release should be smaller than 2GB. So you need the following command to split big lesson videos. The command will split all the videos not smaller than 2GB inside the current folder.

splitpvs

In a mp4 video, if the moov box is after the mdat box, then the online loading of the video will be much slower. Unfortunately, it is just how original pku lesson videos are. So you need the following command to fix them. The command will fix all the videos with the problem inside the current folder.

fixpvs

We strongly recommand that you execute all the above commands everytime before uploading pku lesson videos to some github release.

Readme

Keywords

none

Package Sidebar

Install

npm i @pku6/pv-tools

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

8.53 kB

Total Files

10

Last publish

Collaborators

  • pku6