Page 1 of 1

Controlling the H264 stream

Posted: Mon May 01, 2017 11:28 am
by zvi
How can I control/modify the H264 stream parameters?
For example, how can i modify the target bitrate, H264 compression parameters, define CBR/VBR rate control?

Re: Controlling the H264 stream

Posted: Tue May 02, 2017 1:44 am
by Vonger
Please check UVC2.0, it is a standard UVC driver.

Re: Controlling the H264 stream

Posted: Thu May 04, 2017 9:08 am
by zvi
It seems that the only thing i can control (using v4l2-ctl) is the sensor parameters (e.g. brightness, saturation,..)
Is there a way to control the camera's processing unit?

Re: Controlling the H264 stream

Posted: Fri May 05, 2017 2:14 pm
by Vonger
Ah, ye, here is an internal API :)
Just uploaded to http://vocore.io/camera.html, but most of the doc is in Chinese.

Re: Controlling the H264 stream

Posted: Sun May 14, 2017 1:39 pm
by zvi
Can you please write a simple driver that uses the internal-protocol to set/get the camera parameters?
Or give an example how to set the bitrate parameter of the H264 stream using the SnDspRw tool ?

Re: Controlling the H264 stream

Posted: Mon May 15, 2017 12:47 pm
by Vonger
Emm, that is expert usage. I read the chip manual there is a USB interface for that. You can use the GPIO example(based on libusb) and change the code a little to do that,

Re: Controlling the H264 stream

Posted: Mon May 15, 2017 3:20 pm
by zvi
I've seen the code. Still, it is not clear how to construct the command. The libusb tool has no example with a correct camera codes. The message structure (get/set parameter message format is not clear). Even if I compile the libusb tool, what is the syntax to use the GPIO codes in the attached documents?

Re: Controlling the H264 stream

Posted: Mon May 15, 2017 4:33 pm
by Vonger
that's all I have from the provider :)