Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
7 Views

Rotate Plugin Sample Problem

Hi there,

     I  have a problem while running the sample_encode_drm, seemed the opencl rotate plugin didn't function properly, In function OpenCLRotator180Context::OpenCLRotator180Context, Create Opencl Context returned CL_OUT_OF_RESOURCES .I already got the correct platform "Intel R OpenCL" and the Device "Intel Graphics". I'm not familiar with Opencl developping, so I appreciate it if you can give me some clues on  what might went wrong.Also, do I need to install a special graphics driver. 

   My SDK version is MediaServerStudio2015SDKPreview3, API version 1.11,Operation system is CENTOS7.0.,Implement on HW.The hardware environment is I7-4770K, Graphics card is  Intel(R) HD Graphics 4600.By the way, the encode sample seemed work alright  without Opencl,problem  occured when Implement opencl without VA surface sharing.

  Thanks.

0 Kudos
1 Reply
Highlighted
7 Views

Media Server Studio R3 is now available.  Do you still see the problem with this release?

I have not been able to replicate the problem with R3.  Here are the steps I used to run the samples with the OpenCL plugin:

  1. Install Media Server Studio R3 using the steps in the Getting Started Guide.  This installs everything needed for Media SDK and OpenCL development (except cmake...)
  2. Install cmake
  3. Download the samples package.  (The binary Media SDK samples included with R3 don't have libsample_plugin_opencl.so and ocl_rotate.cl.  They won't work for OpenCL tests.)
  4. Build the samples ("perl build.pl --cmake=intel64.make.release --build")
  5. cd to the _cmake/intel64.make.release/__bin/release directory
  6. Make sure the current directory (.) is in your shared library load path.  This can be done with "export LD_LIBRARY_PATH='./'"
  7. Run the sample: ./sample_encode_drm h264 -i ~/foreman_cif.yuv -o test1.h264 -hw -w 352 -h 288 -opencl -angle 180
0 Kudos