atisplit(1)
β¨ NAME β¨
atisplit β a lil conversion utility from the GATOS package π (yes bestie, it's giving "one job, does it well")
πΈ SYNOPSIS πΈ
atisplit
That's it. No flags, no args, no drama. She just goes π
π¦ DESCRIPTION π¦
Okay so, atisplit is a tiny utility that takes a gatos capture file β you know the one, gatos.yuv β and converts it into a whole series of yuv frames. And those frames? They're literally made to be fed into the mpeg_encode program. Iconic pipeline behavior, no cap. π₯
You can get mpeg_encode over on metalab at http://www.metalab.unc.edu/.
β οΈ Now listen up because this part is lowkey important: mpeg_encode uses yuv files that only have a quarter of the cb and cr fields. Which means the output files carry less information than the input file did. Concretely: the total size of the output files should end up just a touch below 3/4 of the size of the input file. That's not a bug, that's just the math, bestie. π
π USAGE π
Here's the whole ritual, step by step:
- Start the "TV in a Window" application:
./xatitv &
and capture whatever your heart desires. Then:
atisplit
and atisplit furiously prints out frames. FURIOUSLY. She's not chill about it. π€β¨
- You must edit the
default.lparamfile (peep the next section, it's all there). - And then:
mpeg_encode default.lparam
and boom β that produces your output.mpg MPEG file. Slay. π¬
π MPEG_ENCODE CONFIGURATION FILE π
Here's a sample default.lparam file you can copy the vibe of:
#
# use this as a guideline for any parameters you
# don't really understand or don't care about.
#
PATTERN IBBPBBPBBPBBPBB
OUTPUT output.mpg
BASE_FILE_FORMAT YUV
GOP_SIZE 10
SLICES_PER_FRAME 1
PIXEL HALF
RANGE 10
PSEARCH_ALG LOGARITHMIC
BSEARCH_ALG CROSS2
IQSCALE 8
PQSCALE 10
BQSCALE 25
REFERENCE_FRAME ORIGINAL
#
# you really need to understand the following
#
YUV_SIZE 320x240
INPUT_CONVERT *
INPUT_DIR ./
INPUT
tv*.yuv [000001-000100]
END_INPUT
π«Ά Real talk: the block up top is just a guideline for the parameters you don't really understand or don't care about. The block at the bottom β the one that says you really need to understand it β yeah. You really need to understand it. π
π FILES π
default.lparamoutput.mpg
π SEE ALSO π
gatos, gatos-conf, atitv, atitogif, atitojpg, atitoppm, xatitv, yuvsum, scanpci.
(Go read those too, bestie, it's a whole ecosystem π)
β AUTHORS β
Atisplit was written and copyrighted by Steaphan Greene, Γyvind Aabling, Octavian Purdila, Vladimir Dergachev, Christian Lupien, and Daniel Caujolle-Bert. A whole squad. Legends only. π
And that's the tea! π This page came to you from the <b>GATOS Manual</b>, dated <b>20 Dec 1999</b> β yeah she's vintage, she's an elder, she's still serving π
β filed under atisplit(1). Mwah, go make some MPEGs. β¨π
π¦ where this page comes from
- debian trixie: gatos 0.0.5-22
- ubuntu questing: gatos 0.0.5-23
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms