Controlling the H264 stream

zvi
 
Posts: 4
Joined: Mon May 01, 2017 11:05 am

Controlling the H264 stream

Mon May 01, 2017 11:28 am

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?

Vonger
 
Posts: 500
Joined: Sun Oct 19, 2014 6:00 am

Re: Controlling the H264 stream

Tue May 02, 2017 1:44 am

Please check UVC2.0, it is a standard UVC driver.

zvi
 
Posts: 4
Joined: Mon May 01, 2017 11:05 am

Re: Controlling the H264 stream

Thu May 04, 2017 9:08 am

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?

Vonger
 
Posts: 500
Joined: Sun Oct 19, 2014 6:00 am

Re: Controlling the H264 stream

Fri May 05, 2017 2:14 pm

Ah, ye, here is an internal API :)
Just uploaded to http://vocore.io/camera.html, but most of the doc is in Chinese.

zvi
 
Posts: 4
Joined: Mon May 01, 2017 11:05 am

Re: Controlling the H264 stream

Sun May 14, 2017 1:39 pm

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 ?

Vonger
 
Posts: 500
Joined: Sun Oct 19, 2014 6:00 am

Re: Controlling the H264 stream

Mon May 15, 2017 12:47 pm

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,

zvi
 
Posts: 4
Joined: Mon May 01, 2017 11:05 am

Re: Controlling the H264 stream

Mon May 15, 2017 3:20 pm

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?

Vonger
 
Posts: 500
Joined: Sun Oct 19, 2014 6:00 am

Re: Controlling the H264 stream

Mon May 15, 2017 4:33 pm

that's all I have from the provider :)

Return to VoCam264

Who is online

Users browsing this forum: No registered users and 1 guest