mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-15 20:29:58 +01:00
Improved FrameGrabber with clock duration and priority strategies
Keep track of actual FrameGrabber duration (different from timestamp). Two strategies for frame PTS: clock and framerate priorities. Implemented variable Framerate selection for VideoRecorder. Integration of all this in UserInterface and Settings.
This commit is contained in:
11
Recorder.h
11
Recorder.h
@@ -24,9 +24,6 @@ protected:
|
||||
|
||||
};
|
||||
|
||||
|
||||
#define VIDEO_RECORDER_BUFFERING_NUM_PRESET 6
|
||||
|
||||
class VideoRecorder : public FrameGrabber
|
||||
{
|
||||
std::string filename_;
|
||||
@@ -50,10 +47,12 @@ public:
|
||||
static const char* profile_name[DEFAULT];
|
||||
static const std::vector<std::string> profile_description;
|
||||
|
||||
static const char* buffering_preset_name[VIDEO_RECORDER_BUFFERING_NUM_PRESET];
|
||||
static const guint64 buffering_preset_value[VIDEO_RECORDER_BUFFERING_NUM_PRESET];
|
||||
static const char* buffering_preset_name[6];
|
||||
static const guint64 buffering_preset_value[6];
|
||||
static const char* framerate_preset_name[3];
|
||||
static const int framerate_preset_value[3];
|
||||
|
||||
VideoRecorder(guint64 buffersize = 0);
|
||||
VideoRecorder();
|
||||
std::string info() const override;
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user