You've already forked libopenshot
mirror of
https://github.com/OpenShot/libopenshot.git
synced 2026-03-02 08:53:52 -08:00
Integrating VDPAU decoding into libopenshot
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user