oggz-chop(1)

πŸ“¦
version 1.1.3 Β· 2 versions
, in arch rolling, debian trixie, fedora 44, nixos 26.05, nixpkgs unstable, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ 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 Β© 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 πŸŽ€βœ¨