blind-split - Split a video, by frame, into multiple videos
blind-split [-L] (file (end-point | ’end’)) ...
blind-split reads a video from stdin and splits into multiple videos. Starting from the first frame in stdin, it write a video to the first specified file until the first specified end-point number of frames have been written. blind-split the proceeds to write the following frames to the next specified file until a total of end-point frames has been written (that is, including all previous videos), where end-point is the associated end-point. If ’end’ is used instead of end-point, blind-split will proceed until the end of the input video. If you want to discard a section of the video, you can specify the file /dev/null.
All specified end-points, including ’end’ must be in strictly ascending order.
The specified files may be of any type, except directory, including pipes and FIFO:s. Indeed you probably want all of the to be pipes, as saving a raw video to disc will probably fill your disc almost immediately. If you are levering the power of make(1) to only rerended parts you have changes, you can pipe the videos into blind-to-video(1) to compress them. If you’re shall does not support process substitution or creating anonymous pipes, you can uses FIFO:s. If you try to truncate a FIFO, it will be flushed, if this is done after all writes have been done, the process reading from the FIFO will think that there no longer are any processes that have it open for writing, assuming it, like all blind tools, have been written to treat the file as any a regular file (which is usually have pipes are also treated).
Ignore the number of frames specified in the videos head and read until the end or the last desired frame is reached. If this option is used in combination with ’end’, the last video will have an incorrect frame count written in its head. Depending on what tools you will being using, you may need to save that video into a regular file and rewrite its head with blind-rewrite-head(1).
blind(7), blind-from-video(1), blind-to-video(1), blind-cut(1), blind-concat(1), blind-rewrite-head(1)
Mattias AndrÃ©e <[email protected]>