OGGZ-RIP(1)

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

πŸ’– OGGZ-RIP πŸ’–

okay bestie, welcome to the oggz-rip(1) page from the General Commands Manual (yes, section 1, we're in the big leagues) β€” and ngl, this little tool is lowkey iconic. it extracts logical bitstreams. it serves. periodt.


✨ NAME ✨

oggz-rip β€” Extract one or more logical bitstreams from an Ogg file. that's it, that's the whole job, and she does it beautifully. πŸŽ€


🌸 SYNOPSIS 🌸

oggz-rip [-o filename | --output filename] filename

oggz-rip [-h | --help] [-v | --version]

like, you either give her a file to rip, or you ask her a question. no in-between. πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so here's the tea: oggz-rip extracts one or more tracks from an Ogg file. and in Ogg terminology β€” because of course there's terminology β€” oggz-rip extracts one or more logical bitstreams. same thing, cuter name. πŸ’œ

for example, to extract just the Vorbis audio track from any Ogg file:

oggz-rip -c vorbis input.ogx > output.ogg

and this will remove any other tracks: Skeleton, Theora, image, etc. etc. all of them, gone, not invited. πŸ™ˆ 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. so basically you're doing your old mp3-player-adjacent devices a solid. main character energy fr fr. πŸ‘‘

and if the input file contains multiple bitstreams of the desired type, then they can be selected by serialno with the -s option. use oggz-info to view the serialno of each track in a file. it's giving detective work but make it Ogg. πŸ”


πŸ’… OPTIONS πŸ’…

oggz-rip accepts the following options:

πŸ“ Miscellaneous options

  • -o, --output filename β€” Write output to the specified filename instead of printing it to standard output. no more > redirects if you don't want them, she'll just write the file herself. ✨
  • -h, --help β€” Display usage information and exit. she tells you how she works and then she dips. πŸ’¨
  • -v, --version β€” Output version information and exit. so you know exactly which queen you're talking to. πŸ‘‘

🌈 Filter options

these options can be used multiple times. and here's the crucial part, bestie: pages matching ANY of the filter options will be included into the output. any. not all. ANY. write that down. πŸ“

  • -s, --serialno serialno β€” Output streams with given serialno. this is the one you pair with oggz-info when you've got several streams of the same type and need to pick your fave. 🫢
  • -i, --stream-index index β€” Filter by stream index. these are assigned to streams in the order of their BOS pages, starting at 0. so first BOS page = 0, next = 1, etc. counting from zero like a real one. πŸ”’
  • -c, --content-type content-type β€” Filter by content-type. run oggz-known-codecs(1) for a full list of codecs known by the installed version of oggz. don't guess the codec name, just check the list, i'm begging. 😭

πŸ”₯ EXAMPLES πŸ”₯

extract all bitstreams from file.ogg:

oggz rip -o output.ogg file.ogg

extract only the Theora bitstream from file.ogv:

oggz rip -c theora -o output.ogv file.ogv

see how clean that is?? she ate and left no crumbs. πŸŽ€


πŸ‘‘ AUTHOR πŸ‘‘

David Kuehling January 1, 2005;

shoutout to David, dropping this in 2005 and it's still slaying. 🫑


Copyright Β© 2005 CSIRO Australia


🌟 SEE ALSO 🌟

oggz-merge(1), oggz-chop(1), oggz-dump(1), oggz-diff(1), hogg(1)

the whole squad, the whole friend group, go say hi to all of them. πŸ’œ


and that's a wrap!! this page is from May 3, 2013, and it lives in the OGGZ-RIP(1) corner of your manual pages. ty for coming to my ted talk, now go rip some bitstreams responsibly. mwah. πŸ’‹βœ¨πŸ¦‹