Skip to content

Instantly share code, notes, and snippets.

@taesiri
Created November 10, 2017 09:58
Show Gist options
  • Save taesiri/2ca10bcb3d3fe5e0ad16e0a7c249d1b6 to your computer and use it in GitHub Desktop.
Save taesiri/2ca10bcb3d3fe5e0ad16e0a7c249d1b6 to your computer and use it in GitHub Desktop.
ffmpeg + v4l2
ffmpeg -f x11grab -r 60 -s 800x600 -i :1 -c:v rawvideo -pix_fmt bgr24 -f v4l2 /dev/video0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment