Created
April 11, 2021 21:39
-
-
Save DaniruKun/186d20d2604e7c79fc9aa4342507d478 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
#!/bin/sh | |
# Capture video from a UVC compliant webcam in a specific format and playback using ffplay | |
ffplay -f avfoundation \ | |
-video_size 1920x1080 \ | |
-framerate 30 \ | |
-probesize 21M \ | |
-pixel_format nv12 \ | |
-i "H264:none" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment