---
name: "oggzrip"
section: "1"
platform: "linux"
package: "oggz-tools"
version: "0.9.8-1"
release: "Debian 5.0 (Lenny)"
platforms: ["linux"]
url: "https://new.carta.tech/oggzrip"
---

# oggzrip(1)

Extract one or more logical bitstreams from an Ogg file.

## NAME

oggzrip — Extract one or more logical bitstreams from an Ogg file.

## SYNOPSIS

**oggzrip** \[-o **filename**  \| --output **filename** \] filename

**oggzrip** \[-h  \| --help \]  \[-v  \| --version \]

## Description

**oggzrip** extracts one or more tracks  from an Ogg file.  In Ogg terminology, **oggzrip** extracts one or  more logical bitstreams.

For example, to extract just the vorbis audio track from any Ogg file:

**oggzrip -c vorbis input.ogx \> output.ogg**

This will removed any other tracks: Skeleton, Theora, image, etc.  The output will be a valid Ogg Vorbis I file, suitable for use on  hardware players that do not support multiplexed (ie. multi-track)  Ogg files. If the input file contains multiple Vorbis, the desired  once can be specified by serialno with the **-s**       option.  Use **oggzinfo** to view the serialno of  each track in a file.

## Options

**oggzrip** accepts the following options:

### Miscellaneous options

- \-o **filename**, --output **filename**

  Write output to the specified  **filename** instead of printing it to  standard output.

- \-h, --help

  Display usage information and exit.

- \-v, --version

  Output version information and exit.

### Filter options

These options can be used multiple times. Pages matching ANY of  the filter options will be included into the output.

- \-s **serialno**, --serialno **serialno**

  Output streams with given serialno.

- \-i **index**, --stream-index **index**

  Filter by stream index. These are assigned to  streams in the order of their BOS pages,  starting at 0.

- \-c **content-type** --content-type **content-type**

  Filter by content-type.  The following codec names  are currently detected: "cmml", "flac", "theora", "speex", "vorbis"

## AUTHOR

David Kuehling        January  1, 2005;

## COPYRIGHT

Copyright © 2005 CSIRO Australia

## SEE ALSO

**[oggzmerge(1)](/oggzmerge/1.md)**,  **[oggz-chop(1)](/oggz-chop/1.md)**,  **[oggzdump(1)](/oggzdump/1.md)**,  **[oggzdiff(1)](/oggzdiff/1.md)**       **hogg(1)**
