blind-translate - Perform framewise translation of a video
blind-translate [-pw] translation-stream
blind-translate reads a video from stdin and translation operands from translation-stream, and perform framewise translation of the video and prints the resulting video to stdout.
translation-stream is a video that is 1 pixel wide and 1 pixel high. The first pixel value in a frame is used as the translation value for the X-axis in the same frame in the video, and the second pixel value is used as the translation value for the Y-axis. The remaining two pixel values are ignored.
If stdin is longer than translation-stream, the remainder of stdin is printed with the last translation or no translation if translation-stream does not contain any translations. If stdin is shorter than translation-stream, the remainder of translation-stream is ignored but may be partially read.
-w |
Wrap video around the edges. | ||
-p |
The values in translation-stream is to be treat as the position, measured form the top-left corner, in the input video that shall be used at the top-left corner of the output video. |
blind-translate requires enough free memory to load a full frames into memory if -w is used or a frame row otherwise. A frame or frame row requires 32 bytes per pixel it contains.
blind(7), blind-crop(1), blind-extend(1)
Mattias Andrée <[email protected]>