toast.fire({icon:'info',timer:10000,text:i18n.t('When merging, do you want to create chapters in the merged file, according to the cut segments?')});
toast.fire({icon:'info',timer:10000,text:i18n.t('When merging, do you want to create chapters in the merged file, according to the cut segments? NOTE: This may dramatically increase processing time')});
}
functiononPreserveMetadataOnMergeHelpPress(){
toast.fire({icon:'info',timer:10000,text:i18n.t('When merging, do you want to preserve metadata from your original file? NOTE: This may dramatically increase processing time')});
{outSegments.length>1&&<li>{t('Merge {{segments}} cut segments to one file?',{segments:outSegments.length})}<MergeExportButtonautoMerge={autoMerge}outSegments={outSegments}toggleAutoMerge={toggleAutoMerge}/></li>}
{outSegments.length>= 2&&<li>{t('Merge {{segments}} cut segments to one file?',{segments:outSegments.length})}<MergeExportButtonautoMerge={autoMerge}outSegments={outSegments}toggleAutoMerge={toggleAutoMerge}/></li>}
{t('Preserve original metadata when merging? (slow)')}<Buttonheight={20}onClick={togglePreserveMetadataOnMerge}>{preserveMetadataOnMerge?t('Yes'):t('No')}</Button>
// Use the first file for metadata. Can only do this if allStreams (-map 0) is set, or else ffmpeg might output this input instead of the concat
...(allStreams ?['-i',paths[0]]:[]),
// Add the first file for using its metadata. Can only do this if allStreams (-map 0) is set, or else ffmpeg might output this input instead of the concat