Reputation: 889
I am trying to encode and containerize a 4K video using GStreamer. There are plenty of built-in plugins, but is there a plugin that takes advantage of my graphics card? I have an NVIDIA GeForce GTX480. I have read that NVIDIA exposes a VDPAU API, but are there plugins that take advantage of this?
Upvotes: 0
Views: 1232
Reputation: 3932
There is VA API for this.
You have to either compile the vaapi elements from source or if you are for example on Ubuntu there are binary packages for that (check aptitude search vaapi
). I am sure there are means to install that on other OS.
I am not sure if nvidia is supported but on intel GPU things should work (if you can get some PC with i7 or so)
This is some random pipe with x264:
gst-launch-1.0 filesrc location=/ramdisk/bbb_sunflower_1080p_30fps_normal.mp4 ! qtdemux ! vaapidecode ! vaapiencode_h264 ! video/x-h264,profile=high ! qtmux ! filesink location=/ramdisk/tmp.mov
UPDATE:
I found some vpdau element in that first link on VA API.. I wonder if thats for Nvidia or what..
Upvotes: 1