ScheduleVideoFrame with Interlace?

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

legunatr

  • Posts: 3
  • Joined: Mon Nov 25, 2019 7:44 am
  • Real Name: Lee Gunaratna

ScheduleVideoFrame with Interlace?

PostThu Nov 28, 2019 9:40 am

Hello.

I examined codes in the sdk, but i cannot see any interlace setting.
Should scenarios interlace and progressive be the same?


My pseudo code for 50i:

EnableVideoOutput(1080 i50)
StartScheduledPlayback(FrameDuration, 1.0)
CreateVideoFrame(Height=1080)
ScheduleVideoFrame(Frame)

or maybe first split odd/even fields?

CreateVideoFrame(Height=540)
GetBytes
Paint odd fields to Field1 image
ScheduleVideoFrame(Field1)
Paint event fields to Field2 image
ScheduleVideoFrame(Field2)


I use ScheduleVideoFrame with 1080 i50 two method but always flickering.
Where i am doing wrong?

Thanks.
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 469
  • Joined: Mon Sep 04, 2017 4:05 am

Re: ScheduleVideoFrame with Interlace?

PostTue Dec 03, 2019 11:51 pm

Hi Lee,

The first method you have described is the correct method. It is expected that the frames provided in ScheduledVideoFrame are interlaced with correct field dominance, as determined by IDeckLinkDisplayMode::GetFieldDominance() method for the output display mode.

Regards
Cameron

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 44 guests