BSDAVREC(1)

NAME
bsdavrec - record BSDAV audio and video streams

SYNOPSIS
bsdavrec [-AVlv] [-C achans] [-E aenc] [-F afile] [-R arate] [-e venc] [-f vfile] [-h vheight] [-i field] [-n vnorm] [-o output] [-p pidfile] [-r vrate] [-s vsource] [-w vwidth]

DESCRIPTION
The bsdavrec command records video from bktr(4) device vfile, audio from audio(4) device afile, and multiplexes the data into BSDAV stream output. The default afile is /dev/audio. The default vfile is /dev/bktr0. By default bsdavrec will record both the audio and video. It is also possible to record only audio or only video into a BSDAV stream. If no output is specified, bsdavrec will exit with an error.

The options are as follows:

-A  Do not record audio.

-C achans
    Number of audio channels to record from afile. The default is 2.

-E aenc
    Audio bit-depth and encoding format to record from afile. The default is “slinear_le”. The encodings available to bsdavrec can be viewed with the -l option.

-F afile
    Alternative audio(4) device to use.

-R arate
    Audio sample rate in samples per second to record from afile. The default is 48000.

-V  Do not record video.

-e venc
    FOURCC name for video encoding format to record from vfile. The default is “uyvy”. Supported formats can be viewed with the -l option.

-f vfile
    Alternative bktr(4) device to use.

-h vheight
    Video height in pixels to record from vfile. The default is derived from the hardware, which is influenced by the vnorm setting.

-i field
    Specifies video field to record from vfile. The default is to record interlaced frames consisting of both the odd and even fields. Valid arguments are “odd” and “even”.

-l  List video and audio formats available to bsdavrec.

-n vnorm
    Video norm to use. Specifying a vnorm is a shortcut for setting the default vwidth, vheight, and vrate. Valid options are “none”, which uses hardware default norm, “ntsc”, (640,480,30000:1001) “pal”, and “secam” (768,576,25). The default is “none”.

-o output
    Record to stream output.

-p pidfile
    Write the current process ID to file pidfile. Useful for stopping a recording session.

-r vrate
    Video frame rate in frames per second to record from vfile.

-s vsource
    Set the current video source for vfile. The default is “tuner”. The list of video sources can be viewed with the -l option.

-v  Increments level of informational output. All messages are output to standard error. Multiple instances of this option are allowed.

-w vwidth
    Video width in pixels to record from vfile. The default is derived from the hardware, which is influenced by the vnorm setting.

EXAMPLES
The command

    $ bsdavrec -o out.bsdav

will record audio from /dev/audio and video from /dev/bktr0 into BSDAV stream “out.bsdav”.

SEE ALSO
BSDAV(5) bsdavplay(1) audio(4) bktr(4)

AUTHORS
bsdavrec and this manual page were written by Jacob Meuser <jakemsr@jakemsr.com>.