Skip to content

Instantly share code, notes, and snippets.

@esonderegger
Created August 19, 2018 22:53
Show Gist options
  • Save esonderegger/6bf178ce46a481ecbe8ca131344b2509 to your computer and use it in GitHub Desktop.
Save esonderegger/6bf178ce46a481ecbe8ca131344b2509 to your computer and use it in GitHub Desktop.
Blackmagic webcam
# still has buffer overrun issues
pactl load-module module-pipe-source source_name=virtmic file=/home/evan/nullaudio/virtmic format=s16le rate=48000 channels=1
sudo modprobe v4l2loopback
./ffmpeg -y -format_code hp59 -f decklink -i 'DeckLink SDI' \
-vn -f s16le -ar 48000 -ac 1 /home/evan/nullaudio/virtmic \
-pix_fmt yuv420p -s 1280x720 -r 60000/1001 -timestamps abs -f v4l2 /dev/video0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment