Skip to content

Very simple example of how to show webcam with sdl on linux. I forked this from djtrance/webcam_viewer and split the SDL rendering part away from the camera capture part in order to be able to use the camera capture part with something other than SDL, eventually.

Notifications You must be signed in to change notification settings

smcameron/webcam_viewer

 
 

Repository files navigation

webcam_viewer

very simple example of how to show webcam with sdl on linux

1.- the first time you need to run this command:

./install_dependency.sh

2.- to build the program use

make

Command to check the formats from the camera

v4l2-ctl --list-formats

About

Very simple example of how to show webcam with sdl on linux. I forked this from djtrance/webcam_viewer and split the SDL rendering part away from the camera capture part in order to be able to use the camera capture part with something other than SDL, eventually.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 97.9%
  • Makefile 1.5%
  • Shell 0.6%