"Create segments from keyframes":"Create segments from keyframes",
"Create segments from subtitles":"Create segments from subtitles",
"Crop":"Crop",
"Crop Values with a lower or equal height than this will be part of a segment. Is not used if 0. If width and height are 0 every crop change indicates a new segment":"Crop Values with a lower or equal height than this will be part of a segment. Is not used if 0. If width and height are 0 every crop change indicates a new segment",
"Crop Values with a lower or equal width than this will be part of a segment. Is not used if 0. If width and height are 0 every crop change indicates a new segment":"Crop Values with a lower or equal width than this will be part of a segment. Is not used if 0. If width and height are 0 every crop change indicates a new segment",
"CSV files":"CSV files",
"Ctrl":"Ctrl",
"CUE files":"CUE files",
@ -190,9 +192,11 @@
"Depending on your specific file/player, you may have to try different options for best results.":"Depending on your specific file/player, you may have to try different options for best results.",
"Deselect all segments":"Deselect all segments",
"Detect black scenes":"Detect black scenes",
"Detect cropped scenes":"Detect cropped scenes",
"Detect scene changes":"Detect scene changes",
"Detect silent scenes":"Detect silent scenes",
"Detecting black scenes":"Detecting black scenes",
"Set custom start time offset":"Set custom start time offset",
"Set file modification date/time of output files to:":"Set file modification date/time of output files to:",
"Set higher black value threshold, which can be optionally specified from nothing (0) to everything (255 for 8-bit based formats). An intensity value greater to the set value is considered non-black. It defaults to 24. You can also specify a value between 0.0 and 1.0 which will be scaled depending on the bitdepth of the pixel format. ":"Set higher black value threshold, which can be optionally specified from nothing (0) to everything (255 for 8-bit based formats). An intensity value greater to the set value is considered non-black. It defaults to 24. You can also specify a value between 0.0 and 1.0 which will be scaled depending on the bitdepth of the pixel format. ",
"Set minimum duration in seconds that is required to create a new segment.":"Set minimum duration in seconds that is required to create a new segment.",
"Set minimum silence duration that will be converted into a segment.":"Set minimum silence duration that will be converted into a segment.",
"Set noise tolerance. Can be specified in dB (in case \"dB\" is appended to the specified value) or amplitude ratio. Default is -60dB, or 0.001.":"Set noise tolerance. Can be specified in dB (in case \"dB\" is appended to the specified value) or amplitude ratio. Default is -60dB, or 0.001.",
"Set the counter that determines after how many frames cropdetect will reset the previously detected largest video area and start over to detect the current optimal crop area. Default ffmpeg value is 0, but for detecting segments it is >=1. This can be useful when channel logos distort the video area. 0 indicates ’never reset’, and returns the largest area encountered during playback. ":"Set the counter that determines after how many frames cropdetect will reset the previously detected largest video area and start over to detect the current optimal crop area. Default ffmpeg value is 0, but for detecting segments it is >=1. This can be useful when channel logos distort the video area. 0 indicates ’never reset’, and returns the largest area encountered during playback. ",
"Set the minimum detected black duration expressed in seconds. It must be a non-negative floating point number.":"Set the minimum detected black duration expressed in seconds. It must be a non-negative floating point number.",
"Set the threshold for considering a picture \"black\".":"Set the threshold for considering a picture \"black\".",
"Set the threshold for considering a pixel \"black\".":"Set the threshold for considering a pixel \"black\".",
hint:()=>i18n.t('Minimum change between two frames to be considered a new scene. A value between 0.3 and 0.5 is generally a sane choice.'),
},
},
cropdetect:{
limit:{
value:'24',
hint:()=>i18n.t('Set higher black value threshold, which can be optionally specified from nothing (0) to everything (255 for 8-bit based formats). An intensity value greater to the set value is considered non-black. It defaults to 24. You can also specify a value between 0.0 and 1.0 which will be scaled depending on the bitdepth of the pixel format. '),
},
reset_count:{
value:'1',
hint:()=>i18n.t('Set the counter that determines after how many frames cropdetect will reset the previously detected largest video area and start over to detect the current optimal crop area. Default ffmpeg value is 0, but for detecting segments it is >=1. This can be useful when channel logos distort the video area. 0 indicates ’never reset’, and returns the largest area encountered during playback. '),
},
minSegmentDuration:{
value:'1',
hint:()=>i18n.t('Set minimum duration in seconds that is required to create a new segment.'),
},
width:{
value:'0',
hint:()=>i18n.t('Crop Values with a lower or equal width than this will be part of a segment. Is not used if 0. If width and height are 0 every crop change indicates a new segment'),
},
height:{
value:'0',
hint:()=>i18n.t('Crop Values with a lower or equal height than this will be part of a segment. Is not used if 0. If width and height are 0 every crop change indicates a new segment'),
awaitdetectSegments({name:'sceneChanges',workingText: i18n.t('Detecting scene changes'),errorText: i18n.t('Failed to detect scene changes'),fn: async(onSegmentDetected)=>ffmpegDetectSceneChanges({filePath,streamId: activeVideoStreamIndex,minChange,onProgress: setProgress,onSegmentDetected,from:start,to: end,ffmpegHwaccel})});