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
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.
amd.zip 46.8 KB
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.