dd of=/dev/rmt8
obs=24k
Normally, the output is processed with a simple digital filter; this feature may be turned off with an option. RletoabA62 normally writes two consecutive frames, normally starting at frame 1.
Input is taken from stdin unless a file name is given on the command line. Only a single file may be given, and so if multiple invocations of rletoabA62 are performed in a script, care must be taken to tell the program to convert the data for the proper Abekas frame number (1-4). Otherwise, the colors will appear wrong; they will be rotated on a vector scope diagram.
The following example converts all files ending in .rle in the current directory and writes them to a tape. Two frames are written per image and the frame number is incremented accordingly.
frame=1
number=2
for file in *.rle
do
rletoabA62 -f $frame $file
frame=`expr \( \( $frame - 1 \) + $number \) % 4 + 1`
done |
dd of=/dev/rmt8 obs=24k
Options are parsed by getopt(3) .