Skip to content

Latest commit

 

History

History
180 lines (145 loc) · 8.66 KB

USAGE.md

File metadata and controls

180 lines (145 loc) · 8.66 KB

Using Reframe

Reframe edits a video in your browser. Your video is never uploaded: it is processed on your device by FFmpeg running as WebAssembly.

Basic flow

  1. Open https://reframe-os.netlify.app and drop a video on the page, or click to choose one. MP4, MOV, WebM, MKV and most other formats work.
  2. Pick an output size. There are presets for Reels/TikTok/Shorts (9:16), Instagram (4:5), square, YouTube (16:9) and more, or set custom dimensions. Choose Fit to letterbox or Fill to crop to the new shape.
  3. Edit: trim the start and end, rotate, change the speed, mute or adjust the audio, add text or an image overlay, and tune brightness, contrast, saturation and sharpness.
  4. Choose a format (MP4, WebM, MKV or GIF) and quality, then Export.
  5. When it finishes, Download the file.

The first export downloads the video engine (about 30 MB), so it takes longer. Later exports reuse it.

Join clips

Join clips at the top of the Edit panel puts several videos one after another. It starts with the video you opened; Add clips (or drop files on the panel) adds more, up to 10 and 1 GB in all (3 clips when any is larger than 1440p). Drag the rows, or use the up and down arrows, to set the order. Every clip is fitted inside the first clip's size and frame rate: a clip of another shape gets bars rather than being stretched, and a clip without sound gets silence so the rest stay in step.

Join N clips makes the joined video on this device and opens it in the editor in place of the first one, so trim, crop, text, sizes and Export all work on it as usual. The trim and crop start over, since they belonged to the first video. Undo join goes back to that video and the list of clips. While a join runs, exports wait for it, and Cancel join stops it.

Crop

Crop in the Edit panel keeps part of the picture. While it's open, a box appears on the preview: drag inside it to move it, drag an edge or corner to resize it, or focus it and use the arrow keys (Shift moves further). Pick a shape (Free, 1 : 1, 4 : 5, 9 : 16, 16 : 9, or the output's shape), or type the position and size in percent. The section shows the size kept in pixels. Reset crop keeps the whole frame again.

The crop is applied first, then rotation, then the output size and framing, so with Fill the framing guide shows what's kept inside the crop. Opening a different video starts uncropped.

Trim timeline

Once a video is open, the trim timeline fills with frames from the video, so you can see where to cut. They're made by the video engine in the background (the first time, that includes downloading it) and kept in this browser, so the same video shows them at once next time. The parts outside the trim are dimmed. Click the strip to move the preview there, and drag the handles (or use the arrow keys on them) to set the start and end. While an export runs, making frames pauses and carries on afterwards.

Text and captions

Add Text in the Text section puts a line of text on the video. Drag it in the preview to place it; the preview shows it where, and at the size, the export will draw it. By default text stays on for the whole video. To show it for part of it, set From and Until in seconds of the video, or play to a moment and press Start at playhead or End at playhead. Whole video clears the times. Times follow the source video, so they stay right when you trim or change the speed, and text outside the trim is left out. Dark box behind the text gives it a caption-style background.

Import captions reads an .srt or .vtt subtitle file and adds each cue as a timed caption near the bottom of the frame, sized for the output. An edit holds up to 500 text items; a longer file adds its first 500 cues. Remove all clears them. Exported text uses the bundled Geist font whatever font the preview shows.

Sound

Audio and speed turns the video's sound on or off, sets its volume (up to 200%) and can even out loudness. Add a track there adds a soundtrack (MP3, WAV, M4A, AAC, OGG or FLAC, up to 200 MB). By default it replaces the video's sound; choose Mix with it to keep both, with a volume for each. Loop the track repeats a short track until the video ends; a longer one is cut at the video's end. The track starts with the exported clip, after any trim.

To keep only the sound, choose MP3 or WAV under Format. The export is the sound with your trim, speed, volume, loudness and soundtrack; size, framing, crop and text don't apply. MP3 is 192 kb/s and plays anywhere; WAV is uncompressed (16-bit, 48 kHz), for editing elsewhere. A video without sound can only be exported as sound if it has a soundtrack.

Batch export

Batch export in the Edit panel applies this edit to other videos. Add them with Add videos or drop them on the panel (up to 50), then press Export N videos. They export one at a time, each with its own progress, and use everything you've set except the trim, which belongs to the video it was set on: each video in the batch keeps its full length. Output files are named after their source (clip.mov becomes clip-reframe.mp4).

Download each video from its row, or, in Chrome and Edge, Save all to a folder writes them into a folder you pick. Cancel batch stops the current export and keeps the finished ones; pressing Export again carries on with the rest and retries any that failed. The editor's own Export waits while a batch runs, since they share the video engine.

Export profiles

The Profile section at the top of the output panel applies a whole set of output settings at once: size, framing, format and quality. There are built-in profiles (Landscape 1080p and 720p, Square 1080, Portrait 4 : 5 and 9 : 16), and Save profile stores your own in this browser, where you can rename or delete them. Applying a profile is one undo step and keeps your trims and overlays. Safe area in the preview toolbar shows the 90% and 80% safe zones; it's preview-only and never exported. More in EXPORT_PROFILES.md.

Undo and recovery

  • Every edit can be undone and redone. A slider drag counts as one step.
  • Your edits and a copy of the open video are kept in this browser, so a refresh doesn't lose work. Clearing this site's data in your browser settings removes them, along with the cached timeline frames. See PROJECTS.md.

Keyboard shortcuts

On macOS use Cmd where this says Ctrl.

Shortcut Action
Ctrl+Enter Export the video
Ctrl+Shift+E Export the video (when no export is running)
Escape Cancel the export in progress
Ctrl+Z Undo the last edit
Ctrl+Y, or Ctrl+Shift+Z Redo
Space Play or pause the preview
I Set the trim start to the current position
O Set the trim end to the current position
M Mute or unmute the video's audio
R Reset all settings
1 – 9 Choose one of the first nine output presets
? Show the shortcut list

Shortcuts other than undo and redo are ignored while you're typing in a text field.

Exports that are slow or fail

  • Multi-threaded and single-threaded engines. On a site served with cross-origin isolation (as the live site is), Reframe uses the faster multi-threaded engine. If an export stops making progress, Reframe restarts it once on the single-threaded engine automatically; if that also stalls, you'll see a message with a Retry button.
  • Large files need a lot of memory. Close other tabs, or trim the clip or lower the output resolution first.
  • Screen recordings made in a browser often have no length in the file. Reframe works it out when the file loads; this can take a moment for long recordings.

Offline and installing

After you've opened a video once with a connection, Reframe also works offline: the editor and its video engine are saved in your browser, and the footer says Works offline once both are. With the network off you can open the site, load videos and export as usual. Browsers can install it as an app (the install button in the address bar, or Add to Home Screen on phones). When a new version is out, a small notice offers Reload; nothing reloads by itself, so an export is never interrupted. The saved copy takes about 35 MB, and the browser may clear it when space runs low, in which case it's saved again next time you're online.

Privacy

Your videos never leave your device. Reframe collects anonymous performance and error data (no file names, captions or video content) to improve export reliability, and you can turn it off under Settings in the page footer. See the privacy page and DATADOG.md for exactly what is sent.