pull/377/head
Mikael Finstad 2020-05-17 14:34:24 +08:00
rodzic 2558d04408
commit d5feba3f10
3 zmienionych plików z 18 dodań i 4 usunięć

Wyświetl plik

@ -30,7 +30,7 @@
"Exporting": "Exporting",
"There is a known issue with cutting iPhone HEVC videos. The output file may not work in all players.": "There is a known issue with cutting iPhone HEVC videos. The output file may not work in all players.",
"Unprocessable streams were exported as separate files.": "Unprocessable streams were exported as separate files.",
"Done! Note: cutpoints may be inaccurate. Make sure you test the output files in your desired player/editor before you delete the source. If output does not look right, try to toggle \"Keyframe cut\" or try a different format.": "Done! Note: cutpoints may be inaccurate. Make sure you test the output files in your desired player/editor before you delete the source. If output does not look right, try to toggle \"Keyframe cut\" or try a different format.",
"Done! Note: cutpoints may be inaccurate. Make sure you test the output files in your desired player/editor before you delete the source. If output does not look right, see the HELP page.": "Done! Note: cutpoints may be inaccurate. Make sure you test the output files in your desired player/editor before you delete the source. If output does not look right, see the HELP page.",
"Screenshot captured to:": "Screenshot captured to:",
"Failed to capture frame": "Failed to capture frame",
"Unable to playback rate right now": "Unable to playback rate right now",
@ -53,6 +53,7 @@
"CSV files": "CSV files",
"File exists, bailing": "File exists, bailing",
"Failed to export CSV": "Failed to export CSV",
"You need to open a media file first": "You need to open a media file first",
"Select files to batch convert to supported format": "Select files to batch convert to supported format",
"Batch converting to supported format": "Batch converting to supported format",
"Aborted": "Aborted",
@ -83,7 +84,9 @@
"We are on the first frame": "We are on the first frame",
"Failed to find any prev keyframe": "Failed to find any prev keyframe",
"We are on the first keyframe": "We are on the first keyframe",
"For usage help and issues, please go to:": "For usage help and issues, please go to:",
"Common problems": "Common problems",
"Lossless cutting is not an exact science. For some codecs and files it just works. For others you may need to trial and error depending on the codec, keyframes etc to get the best cut.": "Lossless cutting is not an exact science. For some codecs and files it just works. For others you may need to trial and error depending on the codec, keyframes etc to get the best cut.",
"For more help and issues, please go to:": "For more help and issues, please go to:",
"Keyboard & mouse shortcuts": "Keyboard & mouse shortcuts",
"Show/hide help screen": "Show/hide help screen",
"Playback": "Playback",

Wyświetl plik

@ -1039,7 +1039,7 @@ const App = memo(() => {
const extraIphoneMsg = isIphoneHevc(fileFormatData, mainStreams) ? ` ${i18n.t('There is a known issue with cutting iPhone HEVC videos. The output file may not work in all players.')}` : '';
const extraStreamsMsg = exportExtraStreams ? ` ${i18n.t('Unprocessable streams were exported as separate files.')}` : '';
openDirToast({ dirPath: outputDir, text: `${i18n.t('Done! Note: cutpoints may be inaccurate. Make sure you test the output files in your desired player/editor before you delete the source. If output does not look right, try to toggle "Keyframe cut" or try a different format.')}${extraIphoneMsg}${extraStreamsMsg}`, timer: 15000 });
openDirToast({ dirPath: outputDir, text: `${i18n.t('Done! Note: cutpoints may be inaccurate. Make sure you test the output files in your desired player/editor before you delete the source. If output does not look right, see the HELP page.')}${extraIphoneMsg}${extraStreamsMsg}`, timer: 15000 });
} catch (err) {
console.error('stdout:', err.stdout);
console.error('stderr:', err.stderr);

Wyświetl plik

@ -29,8 +29,19 @@ const HelpSheet = memo(({
>
<IoIosCloseCircleOutline role="button" onClick={onTogglePress} size={30} style={{ position: 'fixed', right: 0, top: 0, padding: 20 }} />
<h1>{t('Common problems')}</h1>
<p>
{t('Lossless cutting is not an exact science. For some codecs and files it just works. For others you may need to trial and error depending on the codec, keyframes etc to get the best cut.')}
</p>
<ol>
<li>Try both <b>Keyframe cut</b> and <b>Normal cut</b> modes</li>
<li>Try to set the <b>start-</b>cutpoint a <b>few frames before or after</b> the nearest keyframe (may also solve audio sync issues)</li>
<li>Try to disable some <b>Tracks</b></li>
<li>Try a different <b>output format</b></li>
</ol>
<p style={{ fontWeight: 'bold' }}>
{t('For usage help and issues, please go to:')}<br />
{t('For more help and issues, please go to:')}<br />
<span style={{ color: primaryTextColor, cursor: 'pointer' }} role="button" onClick={() => electron.shell.openExternal(githubLink)}>{githubLink}</span>
</p>