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)

Pages: 1 2


Which application can I use to test webcam? - tophneal - 01-31-2020

Camera works great in manjaro. I’ve tested with cheese. Didn’t count frame rate, but visually it was per decent.


RE: Which application can I use to test webcam? - as400 - 02-13-2020

It can also be tested with mpv with different settings. Although I think we all have same cameras it's worth to take a look at what it offers:


Code:
v4l2-ctl --list-formats-ext -d /dev/video3
ioctl: VIDIOC_ENUM_FMT
       Type: Video Capture

       [0]: 'YUYV' (YUYV 4:2:2)
               Size: Discrete 1280x720
                       Interval: Discrete 0.100s (10.000 fps)
                       Interval: Discrete 0.200s (5.000 fps)
               Size: Discrete 1600x1200
                       Interval: Discrete 0.050s (20.000 fps)
                       Interval: Discrete 0.067s (15.000 fps)
               Size: Discrete 640x480
                       Interval: Discrete 0.050s (20.000 fps)
                       Interval: Discrete 0.067s (15.000 fps)
                       Interval: Discrete 0.100s (10.000 fps)
                       Interval: Discrete 0.200s (5.000 fps)
               Size: Discrete 320x240
                       Interval: Discrete 0.050s (20.000 fps)
                       Interval: Discrete 0.067s (15.000 fps)
                       Interval: Discrete 0.100s (10.000 fps)
                       Interval: Discrete 0.200s (5.000 fps)
               Size: Discrete 800x600
                       Interval: Discrete 0.100s (10.000 fps)
                       Interval: Discrete 0.200s (5.000 fps)


And then experiment with some settings. It's actually not that bad unless you are David Attenborough Smile

For me - the best results are with following settings (--profile=low-latency is important).


Code:
mpv --demuxer-lavf-o=video_size=640x480:famerate=20 av://v4l2:/dev/video3 --profile=low-latency