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?
Controlling the H264 stream
- zvi
- Posts: 4
- Joined: Mon May 01, 2017 11:05 am
- Vonger
- Posts: 907
- Joined: Sun Oct 19, 2014 6:00 am
Re: Controlling the H264 stream
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
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?
Is there a way to control the camera's processing unit?
- Vonger
- Posts: 907
- Joined: Sun Oct 19, 2014 6:00 am
Re: Controlling the H264 stream
Ah, ye, here is an internal API
Just uploaded to http://vocore.io/camera.html, but most of the doc is in Chinese.
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
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 ?
Or give an example how to set the bitrate parameter of the H264 stream using the SnDspRw tool ?
- Vonger
- Posts: 907
- Joined: Sun Oct 19, 2014 6:00 am
Re: Controlling the H264 stream
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
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: 907
- Joined: Sun Oct 19, 2014 6:00 am
8 posts
Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest