SOLVED PeerTube CLI
@nebulon same result
sudo -u cloudron NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- -v db21c654-6ca3-470e-b6a0-0f31bbcb3c37 sudo: npm: command not found
Ah sudo apparently does not carry over the env bits for this. So instead use
gosu cloudron:cloudron npm ...that should do.
getting one step closer but still an error:
gosu cloudron:cloudron NODE_CONFIG_DIR=/var/www/peertube/config NODE_ENV=production npm run create-transcoding-job -- -v db21c654-6ca3-470e-b6a0-0f31bbcb3c37 error: exec: "NODE_CONFIG_DIR=/var/www/peertube/config": stat NODE_CONFIG_DIR=/var/www/peertube/config: no such file or directory
NODE_CONFIG_DIRis already properly set in the environment pointing to
/app/code/server/configso remove that from your commandline.
@nebulon again one step closer, but...
/app/code/server# gosu cloudron:cloudron NODE_ENV=production npm run create-transcoding-job -- -v db21c654-6ca3-470e-b6a0-0f31bbcb3c37 error: exec: "NODE_ENV=production": executable file not found in $PATHwith the current size.
All my docs go unread it's just
Oh haha, great https://docs.cloudron.io/apps/peertube/
@girish stupid me!
rmdes last edited by rmdes
it seems to work here :
and transcoding works too :
the "solution" is to disable HLS
Requires ffmpeg >= 4.1
Generate HLS playlists and fragmented MP4 files resulting in a better playback than with the current default player:
Resolution change is smoother Faster playback in particular with long videos More stable playback (less bugs/infinite loading)
If you also enabled WebTorrent support, it will multiply videos storage by 2
robi last edited by
@rmdes HLS seems to be messy.
is ffmpeg not >=4.1 by default?
does HLS being enabled mean the fragmented MP4 and original are in place? That already means 2x the original.
What is it about WebTorrent that 2x that even more?
rmdes last edited by
@robi I have no idea about all 3 questions