oggz-chop(1)
β¨ oggz-chop β¨
okay bestie, welcome to oggz-chop(1) β this is the General Commands Manual entry, and it's literally the tool that lets you cut a lil slice out of an Ogg file. no cap. π
πΈ NAME πΈ
oggz-chop β Extract the part of an Ogg file between given start and/or end times.
like, you give it a start time and/or an end time and it hands you back just that chunk. periodt. βοΈ
π 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 π¦
okay so oggz-chop chops a section of an Ogg file. it correctly interprets the granulepos timestamps of Ogg CELT, CMML, Dirac, FLAC, Kate, Opus, PCM, Speex, Theora, Vorbis and VP8 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. (yes bestie, it grabs the keyframe before your start point, because otherwise the video would just be vibes and no actual pixels π)
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. so polite, so efficient, main character energy fr fr. π
π AUTHOR π
Conrad Parker February 25, 2008;
π COPYRIGHT π
Copyright Β© 2008 Annodex Association
π§ SEE ALSO π§
oggz-validate(1), oggz-merge(1), oggz-dump(1), hogg(1)
okay that's the whole page bestie, mwah ππ this was oggz-chop(1) from the General Commands Manual, dated February 25, 2008 β go forth and chop, you absolute icon πβ¨
π¦ where this page comes from
- arch rolling: liboggz 1.1.3-1 Β· BSD-3-Clause
- debian trixie: oggz-tools 1.1.3-1 Β· BSD-3-Clause
- fedora 44: liboggz 1.1.3-1.fc44 Β· BSD-3-Clause
- fedora 44: liboggz 1.1.3-1.fc44 Β· BSD-3-Clause
- nixos 26.05: liboggz 1.1.3
- nixpkgs unstable: liboggz 1.1.3
- ubuntu questing: oggz-tools 1.1.3-1
- ubuntu resolute: oggz-tools 1.1.3-3 Β· BSD-3-Clause
- ubuntu stonking: oggz-tools 1.1.3-3 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms