import React from 'react'; import { IoIosCloseCircleOutline } from 'react-icons/io'; import { FaClipboard } from 'react-icons/fa'; import { motion, AnimatePresence } from 'framer-motion'; const { toast } = require('./util'); // eslint-disable-next-line import/no-extraneous-dependencies const { clipboard } = require('electron'); const HelpSheet = ({ visible, onTogglePress, renderSettings, ffmpegCommandLog }) => ( {visible && (

Keyboard shortcuts

  • H Show/hide this screen
  • SPACE, k Play/pause
  • J Slow down video
  • L Speed up video
  • Seek backward 1 sec
  • Seek forward 1 sec
  • . (period) Tiny seek forward (1/60 sec)
  • , (comma) Tiny seek backward (1/60 sec)
  • I Mark in / cut start point
  • O Mark out / cut end point
  • E Cut (export selection in the same directory)
  • C Capture snapshot (in the same directory)
  • + Add cut segment
  • D Delete source file
  • BACKSPACE Remove current cut segment

Hover mouse over buttons to see which function they have.

{renderSettings()}
Settings Current setting

Last ffmpeg commands

{ffmpegCommandLog.reverse().map((log) => (
{ clipboard.writeText(log); toast.fire({ timer: 2000, icon: 'success', title: 'Copied to clipboard' }); }} /> {log}
))}
)}
); export default HelpSheet;