Created
May 10, 2020 07:19
-
-
Save Laurian/b814acc62e1a05b1b16c3636dac7a6fd to your computer and use it in GitHub Desktop.
ffmpeg + mpv (@slifty iMac webcam to mini display port)
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
ffmpeg -f avfoundation -i "2" -f avi - | mpv - --screen=1 | |
ffmpeg -f avfoundation -i "2:none" -vcodec libx264 -preset ultrafast -tune zerolatency -pix_fmt yuv422p -f mpegts - | mpv - --fs --screen=1 | |
ffmpeg -f avfoundation -i "2:none" -vcodec libx264 -fflags nobuffer -qp:v 26 -bf 0 -tune zerolatency -pix_fmt yuv422p -f mpegts - | mpv - demuxer-lavf-o-add=fflags=+nobuffer --fs --screen=1 --no-cache --untimed --no-demuxer-thread --video-sync=audio --vd-lavc-threads=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment