mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-28 11:34:01 -06:00
edb4ffc7e0
* Set bitrate limits for transcoding (fixes #638) * added optimization script and test, changed stuff * fix test, improve docs * re-add optimize-old-videos script * added documentation * Don't optimize videos without valid UUID, or redundancy videos * move getUUIDFromFilename * fix tests? * update torrent and file size, some more fixes/improvements * use higher bitrate for high fps video, adjust bitrates * add test video * don't throw error if resolution is undefined * generate test fixture on the fly * use random noise video for bitrate test, add promise * shorten test video to avoid timeout * use existing function to optimize video * various fixes * increase test timeout * limit test fixture size, add link * test fixes * add await * more test fixes, add -b:v parameter * replace ffmpeg wiki link * fix ffmpeg params * fix unit test * add test fixture to .gitgnore * add video transcoding fps model * add missing file
28 lines
2.2 KiB
Bash
Executable File
28 lines
2.2 KiB
Bash
Executable File
#!/bin/sh
|
|
|
|
set -eu
|
|
|
|
printf "############# PeerTube help #############\n\n"
|
|
printf "npm run ...\n"
|
|
printf " build -> Build the application for production (alias of build:client:prod)\n"
|
|
printf " build:server -> Build the server for production\n"
|
|
printf " build:client -> Build the client for production\n"
|
|
printf " clean:client -> Clean the client build files (dist directory)\n"
|
|
printf " clean:server:test -> Clean logs, uploads, database... of the test instances\n"
|
|
printf " watch:client -> Watch and compile on the fly the client files\n"
|
|
printf " danger:clean:dev -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified in the development environment\n"
|
|
printf " danger:clean:prod -> /!\ Clean certificates, logs, uploads, thumbnails, torrents and database specified by the production environment\n"
|
|
printf " danger:clean:modules -> /!\ Clean node and typescript modules\n"
|
|
printf " play -> Run 3 fresh nodes so that you can test the communication between them\n"
|
|
printf " reset-password -- -u [user] -> Reset the password of user [user]\n"
|
|
printf " create-transcoding-job -- -v [video UUID] \n"
|
|
printf " -> Create a transcoding job for a particular video\n"
|
|
printf " prune-storage -> Delete (after confirmation) unknown video files/thumbnails/previews... (due to a bad video deletion, transcoding job not finished...)\n"
|
|
printf " optimize-old-videos -> Re-transcode videos that have a high bitrate, to make them suitable for streaming over slow connections"
|
|
printf " dev -> Watch, run the livereload and run the server so that you can develop the application\n"
|
|
printf " start -> Run the server\n"
|
|
printf " update-host -> Upgrade scheme/host in torrent files according to the webserver configuration (config/ folder)\n"
|
|
printf " client-report -> Open a report of the client dependencies module\n"
|
|
printf " test -> Run the tests\n"
|
|
printf " help -> Print this help\n"
|