Last active
November 29, 2022 12:35
-
-
Save ashrafuzzaman/d16a4f3d66f9090447624e1072458f92 to your computer and use it in GitHub Desktop.
Camlink 4k in Ubuntu 20.04`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reference | |
1. https://askubuntu.com/questions/1356207/cam-link-4k-was-working-but-now-it-isnt | |
2. https://askubuntu.com/questions/1245212/how-do-i-automatically-run-modprobe-v4l2loopback-on-boot | |
$ sudo echo "modprobe v4l2loopback max_buffers=2 devices=1 exclusive_caps=1" >> /etc/modules-load.d/v4l2loopback.conf | |
$ ffmpeg -f v4l2 -framerate 50 -pix_fmt yuyv422 -video_size 1920x1080 -i /dev/video1 -f v4l2 -vcodec rawvideo -pix_fmt yuv420p /dev/video0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment