Skip to content

Running the Picamera video feed

Connor Whalen edited this page Apr 1, 2017 · 4 revisions

This page details the process for viewing the Picamera video feeds via mpv.

TL;DR

  1. Start the mpv process on the topside (the trailing - is important and not a typo):

     nc -l 12345 | mpv --osd-level=0 --no-osc --no-cache --no-correct-pts \
         --hwdec=vdpau --vo=vdpau \
         --demuxer-readahead-secs=0 --demuxer-lavf-probescore=1 --demuxer-lavf-buffersize=1 \
         --fps=48 \
         --title=ROV -
    
  2. Log into a Pi (e.g. sshpass -p raspberry ssh pi@$ip) and pipe raspivid through nc:

     raspivid -t 0 -w 1296 -h 720 -fps 24 -o - | nc 192.168.88.2 12345
    
  3. ???

  4. Profit

Clone this wiki locally