diff options
Diffstat (limited to 'support/doc')
-rw-r--r-- | support/doc/tools.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/support/doc/tools.md b/support/doc/tools.md index ee0de4695..d5427b5b7 100644 --- a/support/doc/tools.md +++ b/support/doc/tools.md | |||
@@ -227,6 +227,12 @@ Or to transcode to a specific resolution: | |||
227 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- -v [videoUUID] -r [resolution] | 227 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- -v [videoUUID] -r [resolution] |
228 | ``` | 228 | ``` |
229 | 229 | ||
230 | To generate an HLS playlist for a video: | ||
231 | |||
232 | ``` | ||
233 | $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- --generate-hls -v [videoUUID] | ||
234 | ``` | ||
235 | |||
230 | ### create-import-video-file-job.js | 236 | ### create-import-video-file-job.js |
231 | 237 | ||
232 | You can use this script to import a video file to replace an already uploaded file or to add a new resolution to a video. PeerTube needs to be running. | 238 | You can use this script to import a video file to replace an already uploaded file or to add a new resolution to a video. PeerTube needs to be running. |