OpenShot Library | libopenshot
0.2.5
|
Go to the documentation of this file.
31 #ifndef OPENSHOT_DECKLINK_WRITER_H
32 #define OPENSHOT_DECKLINK_WRITER_H
68 IDeckLinkDisplayModeIterator *displayModeIterator;
69 IDeckLinkOutput *deckLinkOutput;
70 IDeckLinkVideoConversion *m_deckLinkConverter;
71 pthread_mutex_t sleepMutex;
72 pthread_cond_t sleepCond;
73 IDeckLinkIterator *deckLinkIterator;
75 IDeckLinkDisplayMode *displayMode;
76 BMDVideoInputFlags inputFlags;
77 BMDDisplayMode selectedDisplayMode;
78 BMDPixelFormat pixelFormat;
82 bool foundDisplayMode;
86 int g_audioSampleDepth;
94 DecklinkWriter(
int device,
int video_mode,
int pixel_format,
int channels,
int sample_depth);
100 void WriteFrame(std::shared_ptr<Frame> frame);
Header file for WriterBase class.
This namespace is the default namespace for all code in the openshot library.
This class uses the Blackmagic Decklink libraries, to send video streams to Blackmagic devices.
bool IsOpen()
Determine if writer is open or closed.
void Close()
Close the device and video stream.
Header file for CacheMemory class.
void Open()
Open device and video stream - which is called by the constructor automatically.
Header file for Frame class.
void WriteFrame(std::shared_ptr< Frame > frame)
This method is required for all derived classes of WriterBase. Write a Frame to the video file.
DecklinkWriter(int device, int video_mode, int pixel_format, int channels, int sample_depth)
This abstract class is the base class, used by all readers in libopenshot.
Header file for DecklinkOutput class.
Implementation of the Blackmagic Decklink API (used by the DecklinkWriter)
Header file for all Exception classes.
This abstract class is the base class, used by writers. Writers are types of classes that encode vide...