Created
September 19, 2017 09:33
-
-
Save vpalmisano/481958e8e4df3b602c507729f0186ec1 to your computer and use it in GitHub Desktop.
Blackmagic v4l loopback
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
#!/bin/sh | |
modprobe v4l2loopback exclusive_caps=1 | |
modprobe snd_aloop | |
GST_DEBUG=3,*decklink*:4 gst-launch-1.0 -tv \ | |
decklinkvideosrc connection=hdmi \ | |
! videoconvert ! videoscale ! videorate \ | |
! video/x-raw,width=1920,height=1080,framerate=25/1,format=UYVY \ | |
! v4l2sink device=/dev/video0 sync=0 \ | |
decklinkaudiosrc ! audioconvert ! audiorate ! audioresample ! alsasink device="hw:1,1" sync=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment