diff --git a/definitions/base.js b/definitions/base.js index 55cc5f8a..124a716c 100644 --- a/definitions/base.js +++ b/definitions/base.js @@ -123,6 +123,7 @@ module.exports = function(s,config,lang){ { "name": "detail=auto_compress_videos", "field": lang['Compress Completed Videos'], + "description": lang.compressCompletedVideosFieldText, "fieldType": "select", "possible": [ { diff --git a/languages/en_CA.json b/languages/en_CA.json index a9b8d8ff..1eb5c068 100644 --- a/languages/en_CA.json +++ b/languages/en_CA.json @@ -497,6 +497,7 @@ "Fix Video": "Fix Video", "Compress Videos": "Compress Videos", "Compress Completed Videos": "Compress Completed Videos", + "compressCompletedVideosFieldText": "Automatically convert videos to WebM once recorded. Doing this requires a powerful CPU or you must allow a large amount of time to allow compression. The rate in which videos are added to the database can't be faster than the rate for compression.", "FixVideoMsg": "Do you want to fix this video? This will create a new file and overwrite the old one. You cannot undo this action.", "DeleteVideoMsg": "Do you want to delete this video? You cannot recover it.", "CompressVideoMsg": "Do you want to compress this video? The original will be moved to your FileBin. Videos that are already completed compressing will be skipped if already queued.", diff --git a/libs/monitor.js b/libs/monitor.js index 663b6674..b88640f4 100644 --- a/libs/monitor.js +++ b/libs/monitor.js @@ -48,7 +48,8 @@ module.exports = function(s,config,lang){ setPresetForCurrentPosition } = require('./control/ptz.js')(s,config,lang) const { - scanForOrphanedVideos + scanForOrphanedVideos, + reEncodeVideoAndBinOriginalAddToQueue, } = require('./video/utils.js')(s,config,lang) const { selectNodeForOperation,