aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/tools.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/support/doc/tools.md b/support/doc/tools.md
index 1db29edc0..8efb0c13d 100644
--- a/support/doc/tools.md
+++ b/support/doc/tools.md
@@ -187,6 +187,17 @@ To delete them (a confirmation will be demanded first):
187$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run prune-storage 187$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run prune-storage
188``` 188```
189 189
190### optimize-old-videos.js
191
192Before version v1.0.0-beta.16, Peertube did not specify a bitrate for the transcoding of uploaded videos.
193This means that videos might be encoded into very large files that are too large for streaming. This script
194re-transcodes these videos so that they can be watched properly, even on slow connections.
195
196```
197$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run optimize-old-videos
198```
199
200
190### update-host.js 201### update-host.js
191 202
192If you started PeerTube with a domain, and then changed it you will have invalid torrent files and invalid URLs in your database. 203If you started PeerTube with a domain, and then changed it you will have invalid torrent files and invalid URLs in your database.