0

I have connected the monitor to the pi via HDMI. I would like to figure out a way to get a live video playing on the monitor. ( not over a network) I know there is a answer for this question here.

https://raspberrypi.stackexchange.com/questions/57841/watch-live-video-through-hdmi-on-rpi?noredirect=1&lq=1

But in my case i am using USB camera module,not the pi camera. kindly suggest.

navs
  • 57
  • 1
  • 3
  • 9

1 Answers1

2

If you have VLC installed (if you don't, it can be installed with sudo apt-get install vlc) and an X server running, you can run

vlc v4l2:// :v4l2-dev=/dev/video0

to see live video from the camera.

You can also use parameters from here to change video settings like this:

vlc v4l2:// :v4l2-dev=/dev/video0 :v4l2-width=640 :v4l2-height=480
Evan Chen
  • 146
  • 2