BLIND-EXTEND(1)

πŸ“¦ version 1.1, in alpine 3.24

πŸ’– NAME πŸ’–

okay so we're in BLIND-EXTEND(1), from the General Commands Manual, section 1 β€” and this section is literally blind-extend β€” add margins to a video πŸ’…βœ¨. That's the whole name vibe, bestie: it adds margins to a video. Iconic. No cap.


✨ SYNOPSIS ✨

say it with me, group chat:

blind-extend [-l left] [-r right] [-a above] [-b below] [-t]

that's the shape of it 🫢


🌸 DESCRIPTION 🌸

okay so blind-extend reads a video from stdin and prints a version of it to stdout β€” except now there's extra space added to its sides. Input video goes in, roomier video comes out. That's the whole main-character plot, fr fr 🌈.


πŸŽ€ OPTIONS πŸŽ€

  • -l left β€” extends the video by left pixels to the left side of the video. The page says left most be a non-negative integer β€” yes, "most" is what it says; read it as must, bestie πŸ˜­πŸ’–.
  • -r right β€” extends the video by right pixels to the right side of the video. right most be a non-negative integer, same non-negative rule, no exceptions πŸ’….
  • -a above β€” extends the video by above pixels to the top of the video. above most be a non-negative integer. Top-margin slay πŸ¦‹.
  • -b below β€” extends the video by below pixels to the bottom of the video. The original page literally says blelow most be a non-negative integer β€” typo energy, but the rule is still non-negative πŸ“.
  • -t β€” instead of adding transparent pixels, draw the end of the input videos in the new room, such that the right-most part of the video is put side-by-side with the left-most part of the video, and analogously for the other sides. That's the whole trick, periodt 🎬✨.

🧠 REQUIREMENTS 🧠

memory check, bestie: blind-extend 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. A frame requires 32 bytes per pixel it contains. And ngl, blind-extend has not been optimised for memory usage, but instead for code simplicity. It's giving "simple code over tiny memory footprint," and honestly? Respect πŸ’œ.


πŸ‘€ SEE ALSO πŸ‘€

go look at blind(7), blind-crop(1), and blind-translate(1) β€” the whole blind cinematic universe is right there πŸŽ₯🌺.


🫢 AUTHORS 🫢

Mattias AndrΓ©e <maandree@kth.se> β€” author credit, preserved exactly, no edits, periodt πŸ‘‘.


bye bestie 🫢✨ β€” blind 1.1, BLIND-EXTEND(1), General Commands Manual; the source snippet doesn't give a date, so no invented date era πŸ’….

πŸ“¦ where this page comes from