table of contents
oggz-chop(1) | General Commands Manual | oggz-chop(1) |
NAME¶
oggz-chop — Extract the part of an Ogg file between given start and/or end times.SYNOPSIS¶
oggz-chop [-o filename | --output filename ] [-s start_time | --start start_time ] [-e end_time | --end end_time ] [-k | --no-skeleton ] filename oggz-chop [-h | --help ] [-v | --version ]Description¶
oggz-chop chops a section of an Ogg file. It correctly interprets the granulepos timestamps of Ogg CELT, CMML, Dirac, FLAC, Kate, PCM, Speex, Theora and Vorbis bitstreams. Run oggz-known-codecs(1) for a full list of codecs known by the installed version of oggz.Options¶
oggz-chop accepts the following options:Output options¶
- -o filename, --output filename
- Write output to the specified filename instead of
printing it to standard output.
- -s start_time, --start start_time
- Specify the start time of the chopped section to output.
- -e end_time, --end end_time
- Specify the end time of the chopped section to output.
- -k , --no-skeleton
- Do NOT include a Skeleton bitstream in the output.
- -h, --help
- Display usage information and exit.
- -v, --version
- Output version information and exit.
EXAMPLES¶
Extract the first minute of file.ogx:oggz chop -e 1:00 file.ogx
Extract from the second to the fifth minute of file.ogx:
oggz chop -s 2:00 -e 5:00 -o output.ogx
file.ogx
Extract, specifying SMPTE-25 frame offsets:
oggz chop -s smpte-25:00:02:03::12 -e
smpte-25:00:05:02::04 -o output.ogv file.ogv