Skip to content

Timecode out of sync with FrameOutputNumber #74

@BlueprintBen

Description

@BlueprintBen

I'm using Decklink input with the hopes of having a timecode associated with each incoming frame. Unfortunately it appears that the timecode is updated on a different thread than the frames themselves, and as a result, within many Update() ticks the OutputFrameNumber has increased but the timecode remains the same, or the timecode has increased but the OutputFrameNumber remains the same. This makes it very difficult to assign a timecode to a particular frame.

  • Unity version: 2020.4.43f1
  • AVPro DeckLink version: 1.9.7
  • Operating system version: Windows 11
  • Hardware model: Decklink Studio 8K Pro
  • Cables used: SDI
  • Desktop Video version: 12.7
  • Video mode (resolution, frame-rate, pixel-format): 1920x1080, 30fps,10bit YUV422

Steps to reproduce the behavior:
Create a blank project with the AVPro Decklink Plugin and a script like this one, which, in Update() checks if either the Timecode or the OutputFrameNumber for a DecklinkInput has updated, and if so, prints a message if one field has changed but the other has not.

Here's an example of a log file produced based on the repro steps.

Am I doing something wrong? Is there a way to acquire the timecode specifically associated with the frame that is avilable as OutputTexture at a given time?

(edit: I'm hoping for Ancillary Data to also be synchronizable)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions