Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- h
- # cat /config/overlay/etc/videocapture_settings.json
- {
- "stream_settings": [
- {
- "name": "primary",
- "enabled": true,
- "pic_width": 1920,
- "pic_height": 1080,
- "group": 0,
- "pixel_format": "PIX_FMT_NV12",
- "video_buffers": 3,
- "channel_type": "FS_PHY_CHANNEL",
- "crop_enable": 0,
- "crop_top": 0,
- "crop_left": 0,
- "crop_width": 0,
- "crop_height": 0,
- "scaling_enable": 1,
- "scaling_width": 1920,
- "scaling_height": 1080,
- "frame_rate_numerator": 25,
- "frame_rate_denominator": 1,
- "encoders": [{
- "channel": 0,
- "v4l2_device_path": "/dev/video3",
- "payload_type": "PT_H264",
- "buffer_size": 0,
- "profile": 0,
- "mode": "ENC_RC_MODE_H264VBR",
- "frame_rate_numerator": 25,
- "frame_rate_denominator": 1,
- "max_group_of_pictures": 10,
- "max_qp": 38,
- "min_qp": 15,
- "frame_qp_step": 3,
- "gop_qp_step": 15,
- "h264vbr_settings": {
- "statistics_interval": 1,
- "max_bitrate": 500,
- "change_pos": 50
- },
- "h264cbr_settings": {
- "bitrate": 500,
- "max_fps": 100,
- "min_fps": 1,
- "ibiaslvl": 2,
- "adaptive_mode": 0,
- "gop_relation": 0
- }
- },
- {
- "channel": 1,
- "v4l2_device_path": "/dev/video4",
- "payload_type": "PT_JPEG",
- "buffer_size": 0,
- "profile": 2,
- "mode": "ENC_RC_MODE_H264VBR",
- "frame_rate_numerator": 25,
- "frame_rate_denominator": 1,
- "max_group_of_pictures": 10,
- "max_qp": 38,
- "min_qp": 15,
- "frame_qp_step": 3,
- "gop_qp_step": 15,
- "h264vbr_settings": {
- "statistics_interval": 1,
- "max_bitrate": 500,
- "change_pos": 50
- },
- "h264cbr_settings": {
- "bitrate": 500,
- "max_fps": 100,
- "min_fps": 1,
- "ibiaslvl": 2,
- "adaptive_mode": 0,
- "gop_relation": 0
- }
- }]
- },
- {
- "name": "secondary",
- "enabled": false,
- "v4l2_device_path": "/dev/video4",
- "payload_type": "PT_H264",
- "buffer_size": 0,
- "profile": 0,
- "pic_width": 640,
- "pic_height": 480,
- "mode": "ENC_RC_MODE_H264VBR",
- "frame_rate_numerator": 25,
- "frame_rate_denominator": 1,
- "max_group_of_pictures": 10,
- "max_qp": 38,
- "min_qp": 15,
- "statistics_interval": 1,
- "max_bitrate": 500,
- "change_pos": 50,
- "frame_qp_step": 3,
- "gop_qp_step": 15,
- "channel": 1,
- "group": 1,
- "pixel_format": "PIX_FMT_NV12",
- "video_buffers": 3,
- "channel_type": "FS_PHY_CHANNEL",
- "crop_enable": 0,
- "crop_top": 0,
- "crop_left": 0,
- "crop_width": 0,
- "crop_height": 0,
- "scaling_enable": 1,
- "scaling_width": 640,
- "scaling_height": 480
- }
- ]
- }
- #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement