0.0.2 • Published 3 years ago

@pku6/pv-tools v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

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.