Open Webcam in Ubuntu
having desktop with ubuntu is tricky when you add external camera and want to open the camera; there is no dedicated camera application in-built in ubuntu so here is how we can open camera
install ffmpeg
install ffmpeg package
sudo apt install ffmpeg
or
sudo snap install ffmpeg
open camera using ffplay command
ffplay /dev/video0