aboutsummaryrefslogtreecommitdiffhomepage
path: root/support
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-08-17 10:33:36 +0200
committerChocobozzz <me@florianbigard.com>2021-08-17 10:33:36 +0200
commit66a7fc947321b923fa1e7182202e03d0e21ffb3e (patch)
tree5cb913531d3b84d0f2d4bbcc0d34f0a9a6435bc5 /support
parent0305db28c98fd6cf43a3c50ba92c76215e99d512 (diff)
downloadPeerTube-66a7fc947321b923fa1e7182202e03d0e21ffb3e.tar.gz
PeerTube-66a7fc947321b923fa1e7182202e03d0e21ffb3e.tar.zst
PeerTube-66a7fc947321b923fa1e7182202e03d0e21ffb3e.zip
Remove optimize old videos script
It is not compatible with HLS and I don't have time to maintain it
Diffstat (limited to 'support')
-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