"Cutpoints may be inaccurate.":"Cutpoints may be inaccurate.",
"Data":"Data",
"DaVinci Resolve / Final Cut Pro XML":"DaVinci Resolve / Final Cut Pro XML",
"Decimate allows you to losslessly extract only the keyframes from a video, discarding all non-keyframes. You can also optionally drop some of the keyframes. This can dramatically speed up playback and is useful for shortening long videos with little motion, such as creating time-lapse videos.":"Decimate allows you to losslessly extract only the keyframes from a video, discarding all non-keyframes. You can also optionally drop some of the keyframes. This can dramatically speed up playback and is useful for shortening long videos with little motion, such as creating time-lapse videos.",
"Failed to find any prev frame":"Failed to find any prev frame",
"Failed to find any prev keyframe":"Failed to find any prev keyframe",
"Failed to find next keyframe":"Failed to find next keyframe",
"Failed to fix file duration":"Failed to fix file duration",
"Failed to import project file":"Failed to import project file",
"Failed to include track":"Failed to include track",
"Failed to load segments":"Failed to load segments",
@ -415,6 +417,7 @@
"Jump to start time":"Jump to start time",
"kbit/s":"kbit/s",
"Keep":"Keep",
"Keep every nth keyframe. Use the value \"1\" to keep all keyframes":"Keep every nth keyframe. Use the value \"1\" to keep all keyframes",
"Keep or discard all tracks":"Keep or discard all tracks",
"Keep or discard audio tracks":"Keep or discard audio tracks",
"Keep or discard subtitle tracks":"Keep or discard subtitle tracks",
@ -551,6 +554,7 @@
"Output file names are not sanitized. Try to enable sanitazion or check your segment labels for invalid characters.":"Output file names are not sanitized. Try to enable sanitazion or check your segment labels for invalid characters.",
"Output name(s):_one":"Output file name:",
"Output name(s):_other":"Output file names:",
"Output video frame rate (frames per second)":"Output video frame rate (frames per second)",
"Overwrite files when exporting, if a file with the same name as the output file name exists?":"Overwrite files when exporting, if a file with the same name as the output file name exists",
"Overwrite output setting is disabled and some files might have been skipped.":"Overwrite output setting is disabled and some files might have been skipped.",
@ -764,6 +768,7 @@
"The last executed ffmpeg commands will show up here after you run operations. You can copy them to clipboard and modify them to your needs before running on your command line.":"The last executed ffmpeg commands will show up here after you run operations. You can copy them to clipboard and modify them to your needs before running on your command line.",
"The media file referenced by the project file you tried to open does not exist in the same directory as the project file: {{mediaFileName}}":"The media file referenced by the project file you tried to open does not exist in the same directory as the project file: {{mediaFileName}}",
"The media you tried to open does not exist":"The media you tried to open does not exist",
"The operation failed":"The operation failed",
"The output location has no storage space remaining. Please free up some space and try again.":"The output location has no storage space remaining. Please free up some space and try again.",
"The size of the merged output file ({{outputFileTotalSize}}) differs from the total size of source files ({{sourceFilesTotalSize}}) by more than {{maxDiffPercent}}%. This could indicate that there was a problem during the merge.":"The size of the merged output file ({{outputFileTotalSize}}) differs from the total size of source files ({{sourceFilesTotalSize}}) by more than {{maxDiffPercent}}%. This could indicate that there was a problem during the merge.",
"The video inside segments will be discarded, while the video surrounding them will be kept.":"The video inside segments will be discarded, while the video surrounding them will be kept.",
// Used to be 5, but we recently increased to 6 because https://github.com/mifi/lossless-cut/issues/2838
// I don't remember why 5 was chosen initially, but if we don't truncate, ffmpeg can sometimes give an error when too many decimal places are used in the time argument, see:
<Dialog.Description>{t('Decimate allows you to losslessly extract only the keyframes from a video, discarding all non-keyframes. You can also optionally drop some of the keyframes. This can dramatically speed up playback and is useful for shortening long videos with little motion, such as creating time-lapse videos.')}</Dialog.Description>
@ -518,10 +518,10 @@ function useFfmpegOperations({ filePath, treatInputFileModifiedTimeAsStart, trea
// No progress if we set loglevel warning :(
// '-loglevel', 'warning',
'-ss',formatFfmpegTime(cutFrom),// if we don't -ss before -i, seeking will be slow for long files, see https://github.com/mifi/lossless-cut/issues/126#issuecomment-1135451043
'-ss',formatFfmpegNumber(cutFrom),// if we don't -ss before -i, seeking will be slow for long files, see https://github.com/mifi/lossless-cut/issues/126#issuecomment-1135451043
'-i',filePath,
'-ss','0',// If we don't do this, the output seems to start with an empty black after merging with the encoded part
'-t',formatFfmpegTime(cutTo-cutFrom),
'-t',formatFfmpegNumber(cutTo-cutFrom),
...mapStreamsArgs,
@ -893,19 +893,15 @@ function useFfmpegOperations({ filePath, treatInputFileModifiedTimeAsStart, trea