save to mkv ~10mbps

  • raspivid -hf -vf -t 0 -b 10000000 -o - | ffmpeg -i - -vcodec copy test.mkv

explanation

Raspvid

  • -hf flip horizontal
  • -vf flip vertical
  • -t 0 indefinetly
  • -b 10000000 10mbps bitrate
  • -o -output to ffmpeg

ffmpeg

  • -i - reads from raspivid
  • -vcodec copy simple copying of video data
  • test.mkv file name and the output matroska format
Easily deploy an SSD cloud server on @DigitalOcean in 55 seconds. Sign up using my link and receive $10 in credit
Proudly published with Ghost | Theme based on Draugur | Header Image by GUWEIZ@DeviantArt
Creative Commons Licence