- Posts: 3
- Joined: Fri Oct 12, 2012 12:50 am
Hello
I'm trying to perform a streaming playback from a video file (.mov) using a Decklink Extreme HD card. Can anyone confirm if steps mentioned in SDK documentation are really necessary to achieve this task.
-----------------------------------------------------------------------------------------------
Playback
An application performing a standard streaming playback operation should perform the following steps:
• IDeckLinkOutput::DoesSupportVideoMode to check if the combination of the video mode and
pixel format is supported.
• IDeckLinkOutput::EnableVideoOutput
• IDeckLinkOutput::EnableAudioOutput
• IDeckLinkOutput::SetScheduledFrameCompletionCallback
• IDeckLinkOutput::SetAudioCallback
• IDeckLinkOutput::BeginAudioPreroll
• While more frames or audio need to be pre-rolled:
- IDeckLinkOutput::ScheduleVideoFrame
- Return audio data from IDeckLinkAudioOutputCallback::RenderAudioSamples
- When audio preroll is complete, call IDeckLinkOutput::EndAudioPreroll
• IDeckLinkOutput::StartScheduledPlayback
• While playback is running:
- Schedule more video frames from IDeckLinkVideoOutputCallback::ScheduledFrameCompleted
- Schedule more audio from IDeckLinkAudioOutputCallback::RenderAudioSamples
If audio is not required, the call to IDeckLinkOutput::EnableAudioOutput, IDeckLinkOutput::SetAudioCallback and IDeckLinkOutput::BeginAudioPreroll may be omitted.
If pre-roll is not required initial IDeckLinkOutput::ScheduleVideoFrame calls and the call to IDeckLinkOutput::BeginAudioPreroll and IDeckLinkOutput::EndAudioPreroll may be omitted.
------------------------------------------------------------------------------------------
Or if DecklinkPlayback sample project is appropiate to achieve this task.
Or if anyone can mention any other method.
Thanks in advance.
I'm trying to perform a streaming playback from a video file (.mov) using a Decklink Extreme HD card. Can anyone confirm if steps mentioned in SDK documentation are really necessary to achieve this task.
-----------------------------------------------------------------------------------------------
Playback
An application performing a standard streaming playback operation should perform the following steps:
• IDeckLinkOutput::DoesSupportVideoMode to check if the combination of the video mode and
pixel format is supported.
• IDeckLinkOutput::EnableVideoOutput
• IDeckLinkOutput::EnableAudioOutput
• IDeckLinkOutput::SetScheduledFrameCompletionCallback
• IDeckLinkOutput::SetAudioCallback
• IDeckLinkOutput::BeginAudioPreroll
• While more frames or audio need to be pre-rolled:
- IDeckLinkOutput::ScheduleVideoFrame
- Return audio data from IDeckLinkAudioOutputCallback::RenderAudioSamples
- When audio preroll is complete, call IDeckLinkOutput::EndAudioPreroll
• IDeckLinkOutput::StartScheduledPlayback
• While playback is running:
- Schedule more video frames from IDeckLinkVideoOutputCallback::ScheduledFrameCompleted
- Schedule more audio from IDeckLinkAudioOutputCallback::RenderAudioSamples
If audio is not required, the call to IDeckLinkOutput::EnableAudioOutput, IDeckLinkOutput::SetAudioCallback and IDeckLinkOutput::BeginAudioPreroll may be omitted.
If pre-roll is not required initial IDeckLinkOutput::ScheduleVideoFrame calls and the call to IDeckLinkOutput::BeginAudioPreroll and IDeckLinkOutput::EndAudioPreroll may be omitted.
------------------------------------------------------------------------------------------
Or if DecklinkPlayback sample project is appropiate to achieve this task.
Or if anyone can mention any other method.
Thanks in advance.