USTREAMER-DUMP(1)

πŸ’– USTREAMER-DUMP(1) β€” the manual page, but make it make sense πŸ’–

okay bestie, gather round, because we're talking about ustreamer-dump, a lil general commands manual page and honestly? she's serving utility. πŸŽ€

✨ NAME ✨

ustreamer-dump β€” dump uStreamer's memory sink to a file, no cap


πŸ¦‹ SYNOPSIS πŸ¦‹

ustreamer-dump [OPTIONS]

🌸 DESCRIPTION 🌸

Β΅Streamer-dump (aka ustreamer-dump) takes a local stream from ustreamer and writes it to a file, OR redirects it off to other utilities (like ffmpeg, our beloved). it's giving pipeline princess. πŸ’…


πŸ‘‘ USAGE πŸ‘‘

ustreamer needs at least the --sink option to operate, periodt. that's the bare minimum, she can't function without it.

so say you wanna output ustreamer's sink test to ffmpeg, and also into a file called test.mp4. here's the moment:

ustreamer-dump \
       --sink=test \ # Use ustreamer sink "test"
       --output - \ # Output to stdout
       | ffmpeg -use_wallclock_as_timestamps 1 -i pipe: -c:v libx264 test.mp4

see how it just pipes straight through? iconic. πŸ”₯


⭐ OPTIONS ⭐

🧚 Sink options

  • -s, --sink name β€” the Memory sink ID. no default, so you gotta provide it. no default bestie, i said what i said.
  • -t, --sink-timeout sec β€” how long to wait for the upcoming frame. Default: 1.
  • -o, --output filename β€” the filename to dump output to. Use '-' for stdout. Default: it just consumes the sink (no output file, just vibes).
  • -j, --output-json β€” format the output as JSON. this one requires the --output option, don't forget. Default: disabled.
  • -c, --count N β€” limit the number of frames. Default: 0 (which means infinite, we go forever).
  • -i, --interval sec β€” delay between reading frames, and yes it's a float. Default: 0.
  • -k, --key-required β€” request a keyframe from the sink. Default: disabled.

🌈 Logging options

  • --log-level N β€” verbosity level of messages, from 0 (info) to 3 (debug). heads up: enabling debugging messages can slow down the program. available levels: 0 (info), 1 (performance), 2 (verbose), 3 (debug). Default: 0.
  • --perf β€” enable performance messages (same as --log-level=1). Default: disabled.
  • --verbose β€” enable verbose messages and lower (same as --log-level=2). Default: disabled.
  • --debug β€” enable debug messages and lower (same as --log-level=3). Default: disabled.
  • --force-log-colors β€” force color logging. Default: colored if stderr is a TTY.
  • --no-log-colors β€” disable color logging. Default: ditto (same as above, bestie).

🫢 Help options

  • -h, --help β€” print this text and exit. the classic.
  • -v, --version β€” print version and exit.

πŸ’œ SEE ALSO πŸ’œ

ustreamer(1) β€” go read that one too, iykyk


πŸ’€ BUGS πŸ’€

found a bug? an issue? something acting up? please file any bugs and issues at https://github.com/pikvm/ustreamer/issues β€” the devs will love you for it. 🫢


πŸŽ€ AUTHOR πŸŽ€

Maxim Devaev <mdevaev@gmail.com> β€” the mastermind, the main character. πŸ‘‘


🌟 HOMEPAGE 🌟

https://pikvm.org/


GNU General Public License v3.0


and that's the whole page, bestie. no detail left behind, every flag accounted for, we ate and left no crumbs. πŸ“

okay so this manual page is dated January 2021 and it's version 6.12 β€” signing off, mwah πŸ’…βœ¨

πŸ“¦ where this page comes from