Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

oggz-chop(1) [debian man page]

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-skele- ton ] 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. The output file contains copies of the headers of the input file, and all the codec data required to correctly decode the content between the start and end times specified on the commandline. For codecs with data dependencies like video keyframes, the keyframe prior to the starting time will be included in the output. Note that oggz-chop operates by copying pages of Ogg data; it does not strip partial packets from the first or last data page included in the output. It does however ensure to set the end of stream flag on the last page of each logical bitstream. Skeleton handling: By default, the output will contain a Skeleton track specifying the start of the chop as presentation time. 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 Server configuration The following configuration for Apache httpd will enable oggz-chop. As with most Apache directives, this may of course be restricted to particular Directories or Locations: ScriptAlias /oggz-chop /usr/bin/oggz-chop Action application/ogg /oggz-chop HTTP/1.1 Cacheability oggz-chop generates Last-Modified HTTP headers, and responds correctly to If-Modified-Since conditional GET requests. AUTHOR
Conrad Parker February 25, 2008; COPYRIGHT
Copyright (C) 2008 Annodex Association SEE ALSO
oggz-validate(1), oggz-merge(1), oggz-dump(1), hogg(1) oggz-chop(1)

Check Out this Related Man Page

oggz-diff(1)						      General Commands Manual						      oggz-diff(1)

NAME
oggz-diff -- Hexdump the packets of two Ogg files and output differences SYNOPSIS
oggz-diff [options] [OGGZDUMP_OPTIONS] [DIFF_OPTIONS] file1.ogg file2.ogg options: [--verbose ] [-v | --version ] [-h | --help ] OGGZDUMP_OPTIONS: [-b | --binary ] [-x | --hexadecimal ] [-c content-type | --content-type content-type ] [-s serialno | --serialno serialno ] [-O | --hide-offset ] [-S | --hide-serialno ] [-G | --hide-granulepos ] [-P | --hide-packetno ] DIFF_OPTIONS: [-q | --brief ] [-C NUM | --context[=NUM] ] [-u | -U NUM | --unified[=NUM] ] [-e | --ed ] [--normal ] [--rcs ] [-y | --side-by-side ] [-l | --paginate ] Description oggz-diff is a sh script which uses oggz-dump to generate hexadecimal packet dumps of each input file, then outputs the difference between these dumps using diff. Options oggz-diff forwards a subset of options accepted by oggz-dump and diff. See oggz-dump(1) and diff(1) for more detail. oggz-dump format options -b, --binary Generate a binary dump of each packet -x, --hexadeciaml Generate a hexadecimal dump of each packet oggz-dump filtering options -c content-type, --content-type content-type Dump only the logical bitstreams for a specific content-type. Run oggz-known-codecs(1) for a full list of codecs known by the installed version of oggz. -s serialno, --serialno serialno Dump only the logical bitstream with specified serialno. -O, --hide-offset Hide the byte offset field of the preamble for each packet dumped. This is particularly useful when comparing Ogg bitstreams that differ only in page structure. -S, --hide-serialno Hide the serialno field of the preamble for each packet dumped. This is particularly useful when comparing Ogg bitstreams that differ only in serialno assignment. -G, --hide-granulepos Hide the granulepos field of the preamble for each packet dumped. -P, --hide-packetno Hide the packetno field of the preamble for each packet dumped. diff options The -w (--ignore-all-space) option to diff is always implied. -q, --brief Output only whether files differ. -C NUM, --context[=NUM] Output NUM lines of copied context. -u, -U NUM, --unified[=NUM] Output NUM (default 3) lines of unified context. -e, --ed Output an ed script. --normal Output a normal diff. --rcs Output an RCS format diff. -y, --side-by-side Output in two columns. -l, --paginate Pass the output through pr to paginate it. Miscellaneous options --verbose Display verbose messages. -v, --version Display version information and exit. -h, --help Display usage information and exit. AUTHOR
Conrad Parker COPYRIGHT
Copyright (C) 2003 CSIRO Australia SEE ALSO
oggz-dump(1), diff(1), patch(1) oggz-diff(1)
Man Page