added hardware encoding
This commit is contained in:
parent
56d2144bcc
commit
966970c256
2 changed files with 131 additions and 10 deletions
|
|
@ -32,14 +32,24 @@ in
|
|||
frontcam = {
|
||||
device = "/dev/v4l/by-id/usb-Generic_HD_WebCam_200901010001-video-index0";
|
||||
rtspUrl = "rtsp://192.168.1.143:8554/frontcam";
|
||||
framerate = 15;
|
||||
framerate = 12;
|
||||
videoSize = "1280x720";
|
||||
useVaapi = true;
|
||||
vaapiQp = 26;
|
||||
bitrateKbps = 900;
|
||||
maxrateKbps = 1100;
|
||||
bufsizeKbps = 1800;
|
||||
};
|
||||
webcam = {
|
||||
device = "/dev/v4l/by-id/usb-GENERAL_GENERAL_WEBCAM-video-index0";
|
||||
rtspUrl = "rtsp://192.168.1.143:8554/webcam";
|
||||
framerate = 15;
|
||||
framerate = 12;
|
||||
videoSize = "1280x720";
|
||||
useVaapi = true;
|
||||
vaapiQp = 26;
|
||||
bitrateKbps = 900;
|
||||
maxrateKbps = 1100;
|
||||
bufsizeKbps = 1800;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue