blind

suckless command-line video editing utility
git clone git://git.suckless.org/blind
Log | Files | Refs | README | LICENSE

blind-rewrite-head.1 (1498B)


      1 .TH BLIND-REWRITE-HEAD 1 blind
      2 .SH NAME
      3 blind-rewrite-head - Rewrite the head of a video
      4 .SH SYNOPSIS
      5 .B blind-rewrite-head
      6 [-h]
      7 .I file
      8 .RI [( frames
      9 |
     10 .RB ' auto ')
     11 .RI [( width
     12 |
     13 .RB ' same ')
     14 .RI ( height
     15 |
     16 .RB ' same ')
     17 .RI [ format
     18 |
     19 .RB ' same ']]]
     20 .SH DESCRIPTION
     21 .B blind-rewrite-head
     22 rewrites the head in the video
     23 .IR file .
     24 .I file
     25 must be a regular file. The new
     26 head will specify the choosen number of
     27 .IR frames ,
     28 the choosen
     29 .I width
     30 and
     31 .IR height ,
     32 and the choosen pixel
     33 .IR format .
     34 If
     35 .B ' same '
     36 is choosen as the
     37 .IR width ,
     38 .IR height ,
     39 or
     40 .IR format ,
     41 .B blind-rewrite-head
     42 will use the values specified in
     43 .IR file 's
     44 head. If
     45 .B ' auto '
     46 is choosen as the number of
     47 .IR frames ,
     48 the number of frames will be calculated from
     49 the length of the file, its geometry, and
     50 pixel format.
     51 .SH OPTIONS
     52 .TP
     53 .B -h
     54 Used if the video file does not have a head.
     55 This of course means that
     56 .RB ' same '
     57 cannot be used as there is not way to know
     58 the geometry or format of the video if it does
     59 not have a head.
     60 .SH RETIONALE
     61 .B blind-rewrite-head
     62 only support regular files because combining
     63 .BR blind-read-head (1),
     64 .BR blind-write-head (1),
     65 and
     66 .BR cat (1)
     67 is sufficient for doing the same operation on pipes,
     68 but not on regular files that are too large to store
     69 two copies of on disc.
     70 .SH SEE ALSO
     71 .BR blind (7),
     72 .BR blind-from-video (1),
     73 .BR blind-split (1),
     74 .BR blind-read-head (1),
     75 .BR blind-write-head (1),
     76 .BR blind-transpose (1)
     77 .SH AUTHORS
     78 Mattias Andrée
     79 .RI < maandree@kth.se >