Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Post History

66%
+2 −0
Q&A With a V4L2-compatible webcam, how to see its video feed for the purpose of adjusting aiming?

I routinely use MPV for that. mpv --profile=low-latency --untimed av://v4l2:/dev/video0 You may need to try other devices, as listed by ls /dev/video*. Thanks to Canina for suggesting the two ...

posted 2y ago by Quasímodo‭  ·  edited 2y ago by Quasímodo‭

Answer
#2: Post edited by user avatar Quasímodo‭ · 2021-09-02T18:03:51Z (over 2 years ago)
  • I routinely use MPV for that.
  • mpv av://v4l2:/dev/video0
  • You may need to try other devices, as listed by `ls /dev/video*`.
  • I routinely use **MPV** for that.
  • mpv --profile=low-latency --untimed av://v4l2:/dev/video0
  • You may need to try other devices, as listed by `ls /dev/video*`.
  • Thanks to Canina for suggesting the two --options, necessary to avoid latency.
  • I also found [Arch Linux: Webcam setup: Applications](https://wiki.archlinux.org/title/Webcam_setup#Applications), which lists several alternatives, such as **Xawtv**, **VLC** and **Mplayer**. [**Ffmpeg**](https://wiki.archlinux.org/title/FFmpeg#Recording_webcam) is also listed there, but it does not fit the requirements of this question because apparently it cannot display the feed at the same time it records.
#1: Initial revision by user avatar Quasímodo‭ · 2021-08-28T18:56:16Z (over 2 years ago)
I routinely use MPV for that.

    mpv av://v4l2:/dev/video0

You may need to try other devices, as listed by `ls /dev/video*`.