cancel
Showing results for 
Search instead for 
Did you mean: 

OpenCL

jocelynaziere
Journeyman III

Open Video Encoder API

we use Open video API, and we try to use some setting to limit the slice size: for that we use

configCtrl.pictControl.encNumMBsPerSlice and configCtrl.pictControl.encNumSlicesPerFrame  but it seems to have no effect.

What is the right way to limit slise Size ?

Tags (4)
0 Kudos
Reply
3 Replies
himanshu_gautam
Grandmaster

Re: Open Video Encoder API

I worked on Open Video Encode, some time back. I would like to have a look at it. Meanwhile can you please share some source-code that explains you intentions more clearly.

Please post a copy of your code (as zip file) so that we can reproduce here.

Please include the following details as well.

1. Platform - win32 / win64 / lin32 / lin64 or some other?

2. Version of driver and APP SDK

3. CPU or GPU Target?

4. CPU/GPU details of your hardware

0 Kudos
Reply
jocelynaziere
Journeyman III

Re: Open Video Encoder API

Please find bellow the requested information.

1. Platform - win32 / win64 / lin32 / lin64 or some other? Win 7 64 bits

  2. Version of driver and APP SDK drivers version 13.1 and beta 13.2 version and , AMD SDK 2.8

  3. CPU or GPU Target? Asus Radeon  HD 7970.

In the attached file you wiil find the source code. This one is mainly based on the openEncode source code and we had some function to create and push nalus to the network.

On the source code vceenc, you wil find
the procedure to enc_initialize / enc_uninitialize / enc_preprocess /enc_postprocess / enc_process

First whe initialize the encode with the file speed.cfg and after we modifiy some properties in enc_preprocess

We  use procedure vce_get_nalus to split the result of the encoder in nalus , and  we expect to define the
max size of nalus around MTU lan size , using encNumMBsPerSlice has we thought this the parameter to use.

0 Kudos
Reply
himanshu_gautam
Grandmaster

Re: Open Video Encoder API

jocelyn Aziere wrote:

we use Open video API, and we try to use some setting to limit the slice size: for that we use

configCtrl.pictControl.encNumMBsPerSlice and configCtrl.pictControl.encNumSlicesPerFrame  but it seems to have no effect.

What is the right way to limit slise Size ?

As from the documentation in OVEncode Sample the properties that can be changed for the sample do not include "encNumSlicesPerFrame". Multiple slices per frame are not supported on HD 7970.

0 Kudos
Reply