Quick start¶
This page takes one file through the main operations. Each command writes a new file next to the input and leaves the input unchanged.
Prerequisites¶
vexy-vidandffmpeginstalled. See Installation.- A video file. The examples use
movie.mp4, a 640×480 clip with 64-pixel black bars at the top and bottom.
Remove letterbox bars¶
-
Run
trimwith--Letterbox: -
Read the log.
vexy-vidreports what it found and what it will do:Detecting letterbox bars... Detected letterbox crop: 640x352 at (0,64) Letterbox detected via FFmpeg: top=64, bottom=64 Crop would significantly change aspect ratio: 1.33 -> 1.82 Trimming: top=64, right=0, bottom=64, left=0 Result dimensions: 640x352 Output: movie_trim_llb.mp4 Using encoder: libx265 (quality: balanced)
The result is movie_trim_llb.mp4, 640×352 pixels. The aspect-ratio warning is
expected here: removing the bars changes the frame shape on purpose.
Crop to an aspect ratio¶
-
Run
cropwith a ratio: -
vexy-vidkeeps the full width (640) and computes the height for 16:9 (360). It centres the window vertically because--Valigndefaults to50.
The result is movie_crop_16-9.mp4, 640×360 pixels.
To keep the bottom of the frame instead of the middle, set --Valign 100:
Trim fixed amounts¶
This removes 100 pixels from the top and 50 from the bottom. The result is
movie_trim_t100_b50.mp4, 640×330 pixels.
Use percentages for proportional trims:
Crop and scale in one pass¶
vexy-vid crops to 16:9 first, then scales the cropped frame to 1920×1080. Both
steps run in the same ffmpeg filter chain, so the video is encoded only once.
Choose the output name¶
Pass --output to set the file name yourself:
An existing file at that path is overwritten without a prompt.
Pass the input path on standard input¶
When --input is missing, vexy-vid reads one line from standard input and
uses it as the path:
Next steps¶
- CLI reference lists every flag and size format.
- Automatic detection explains
--Letterboxand--subtitles.