- Notifications
You must be signed in to change notification settings - Fork72
Basic capture and play programs for Blackmagic Design Decklink
License
BSL-1.0 and 2 other licenses found
Licenses found
lu-zero/bmdtools
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Initially developed as an example integration between libavformat and thebmd sdk, it ended up being a set of useful tools to use the BlackMagic Devicesdecklink cards on Linux and macOS.
Thanks to TodoStreaming sponsoring its early development.
In order to build it just clone/unpack this on your Sample directory from theDeckLink SDK and then issue "make". If you haveLibav andpkg-config orpkgconf installed it will build fine.
Make sure you are using at least Libav10 otherwise it will not build.
You can build it out of the Sample tree by issuing
make SDK_PATH=/path/to/the/bmd/include
Should work out of box.
The tools do not build on Windows currently, supporting it would eitherrequire a working widl support in mingw64 or access to the native tools.
Patch and/or sponsorship welcome.
./bmdcapture -C 1 -m 2 -F nut -o strict=experimental:syncpoints=none -f pipe:1| avconv -vsync passthrough -y -i -<your options here>
-C select the capture device if more than one is present.
-F define the container format, I suggest using nut.
-f output file name, any libavformat compatible url is supported.
-m specific modeline, resolution+framerate
-o pass AVFormat AVOptions (expert)
NOTE: make sure you are processing frames capture in real time or beprepared to end up using all your memory quite quickly, HD raw datafills up memory quickly.
avconv -vsync 1 -i<source> -c:v rawvideo -pix_fmt uyvy422 -c:a pcm_s16le -ar 48000 -f nut -f_strict experimental -syncpoints none -| ./bmdplay -f pipe:0
NOTE: The default NUT syncpoint strategy uses additional memory and couldconsume more memory than expected.
The githubissue tracker canbe used to track bugs and feature requests.
You can directly contact me either at
lu_zero@gentoo.org orluca.barbato@luminem.it
Paid support is offered, contactinfo@luminem.it for details.
About
Basic capture and play programs for Blackmagic Design Decklink