X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=support%2Fdoc%2Ftools.md;h=d5427b5b7a771dfeeee1bfb8f2224d9ddc7b7095;hb=5aafc6f373abe6d71c42ed39fdf1285531a43f40;hp=ee0de4695e3ea3ab7d83ad703eb3a0d4985d187b;hpb=8a08bc1ed57e50ca20fba2a9c34c9bb0e13501a1;p=github%2FChocobozzz%2FPeerTube.git 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: $ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- -v [videoUUID] -r [resolution] ``` +To generate an HLS playlist for a video: + +``` +$ sudo -u peertube NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- --generate-hls -v [videoUUID] +``` + ### create-import-video-file-job.js 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.