13 #ifndef OPENSHOT_DECKLINK_WRITER_H 14 #define OPENSHOT_DECKLINK_WRITER_H 49 IDeckLinkDisplayModeIterator *displayModeIterator;
50 IDeckLinkOutput *deckLinkOutput;
51 IDeckLinkVideoConversion *m_deckLinkConverter;
52 pthread_mutex_t sleepMutex;
53 pthread_cond_t sleepCond;
54 IDeckLinkIterator *deckLinkIterator;
56 IDeckLinkDisplayMode *displayMode;
57 BMDVideoInputFlags inputFlags;
58 BMDDisplayMode selectedDisplayMode;
59 BMDPixelFormat pixelFormat;
63 bool foundDisplayMode;
67 int g_audioSampleDepth;
75 DecklinkWriter(
int device,
int video_mode,
int pixel_format,
int channels,
int sample_depth);
void WriteFrame(std::shared_ptr< Frame > frame)
This method is required for all derived classes of WriterBase. Write a Frame to the video file...
Implementation of the Blackmagic Decklink API (used by the DecklinkWriter)
Header file for DecklinkOutput class.
This abstract class is the base class, used by all readers in libopenshot.
Header file for CacheMemory class.
bool IsOpen()
Determine if writer is open or closed.
Header file for Frame class.
Header file for WriterBase class.
This abstract class is the base class, used by writers. Writers are types of classes that encode vide...
DecklinkWriter(int device, int video_mode, int pixel_format, int channels, int sample_depth)
void Open()
Open device and video stream - which is called by the constructor automatically.
This namespace is the default namespace for all code in the openshot library.
void Close()
Close the device and video stream.
This class uses the Blackmagic Decklink libraries, to send video streams to Blackmagic devices...