CT2-MAKE-MOVIE(1)
π CT2-MAKE-MOVIE π
okay bestie, welcome to ct2-make-movie from the User Commands girlies β it's a lil manual page for the ct2-make-movie program and honestly? it's giving movie director energy. π¬β¨
β¨ NAME β¨
ct2-make-movie β literally just the manual page for ct2-make-movie, that's it, that's the name section π«Ά
πΈ SYNOPSIS πΈ
ct2-make-movie [options] file.ct2 arguments...
π¦ DESCRIPTION π¦
So here's the vibe: it automates making movies out of one single ctioga2 command file. One file. That's the whole plot. π
When you run:
ct2-make-movie plot.ct2 file1.dat file2.dat file3.dat ...
it runs ctioga2 over and over and over, with the variable $(arg) taking each of the arguments you gave on the command line β so file1.dat first, then file2.dat, then file3.dat, and so on forever until it runs out. it's a loop, bestie, a whole little for-loop with main character energy. π
But wait, there's more β it can also generate its own arguments, no thoughts needed:
ct2-make-movie plot.ct2 0..10:101
that makes $(arg) go from 0 to 10 through 101 steps. slay. β¨
And in every case, the variable $(index) gets set to the current number of the frame being drawn, starting from 0. so in that example above? it would range from 0 to 100. π
Then the PDF files that ctioga2 spits out get converted by ImageMagick's convert and fed into an ffmpeg encoding pipe. pipeline? more like pipe-line. iconic. π₯
π OPTIONS π
-t,--targetFILE β the target video file, bestie. defaults to thectioga2file name you gave, except the suffix.ct2gets swapped out for.avi.--dirDIR β temporary directory for storage. put your lil files somewhere cute. π--versionβ prints the version ofct2-make-movie. that's it. that's the whole job. π-p,--[no-]pdftoppmβ usingpdftoppmto rasterize the PDF file instead ofconvertcan lead to very significant speed improvements, depending on your version ofgs. using this option enables the use ofpdftoppm. that said βconvertremains necessary for the processing, though. so don't go thinking you can ghostconvert, it's still showing up. π--page-sizeSIZE β every single page-size instruction in thectioga2command file gets ignored. using this option lets you set the target page size instead (in TeX dimensions). it's giving override. π--resolutionRES β set target resolution. (overridden to some extent bypage-size, jsyk π«Ά)--[no-]storeβ when this is on (and it's on by default),ct2-make-moviegives a different name to every generated PDF file. handy for seeing what actually happened! but also it can take up quite a lot of disk space too, soβ¦ choices. when this option is disabled, the same PDF file just gets rewritten over and over again. one file, infinite glow-ups. π-b,--bitrateRATE β bitrate (indicative). passed directly toffmpeg. no notes. β--codecCODEC β target codec. pick your fighter. π--ffmpeg-argsARGS β extraffmpegargs. go off, add whatever. π
π SEE ALSO π
convert(1), pdftoppm(1), ffmpeg(1), ctioga2(1)
and that's the whole page, bestie!! this was ct2-make-movie version 0.0, dated February 2014 β yes it's a lil vintage, and yes it still ate. now go make a movie, you absolute legend πβ¨π¬
π¦ where this page comes from
- debian bookworm: ctioga2 0.14.1-2
- ubuntu jammy: ctioga2 0.14.1-2
- ubuntu noble: ctioga2 0.14.1-2
- ubuntu resolute: ctioga2 0.14.1-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms