bmdtools
bmdtools copied to clipboard
When no signal from input use image from file instead of color bars
Nice work with bmdtools. Not as a bug tracker but feature request: Signal detection works quite nicely with basic decklink card and SDI signaling. It would be nice addition to color bars to load image from file and even update it if file is changed. One could create info screens without any graphics generator from SDI when signal is lost or just shutdown between some events.
It is already in the wishlist. Some additional changes are going to happen soon before that.
Hi, I have some code on a project of mine I can modify and push here to meet your request - just have a couple of questions:
- My code works with JPEG encode & decode but would you prefer PNG? I think PNG would be better but don't want to unnecessarily bloat the project.
- Live update/swapping a file from disk may cause a bit of a hiccup in frame rate - I was planning on just loading from disk to memory on startup, would that be OK for now?
- Eventually I'm wanting to do some basic compositing, I may have an option for baked text timecode on the frame. Is this something users would be interested in?
- Libav can decode both jpeg and png, my plan was to simply take an input and then repeat the nth frame as needed. The boring part is just to write down that code.
- I think so.
- bake as in write the timestamp on the captured frame? I have in my todo list do have directly drawtext take care of it ^^.
- I suppose its just setting up different swscale contexts for different specified file types - just large chunks of setting up that pipeline. No problem.
- I'll do that for now. For "live" I was thinking check filesize or checksum the file every few seconds, every frame is probably overkill.
- Haven't used drawtext before - or libavfilter for that matter - nice!
- It is not enough, but if you can get to that point I can just to the other part to complete it =)
- Indeed
- I'm thinking more about that part and might end up being interesting =)