JACK-STDOUT(1)
π JACK-STDOUT β write JACK audio data to stdout π
okay bestie, so jack-stdout is a page from the General Commands Manual (section 1, the cool one) and honestly? it's giving legendary. she grabs audio out of JACK and yeets it straight to standard output. that's it. that's the whole vibe. let's get into it π
β¨ NAME β¨
jack-stdout β write JACK audio data to stdout
π¦ SYNOPSIS π¦
jack-stdout [OPTIONS] port1 [ port2 ...]
πΈ DESCRIPTION πΈ
so like, jack-stdout captures audio from JACK and writes raw data to standard-output. simple as that. slay π
the number of ports you hand her determines the number of audio channels that get used. and if you give her more than one channel? the audio-sample data will be interleaved. yes bestie, interleaved, she's fancy like that β¨
π OPTIONS π
-b,--bitdepth BITSβ tell her the bit-depth of each sample. for integer-encoding this can be16or24. the default is16. ngl this setting is only used for integer encoding: floating-point samples will always be 32 bit wide. no exceptions, she said what she said π-d,--duration SECβ set how longjack-stdoutshould run, in seconds. a value less than1means run indefinitely. the default is0. (so yeah, by default she's immortal π§)-e,--encoding FORMATβ set the output format of the data:signed-integer,unsigned-integer,floating-point(default:signed)-n,--name CLIENTNAMEβ set the JACK client name (default:jstdout)-h,--helpβ print a brief usage information. she'll tell you the basics real quick π«Ά-L,--little-endianβ write little-endian data or native-byte-order float (this is the default, so she's already on that energy)-B,--big-endianβ output big-endian data or swap the byte-order of floating-point. flip it, reverse it π₯-q,--quietβ inhibit usual output. this affects information and buffer-overflow warnings but not setup-errors. so she goes quiet but she's still gonna yell if something's genuinely wrong π-S,--bufsize SAMPLESβ choose the internal buffer-size in samples. the default size is65536. the given value will be multiplied by the number of channels and bit-depth to get the size of the ring-buffer. math! she's doing math! π
π EXAMPLES π
okay these are the real ones, copy them exactly, character for character, because she does not play about her syntax π
jack-stdout xmms_0:out_1 xmms_0:out_2 \
| mono ~/Desktop/Downloads/JustePort.exe - 10.0.1.6 0
jack-stdout -b 24 -e unsigned -B system:capture_1 system:capture_2 \
| sox -t raw -r 48k -e unsigned -b 24 -B -c 2 - /tmp/recording.wav
jack-stdout system:capture_1 system:capture_2 \
| oggenc -r -R 48000 -B 16 -C 2 - \
> /tmp/recording.ogg
jack-stdout system:capture_1 \
| oggenc -r -R 48000 -B 16 -C 1 - \
| oggfwd -p -n "my live stream" localhost 5900 hackme live.ogg
like, she's piping into mono, she's piping into sox, she's piping into oggenc and then straight into oggfwd for a live stream?? main character energy fr fr π
π AUTHOR π
Robin Gareus <robin@gareus.org>. we love her, we thank her, periodt π
π SEE ALSO π
iykyk π
and that's the whole page bestie!! this was JACK-STDOUT(1) from the General Commands Manual, last touched 21 February 2019 β go forth and pipe some audio, you absolute icon π
β¨π¦
π¦ where this page comes from
- arch rolling: jack-stdio 1.6-3 Β· GPL2
- debian trixie: jack-stdio 1.6-1 Β· GPL-2.0-or-later
- ubuntu noble: jack-stdio 1.6-1 Β· GPL-2.0-or-later
- ubuntu questing: jack-stdio 1.6-1
- ubuntu resolute: jack-stdio 1.6-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: jack-stdio 1.6-2 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms