/puzzle-pv

Promotion Video of Puzzle「パズル」「拼图」

Primary LanguageTypeScriptMIT LicenseMIT

Prepare assets

Place all asset files defined in src/assets.ts under static/assets/.

Prepare audio data

ffmpeg -i ./static/assets/puzzle.m4a -f f64le -c:a pcm_f64le -ac 1 ./static/assets/puzzle.raw
npm run preprocess

Local playback

npm run dev

http://127.0.0.1:5001/

To play from the middle:

http://127.0.0.1:5001/?skip={seconds}

Build and bundle

npm run build

Recording

npm run build && npm run dev

Output is under ./output/.