KATEENC(1)

πŸ“¦
version 0.4.3 Β· 2 versions
, in arch rolling, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu stonking

πŸ’– KATEENC(1) πŸ’–

okay bestie, welcome to the kateenc page, straight outta libkate β€” yes that's the manual name, we're keeping it, it's iconic πŸ’…


✨ NAME ✨

kateenc β€” create Kate streams from text input πŸŽ€


🌸 SYNOPSIS 🌸

kateenc [-hVM] [-o outfile] [-l language] [-c category] [-s serial] [-C
tag=value] [-R threshold] [-K threshold] -t filetype [ infile ]

πŸ¦‹ DESCRIPTION πŸ¦‹

so basically, kateenc makes Kate streams out of input files β€” we're talking SubRip SRT subtitles, LRC lyrics, and libkate's own custom description language. it's giving multilingual text-to-stream pipeline ✨

and when you save it to an Ogg stream (which is the default behavior, no cap), your Kate stream can then be merged with other Ogg streams (like, say, a Theora video, bestie) using the oggz tools. periodt πŸ’–


πŸ‘‘ OPTIONS πŸ‘‘

  • -h β€” shows the command line help. you know, for when you're lost. 🫢
  • -V β€” shows version information. slay, know thyself. ⭐
  • -M β€” allows simple HTML-like markup in SRT files. if you use this, strings like "<i>" get interpreted as italics instead of just… appearing as the literal text <i>. lowkey important caveat though: various players interpret a slightly different set of HTML tags, and some don't interpret them at all. so vibe check your player first 😭
  • -o outfile β€” writes the output Kate stream to the given file name. if you don't specify it, it writes to stdout. classic. 🌈
  • -l language β€” sets the language for the stream. the default is whatever language was specified in the input, or none. ✨
  • -c category β€” sets the category for the stream. default is the category specified in the input, or none. πŸŽ€
  • -s serial β€” sets the serial number for the output Kate stream. note: this does not apply to raw streams, bestie πŸ’€
  • -C tag=value β€” adds a comment to encode into the output Kate stream. it has to be of the form tag=value and comply with the Vorbis comment rules (like, tag is composed of a particular subset of ASCII characters, and value is valid UTF-8). heads up: you might have to escape or quote the comment so it's seen as a single command line parameter πŸ™ˆ
  • -t filetype β€” specifies the type of the input (srt, lrc, kate) πŸ‘‘
  • -R threshold β€” use repeat packets, with the given threshold (in seconds). data packets get repeated at intervals of roughly threshold seconds, while active. πŸ”₯
  • -K threshold β€” use keepalive packets, with the given threshold (in seconds). keepalive packets get emitted when no other packet has been emitted for roughly threshold seconds. 🧚

πŸ“ EXAMPLES πŸ“

create a Kate stream for Welsh subtitles from a SubRip file:

kateenc -t srt -l cy -c SUB -o output.ogg input.srt

that's it. that's the whole vibe. ate πŸ’…


πŸ’œ SEE ALSO πŸ’œ

katedec(1), katalyzer(1)


okay that's the whole page bestie, mwah 🫢 this was libkate 0.4.3, dated 13 october 2010 β€” iconic era, no notes πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from