PINE64
Which application can I use to test webcam? - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: Pinebook Pro (https://forum.pine64.org/forumdisplay.php?fid=111)
+--- Forum: Pinebook Pro Hardware and Accessories (https://forum.pine64.org/forumdisplay.php?fid=116)
+--- Thread: Which application can I use to test webcam? (/showthread.php?tid=8263)



Which application can I use to test webcam? - richfm - 11-09-2019

I want to test the webcam to see if it works but have tried many applications without success. I've installed ekiga, guvcview, xawtv, cheese, webcam and webcamoid, kamoso, and akqml, all with synaptic. Some didn't run with error messages, some ran but needed a USB cam, none accessed the built-in webcam. Which application have others installed to use the webcam and how did you install it?


RE: Which application can I use to test webcam? - electriccrowbar - 11-09-2019

(11-09-2019, 10:03 AM)richfm Wrote: I want to test the webcam to see if it works but have tried many applications without success. I've installed ekiga, guvcview, xawtv, cheese, webcam and webcamoid, kamoso, and akqml, all with synaptic. Some didn't run with error messages, some ran but needed a USB cam, none accessed the built-in webcam. Which application have others installed to use the webcam and how did you install it?


I just tried Firefox and Chrome on stock Debian and neither worked when sites tried to access the camera. However Cheese did work-ish.

[Image: attachment.php?aid=1476]

It was very slow, under 1 frame per second but I was able to take pictures. There were some warnings in stdout as well

Code:
(cheese:2724): cheese-WARNING **: A lot of buffers are being dropped.: gstbasesink.c(2834): gst_base_sink_is_too_late (): /GstCameraBin:camerabin/GstViewfinderBin:vf-bin/ClutterGstVideoSink:cluttergstvideosink0:
There may be a timestamping problem, or this computer is too slow.



RE: Which application can I use to test webcam? - Der Geist der Maschine - 11-10-2019

(11-09-2019, 10:03 AM)richfm Wrote: I want to test the webcam to see if it works but have tried many applications without success. I've installed ekiga, guvcview, xawtv, cheese, webcam and webcamoid, kamoso, and akqml, all with synaptic. Some didn't run with error messages, some ran but needed a USB cam, none accessed the built-in webcam. Which application have others installed to use the webcam and how did you install it?

Have you tried preinstalled programs, say ffmpeg or smplayer? They work for me out of the box just by pointing them to /dev/video0

$ smplayer /dev/video0 
$ ffplay /dev/video0

(11-09-2019, 12:01 PM)electriccrowbar Wrote: However Cheese did work-ish. It was very slow, under 1 frame per second.
With ffmpeg, I get 6.8 fps.


RE: Which application can I use to test webcam? - richfm - 11-10-2019

(11-10-2019, 02:23 AM)Der Geist der Maschine Wrote:
(11-09-2019, 10:03 AM)richfm Wrote: I want to test the webcam to see if it works but have tried many applications without success. I've installed ekiga, guvcview, xawtv, cheese, webcam and webcamoid, kamoso, and akqml, all with synaptic. Some didn't run with error messages, some ran but needed a USB cam, none accessed the built-in webcam. Which application have others installed to use the webcam and how did you install it?

Have you tried preinstalled programs, say ffmpeg or smplayer? They work for me out of the box just by pointing them to /dev/video0

$ smplayer /dev/video0 
$ ffplay /dev/video0

(11-09-2019, 12:01 PM)electriccrowbar Wrote: However Cheese did work-ish. It was very slow, under 1 frame per second.
With ffmpeg, I get 6.8 fps.
Thanks for your reply. smplayer /dev/video0 worked and cheese worked but both were choppy. ffplay /dev/video0 crashed with a core dump. Any suggestions for getting  ffplay /dev/video0  working? At least I know the webcam works!


RE: Which application can I use to test webcam? - xalius - 11-10-2019

I use VLC and just went with "Open Capture Device..."


RE: Which application can I use to test webcam? - hmuller - 11-10-2019

I tested mine with:


Code:
$ mplayer tv://



RE: Which application can I use to test webcam? - richfm - 11-12-2019

(11-10-2019, 09:52 PM)hmuller Wrote: I tested mine with:


Code:
$ mplayer tv://

Thanks everyone for your help.


RE: Which application can I use to test webcam? - MrTester - 11-15-2019

Just used Microsoft teams Video call via Chromium. Success, looks good!