BLIND-CROP(1)
π
BLIND-CROP(1) β the blind-crop era β¨
okay bestie, so this is a page from the General Commands Manual and today's main character is blind-crop. buckle up, it's giving "tiny tool, big slay" π
πΈ NAME πΈ
blind-crop β extract subframes for all frames π
β¨ SYNOPSIS β¨
blind-crop [-s | -S | -t] width height left top
π¦ DESCRIPTION π¦
okay so picture this: blind-crop reads a video in from stdin and prints a cropped version of it out to stdout. iconic behaviour, honestly π₯
the new video gets the width and height you asked for, and ngl it'll have the exact same length as the input video. no cap.
here's the vibe on placement:
- the subvideo's left-most pixels sit left pixels to the right of the input video's left-most pixels
- the subvideo's top-most pixels sit top pixels downward from the input video's top-most pixels
π«Ά heads up bestie: the selected subvideo may not extend beyond the input video. the vibe check is strict here.
π OPTIONS π
-sβ instead of resizing the video, sets alpha (and all the colour parameters) to0on every pixel outside the selected region. so like, everything you didn't pick gets ghosted π-Sβ instead of resizing the video, sets alpha (and all the colour parameters) to0on every pixel inside the selected region. yes, the reverse of-s. your fave gets vanished instead π-tβ instead of changing the width and height of the output video, puts the subvideo side-by-side. the subvideo's left-most pixel gets positioned left pixels rightward of the output video's left-most pixel, and the subvideo's top-most pixel gets positioned top pixels downward of the output video's left-most pixel π
π§ REQUIREMENTS π§
okay so memory, bestie, let's talk about it. blind-crop requires enough free memory to load two full frames into memory:
- one of the size of the source video's frames, and
- one of the size of the target video's frames
but π β if -s or -S is used, only memory for one full frame, of the size of the source video's frames, is required. we love a low-effort moment π
a frame requires 32 bytes per pixel it contains. periodt.
π ngl, blind-crop has not been optimised for memory usage β it's optimised for code simplicity instead. it said "my code, my rules" and honestly? respect.
π SEE ALSO π
π AUTHORS π
Mattias AndrΓ©e <maandree@kth.se> β the icon who made this happen π«Ά
and that's the whole page, bestie π this was blind-crop from blind 1.1 β go forth and crop responsibly, mwah πβ¨
π¦ where this page comes from
- alpine 3.24: blind-doc 1.1-r6 Β· ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms