Login
You're viewing the y.diskcat.com public feed.
  • Oct 31, 2026, 11:34 AM

    Duck duck fedi, please help me avoid the mix of old information and slop

    I have a USB camera
    I have a headless Debian Linux computer
    I want to quickly and temporarily watch the camera over the network on my phone and/or laptop
    Running a command in tmux is fine for this situation, I don't need a full fat surveillance system

    How do?

    💬 1🔄 1⭐ 2

Replies

  • 💬 0🔄 0⭐ 0
  • Oct 31, 2026, 1:30 PM

    @M0YNG Here are some ffmpeg commands from my DVB-S2X days, perhaps you'll find them useful:

    Transmit side:

    ffmpeg -s 640x480 -f video4linux2 -i /dev/video0 -f pulse -i default -vcodec libx265 -slices 4 -thread_type +slice+frame -x265-params "keyint=10:repeat-headers=1" -preset ultrafast -tune zerolatency -bufsize:v 1k -b:v 700k -maxrate:v 700k -r 20 -f s16le -ar 48000 -ac 1 -acodec libopus -async 1 -bufsize:a 1k -b:a 10k -f mpegts -muxrate 889000.0 udp://127.0.0.1:48550

    💬 1🔄 1⭐ 0
  • Oct 31, 2026, 1:31 PM

    @M0YNG Receive side:

    ffplay -fflags nobuffer -probesize 32 -sync video udp://127.0.0.1:48550

    💬 0🔄 1⭐ 1