CAM2IP(1)

πŸ’– CAM2IP πŸ’–

okay so bestie, welcome to cam2ip β€” it's a User Commands girlie and she's here to serve. πŸŽ€


✨ NAME ✨

cam2ip β€” turn any webcam into an IP camera πŸ“Έβž‘οΈπŸŒ

like, any webcam. the one in your laptop. the dusty one in a drawer. she doesn't judge. πŸ‘‘


🌸 DESCRIPTION 🌸

πŸ¦‹ Usage of cam2ip: πŸ¦‹

here's the whole squad of flags, no gatekeeping, we're listing every single one because that's what besties do πŸ’…

  • -bind-addr string β€” the bind address, aka where she parks herself to listen. you can also set it with the env var [CAM2IP_BIND_ADDR]. default is ":56000". πŸšͺ
  • -delay int β€” the delay between frames, measured in milliseconds. yep, milliseconds, so don't go typing seconds in there and wondering why it's giving chaos. you can also set it with [CAM2IP_DELAY]. default is 10. ⏱️
  • -height float β€” frame height. she's a float, not an int, don't @ me. also settable via [CAM2IP_HEIGHT]. default is 480. πŸ“
  • -htpasswd-file string β€” path to the htpasswd file. and here's the tea: if this is empty, auth is straight-up disabled. so if you leave it blank, anyone can walk in like they own the place. πŸ™ˆ you can also set it with [CAM2IP_HTPASSWD_FILE]. πŸ”
  • -index int β€” the camera index, for when you've got multiple cameras and need to point at the right one. settable via [CAM2IP_INDEX]. no default listed, so it is what it is. πŸŽ₯
  • -nowebgl β€” disable WebGL drawing of images (this is the html handler's whole thing). settable via [CAM2IP_NOWEBGL]. πŸ–ΌοΈ
  • -rotate int β€” rotate the image. valid values are only 90, 180, and 270 β€” so don't come in here with a 45, that's not a vibe she supports. settable via [CAM2IP_ROTATE]. πŸ”„
  • -timestamp β€” draws a timestamp on the images, so you always know when that frame happened. settable via [CAM2IP_TIMESTAMP]. πŸ•°οΈ
  • -width float β€” frame width. also a float, stay consistent bestie. settable via [CAM2IP_WIDTH]. default is 640. πŸ“
ngl, every single one of these has an environment-variable twin in the square brackets, so you can flex via env vars instead of flags if that's your main character energy. 🌈

that's the whole page, you ate it, go stream your webcam to the internet responsibly πŸ’œ

this was CAM2IP, from January 2024 β€” signing off, mwah 🫢✨

πŸ“¦ where this page comes from