Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When no signal from input use image from file instead of color bars #56

Open
lbsdude opened this issue Jun 12, 2015 · 5 comments
Open

Comments

@lbsdude
Copy link

lbsdude commented Jun 12, 2015

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.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/21701299-when-no-signal-from-input-use-image-from-file-instead-of-color-bars?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F256764&utm_medium=issues&utm_source=github).
@lu-zero
Copy link
Owner

lu-zero commented Jun 12, 2015

It is already in the wishlist. Some additional changes are going to happen soon before that.

@samgardner
Copy link

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:

  1. 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.
  2. 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?
  3. 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?

@lu-zero
Copy link
Owner

lu-zero commented Jun 17, 2015

  1. 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.
  2. I think so.
  3. bake as in write the timestamp on the captured frame? I have in my todo list do have directly drawtext take care of it ^^.

@samgardner
Copy link

  1. I suppose its just setting up different swscale contexts for different specified file types - just large chunks of setting up that pipeline. No problem.
  2. 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.
  3. Haven't used drawtext before - or libavfilter for that matter - nice!

@lu-zero
Copy link
Owner

lu-zero commented Jun 17, 2015

  1. It is not enough, but if you can get to that point I can just to the other part to complete it =)
  2. Indeed
  3. I'm thinking more about that part and might end up being interesting =)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants