Integrating VDPAU decoding into libopenshot

This commit is contained in:
Jonathan Thomas
2019-04-28 14:03:45 -05:00
parent eea67ad972
commit 3bd2ae5f23
3 changed files with 31 additions and 0 deletions

View File

@@ -36,6 +36,10 @@ using namespace openshot;
int main(int argc, char* argv[]) {
Settings *s = Settings::Instance();
s->HARDWARE_DECODER = 2; // 1 VA-API, 2 NVDEC
s->HW_DE_DEVICE_SET = 1;
FFmpegReader r9("/home/jonathan/Videos/sintel_trailer-720p.mp4");
r9.Open();
r9.DisplayInfo();