The default installation doesn't put some libraries in correct location, and that cause the vainfo and vdpauinfo return error, gstreamer also cannot decode video file correctly. I manually created a file in /usr/lib/x86_64-linux-gnu/dri named amdgpu_drv_video.so which links to the shared library /opt/amdgpu-pro/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so, and copied all libraries from /opt/amdgpu-pro/lib/x86_64-linux-gnu/vdpau to /usr/lib/x86_64-linux-gnu/vdpau, than everything is just fine. I don't know if this is a common amdgpu-pro 16.50 installation problem or I had done something wrong?
I have been trying for days to het video hardware acceleration on a W5100 running on Ubuntu 16.04.2 without any success.
This now worked like a charm. Gstreamer now works standalone, as well as in my openframeworks app.
I will write a script to do that but shouldn't the AMD installer do this when advertised for Ubuntu 16.04.2?!