Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 507 Bytes

mpv.md

File metadata and controls

19 lines (13 loc) · 507 Bytes

mpv

View camera input stream

To view the video feed from an attached video device, use:

mpv av://v4l2:<videodevice> --profile=low-latency --untimed

<videodevice> corresponds to the video device file, such as /dev/video0. Use of v4l2 requires that the Video 4 Linux userspace tools are available. (They probably already are.)

Stream motionjpeg from video device

mpv --demuxer-lavf-format=video4linux2 --demuxer-lavf-o-set=input_format=mjpeg av://v4l2:<videodevice>