aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/tools.md
diff options
context:
space:
mode:
Diffstat (limited to 'support/doc/tools.md')
-rw-r--r--support/doc/tools.md18
1 files changed, 0 insertions, 18 deletions
diff --git a/support/doc/tools.md b/support/doc/tools.md
index 1956dc572..433aaeff7 100644
--- a/support/doc/tools.md
+++ b/support/doc/tools.md
@@ -19,7 +19,6 @@
19 - [create-transcoding-job.js](#create-transcoding-jobjs) 19 - [create-transcoding-job.js](#create-transcoding-jobjs)
20 - [create-import-video-file-job.js](#create-import-video-file-jobjs) 20 - [create-import-video-file-job.js](#create-import-video-file-jobjs)
21 - [prune-storage.js](#prune-storagejs) 21 - [prune-storage.js](#prune-storagejs)
22 - [optimize-old-videos.js](#optimize-old-videosjs)
23 - [update-host.js](#update-hostjs) 22 - [update-host.js](#update-hostjs)
24 - [reset-password.js](#reset-passwordjs) 23 - [reset-password.js](#reset-passwordjs)
25 - [plugin install/uninstall](#plugin-installuninstall) 24 - [plugin install/uninstall](#plugin-installuninstall)
@@ -344,23 +343,6 @@ $ cd /var/www/peertube/peertube-latest
344$ sudo systemctl stop peertube && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run prune-storage 343$ sudo systemctl stop peertube && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run prune-storage
345``` 344```
346 345
347### optimize-old-videos.js
348
349Before version v1.0.0-beta.16, Peertube did not specify a bitrate for the
350transcoding of uploaded videos. This means that videos might be encoded into
351very large files that are too large for streaming. This script re-transcodes
352these videos so that they can be watched properly, even on slow connections.
353
354```bash
355$ # Basic installation
356$ cd /var/www/peertube/peertube-latest
357$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run optimize-old-videos
358
359$ # Docker installation
360$ cd /var/www/peertube-docker
361$ docker-compose exec -u peertube peertube npm run optimize-old-videos
362```
363
364 346
365### update-host.js 347### update-host.js
366 348