BSDAVDEMUX(1)

NAME
bsdavdemux - demultiplex bsdav(5) streams

SYNOPSIS
bsdavdemux [-lv] [-i input] [-O aout] [-o vout]

DESCRIPTION
The bsdavdemux command extracts either audio data or video data, or both simultaneously, from bsdav(5) stream input, and writes video data to the file vout and audio data to the file aout. Alternatively, the -l option can be used to display information about input. If the -l option is not used, and neither vout nor aout is specified, bsdavdemux will exit with an error.

The options are as follows:

-i input
    Extract data from bsdav(5) stream input.

-l  Instead of extracting data, simply print information about input.

-o vout
    Write video data to vout.

-O aout
    Write audio data to aout.

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

EXAMPLES
The command

    $ bsdavdemux -i out.bsdav -o raw.vid -O raw.aud

will extract data from “out.bsdav” and write the video portions to “raw.vid” and the audio portions to “raw.aud”.

The command

    $ bsdavdemux -i out.bsdav -l

may display information such as the following:

    stream header:
      start time sec = 1116406217
      start time usec = 655592
      video format = uyvy
      video width = 640
      video height = 480
      video max. frame size = 614400
      audio format = slinear_le
      audio channels = 2
      audio sample rate = 48000
      audio max. frame size = 8192

SEE ALSO
bsdav(5) bsdavrec(1)

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