Recording: support for NVIDIA nvenc and improved stability

Let gstreamer appsrc generate PTS automatically (seems to fix crash of encoding after long duration). Added test for GPU encoders and switch if enabled and available.
This commit is contained in:
Bruno
2021-08-14 13:41:53 +02:00
parent 644741a1ab
commit f5da4c8bc2
6 changed files with 140 additions and 43 deletions

View File

@@ -45,7 +45,9 @@ public:
DEFAULT
} Profile;
static const char* profile_name[DEFAULT];
static const char* hardware_encoder[DEFAULT];
static const std::vector<std::string> profile_description;
static const std::vector<std::string> hardware_profile_description;
static const char* buffering_preset_name[6];
static const guint64 buffering_preset_value[6];