Hacker Poesy
  • FAQ
  • Login
  • Public

    • Public
    • Groups
    • Recent tags
    • Popular
    • Directory

Conversation:

Notices

  1. MMN-o ✅⃠ (mmn)'s status on Sunday, 27-Mar-2016 09:29:45 EDT MMN-o ✅⃠ MMN-o ✅⃠
    Remote profile options...
    • qber
    @qber Nah, what the command does is take the video4linux2 source /dev/video0, encode it with webm format defaults and output to STDOUT ("-"). Then it pipes that output ("|") to mplayer which reads from STDIN ("-" again). So you don't need an X connection on the remote server, as what you're getting is the raw webm-formatted video data. (-C could be usable though, but I…
    Sunday, 27-Mar-2016 09:29:45 EDT from social.umeahackerspace.se permalink

    Attachments

    1. mmn-20160327-ostatus-ydgv.html
    • MMN-o ✅⃠ (mmn)'s status on Saturday, 26-Mar-2016 19:42:26 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • qber
      Also this (or variants thereof, like piping to ffplay instead): $ ssh remotehost.example -- 'ffmpeg -i /dev/video0 -f webm -' | mplayer -

      Easy, secure streaming of remote computer's webcam. If you're running a relatively new version of #ffmpeg you might want to add -c:v libvpx (because it otherwise encodes with the currently-awfully-slow vp9 codec).
      Saturday, 26-Mar-2016 19:42:26 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Sunday, 27-Mar-2016 09:31:05 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • qber
      @qber That is, ffmpeg runs on the remote server _encoding_ and mplayer (which I prefer to use) runs on the local machine _decoding_.
      Sunday, 27-Mar-2016 09:31:05 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Sunday, 27-Mar-2016 09:35:18 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      • qber
      @qber Remember you can also use '-f x11grab -i :0.0' to cast the screen with ffmpeg, instead of the webcam ;)
      Not sure which commands to use for wayland though, but I guess there's something neat available.
      Sunday, 27-Mar-2016 09:35:18 EDT permalink
    • MMN-o ✅⃠ (mmn)'s status on Sunday, 27-Mar-2016 09:42:00 EDT MMN-o ✅⃠ MMN-o ✅⃠
      Remote profile options...
      x11grab works just fine for Wayland too! I just failed in my tests because I didn't check the $DISPLAY environment variable :)
      Sunday, 27-Mar-2016 09:42:00 EDT permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • Privacy
  • Source
  • Version
  • Contact

Hacker Poesy is a GNU social hub. It runs version 1.1.3-beta3, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All Hacker Poesy content and data are available under the Creative Commons Attribution 3.0 license.

Switch to mobile site layout.