# Video editor

Cut and convert video right in your browser: trim, MP4, WebM or MKV, GIF, audio, speed, size, rotation, filters and captions. Your files stay on your device.

- Open the app: https://openlibs.dev/en/app/video-editor/
- library for developers: https://openlibs.dev/en/lib/video-editor/

## Video editor: instructions

### Getting started

The settings are on the left, the preview on the right (on a phone the preview is on top). Open a video with “Open a video” or drop the file onto the preview: MP4, WebM, MOV, MKV, AVI and other formats. The video is processed on your device by your browser's own codecs and is never uploaded.

### Choosing the part

Drag the two handles under the video to set the start and the end, or type the times (HH:MM:SS.mmm, MM:SS or seconds). “Start here” and “End here” (keys I and O) take the current playback position. “Play the selection” plays from the start and stops at the end; “Whole video” selects everything. Every operation works on the selected part.

### Operations

Trim saves the part as MP4. Format converts to MP4, WebM or MKV. GIF makes an animation with its own color palette. Audio saves the sound as MP3, WAV or OGG. Speed changes the tempo from 0.25× to 4× and keeps the voice pitch. Size lowers the frame height (a smaller video is never enlarged). Turn rotates or mirrors the picture. Effect adds black and white, sepia, brightness, contrast, inversion, blur, sharpening or a vignette. Mute removes the sound.

### Caption

Choose “Caption”, then type the text and pick the font in the Caption card: bold, italic and the size in percent of the frame height. Set the text color, the position (top, center or bottom) and, if you like, a background under the text and its color. Only TrueType / OpenType fonts can be drawn into the video; you can upload your own font file.

### Processing and result

Press “Process” (Ctrl+Enter). Nothing is downloaded first: the browser's own codecs do the work, often with hardware acceleration. The progress bar shows how far it got; “Cancel” stops it at once. The result appears under the preview, ready to play, with its size; “Download” saves it. If something goes wrong, the message names the reason and the Journal keeps the engine log.

### Export, import, undo and journal

Export downloads the result or saves the settings as a project (.json); Import loads such a project. The project keeps the settings, not the video. “Restore unsaved work” in Import brings back the last settings and videos up to 200 MB. Undo and Redo (Ctrl+Z, Ctrl+Y) step through the settings, Ctrl+S saves the project. The Journal lists every action.

