Advertisement
Guest User

Untitled

a guest
Jul 20th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. [Unit]
  2. Description=Set up loopback cameras
  3.  
  4. [Service]
  5. ExecStartPre=/sbin/modprobe v4l2loopback devices=3
  6. ExecStart=/usr/bin/ffmpeg -f video4linux2 -input_format yuv420p -video_size 1280x720 -i /dev/video0 -codec copy -f v4l2 /dev/video1 -codec copy -f v4l2 /dev/video2 -codec copy -f v4l2 /dev/video3
  7. Restart=always
  8. RestartSec=2
  9.  
  10. [Install]
  11. WantedBy=default.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement