# capture.1 manual page

## NAME

           capture - capture EAS alerts from audio

## SYNOPSIS

           capture [-d dir ] [-l log-file ] [-s script ] file

## DESCRIPTION

           capture  reads  audio  data from file (or stdin if file is
           -), decodes any SAME (Specific Area Message Encoding) dig-
           ital  data,  and writes the resulting alert audio clips to
           disk.

           The audio clips are written to disk in  MP3  format.   The
           lame(1)  audio compressor is used to create the MP3 files.

           After creating the audio clip, capture sets  the  environ-
           ment variables EAS_MESSAGE and EAS_MP3 and runs the script
           specified in the command line.

## OPTIONS

           -d dir The directory where MP3 files will be created.

           -l log-file
                  The log file to which EAS events will be written.

           -s script
                  The command to run after capturing an MP3 file.

           file   The file that contains audio data. If -  is  speci-
                  fied, read from stdin.

## AUTHOR

           Greg Hewgill <greg@hewgill.com>
           http://hewgill.com

## SEE ALSO

           lame(1), streamer(1)