commit 4f4763bbcbbf0dbc897d430c26fcb96225be24d8
parent 9a8ac0ead65670ee86ba30e7b5b82cc697c82df8
Author: Mattias Andrée <maandree@kth.se>
Date: Sat, 21 Jan 2017 15:50:37 +0100
Add man pages
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat:
3 files changed, 78 insertions(+), 1 deletion(-)
diff --git a/Makefile b/Makefile
@@ -40,7 +40,7 @@ SCRIPTS =\
blind-rotate-180\
blind-rotate-270
-MAN = $(BIN:=.1) $(SCRIPTS:=.1)
+MAN1 = $(BIN:=.1) $(SCRIPTS:=.1)
all: $(BIN)
diff --git a/man/blind-concat.1 b/man/blind-concat.1
@@ -0,0 +1,42 @@
+.TH BLIND-CONCAT 1 blind
+.SH NAME
+blind-concat - Concatenate videos
+.SH SYNOPSIS
+.B blind-concat
+[-o
+.I output-file
+[-j
+.IR jobs ]]
+.IR first-stream
+.RI "... " last-stream
+.SH DESCRIPTION
+.B blind-concat
+concatenates the videos from the file
+.I first-stream
+to
+.I last-stream
+in the order they are specified, and
+prints the resulting video to stdout, or if
+specified,
+.IR output-file .
+.SH OPTIONS
+.TP
+.BR -o " "\fIoutput-file\fP
+Print the resulting video to
+.I output-file
+instead of stdout.
+.I output-file
+must be a regular file.
+.TP
+.BR -j " "\fIjobs\fP
+Always tead from
+.I jobs
+input files at the same time
+(or the number of uncomplete files
+if less are remaining). The files
+will be read in order. This is useful
+if the files are pipes to which other
+processes are rendering.
+.SH AUTHORS
+Mattias Andree
+.RI < maandree@kth.se >
diff --git a/man/blind-stack.1 b/man/blind-stack.1
@@ -0,0 +1,35 @@
+.TH BLIND-STACK 1 blind
+.SH NAME
+blind-stack - Overlay videos
+.SH SYNOPSIS
+.B blind-stack
+[-b]
+.IR bottom-stream
+.RI "... " top-stream
+.SH DESCRIPTION
+.B blind-stack
+prints the video from the file
+.I bottom-stream
+to stdout, but draws the videos from the
+succeeding arguments on top of the video from
+.IR bottom-stream ,
+drawing them in order, starting with the
+video specified direct after
+.I bottom-stream
+and ending with
+.IR top-stream .
+The specified files can be any type, except
+directory, including pipes.
+.P
+The output video will be as long as the longest
+input video.
+.SH OPTIONS
+.TP
+.B -b
+Instead of drawing the videos on top of each
+other, for each pixel in each frame, print the
+average colour for each input stream's
+corresponding pixel and frame.
+.SH AUTHORS
+Mattias Andree
+.RI < maandree@kth.se >