From 66a7fc947321b923fa1e7182202e03d0e21ffb3e Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 17 Aug 2021 10:33:36 +0200 Subject: Remove optimize old videos script It is not compatible with HLS and I don't have time to maintain it --- support/doc/tools.md | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'support/doc') 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 @@ - [create-transcoding-job.js](#create-transcoding-jobjs) - [create-import-video-file-job.js](#create-import-video-file-jobjs) - [prune-storage.js](#prune-storagejs) - - [optimize-old-videos.js](#optimize-old-videosjs) - [update-host.js](#update-hostjs) - [reset-password.js](#reset-passwordjs) - [plugin install/uninstall](#plugin-installuninstall) @@ -344,23 +343,6 @@ $ cd /var/www/peertube/peertube-latest $ sudo systemctl stop peertube && sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run prune-storage ``` -### optimize-old-videos.js - -Before version v1.0.0-beta.16, Peertube did not specify a bitrate for the -transcoding of uploaded videos. This means that videos might be encoded into -very large files that are too large for streaming. This script re-transcodes -these videos so that they can be watched properly, even on slow connections. - -```bash -$ # Basic installation -$ cd /var/www/peertube/peertube-latest -$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run optimize-old-videos - -$ # Docker installation -$ cd /var/www/peertube-docker -$ docker-compose exec -u peertube peertube npm run optimize-old-videos -``` - ### update-host.js -- cgit v1.2.3