Comments (4)
You can probably do this via the SDK regardless of OS. Using BMDIdleVideoOutputOperation (bmdDeckLinkConfigVideoOutputIdleOperation).
from bmdtools.
Thanks for the suggestion. I was thinking this was something in the SDK as well. I think that's actually referring to something else though. I haven't had a chance to test it but I believe bmdcapture is actually making its own bars. If you look here: https://github.com/lu-zero/bmdtools/blob/master/bmdcapture.cpp#L384-L395 you'll notice it makes a bars array and then iterates over the video frame size. The one thing I can't figure out is it iterates over every height by one but it seems like it skips every other width. I'm not a C++ programmer so I'm not sure why that is. It looks the variable p is a reference to frameBytes which perhaps is an array or some other structure I'm not familiar with. I'll do some experimenting though and see what I can figure out.
from bmdtools.
I can update it to do that, thanks for the idea =)
from bmdtools.
I appreciate it. I was able to figure out the black video pretty easily by just doing
for (int y = 0; y < height; y++) {
for (int x = 0; x < width; x += 2)
*p++ = 0x10801080;
}
(although if you just don't do anything it also appears to be black. What I couldn't figure out is how to show the last valid frame which is the ideal one for me. I tried assigning a reference to frameBytes and iterating forward and backward on the memory pointer to try and repeat but it always ended up being black. Thanks for your help on this.
from bmdtools.
Related Issues (20)
- bmdplay looses the time of buffering
- memlimit is ignored. HOT 2
- How to install libfdk-acc-dev ?
- bmdplay.cpp setting connections
- Makefile:58: recipe for target 'bmdcapture' failed HOT 3
- Segmentation Fault: 11 for bmdcapture
- Document how to build on windows HOT 2
- bmdplay interlace video format problem HOT 1
- AVCodecParameters HOT 1
- Multiple Concurrent Captures on Decklink Duo 2 fail on some interfaces HOT 2
- bmdplay 1080p25 problem HOT 2
- Multiple Captures on Single Interface HOT 6
- Can't get HDMI input to work. Colour bars only. HOT 2
- "This application requires the DeckLink drivers installed" error when running bmdcapture HOT 1
- bmdplay: Would it be possible to use streams without audio? HOT 9
- Question about multiple pipe with bmdplay HOT 1
- Make bmdplay pass input option
- Do not crash if the file does not exist
- Pause / Resume for Bmdplay HOT 3
- Is the input faster than realtime?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bmdtools.