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

@@ -26,6 +26,7 @@ std::list<std::string> enable_gpu_decoding_plugins(bool enable = true);
std::string used_gpu_decoding_plugins(GstElement *gstbin);
std::list<std::string> all_plugin_features(std::string pluginname);
bool has_feature (std::string name);
bool enable_feature (std::string name, bool enable);
}