Advertisement
TodWulff

Untitled

Nov 29th, 2020
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.02 KB | None | 0 0
  1. h
  2. # cat /config/overlay/etc/videocapture_settings.json
  3. {
  4. "stream_settings": [
  5. {
  6. "name": "primary",
  7. "enabled": true,
  8. "pic_width": 1920,
  9. "pic_height": 1080,
  10. "group": 0,
  11. "pixel_format": "PIX_FMT_NV12",
  12. "video_buffers": 3,
  13. "channel_type": "FS_PHY_CHANNEL",
  14. "crop_enable": 0,
  15. "crop_top": 0,
  16. "crop_left": 0,
  17. "crop_width": 0,
  18. "crop_height": 0,
  19. "scaling_enable": 1,
  20. "scaling_width": 1920,
  21. "scaling_height": 1080,
  22. "frame_rate_numerator": 25,
  23. "frame_rate_denominator": 1,
  24. "encoders": [{
  25. "channel": 0,
  26. "v4l2_device_path": "/dev/video3",
  27. "payload_type": "PT_H264",
  28. "buffer_size": 0,
  29. "profile": 0,
  30. "mode": "ENC_RC_MODE_H264VBR",
  31. "frame_rate_numerator": 25,
  32. "frame_rate_denominator": 1,
  33. "max_group_of_pictures": 10,
  34. "max_qp": 38,
  35. "min_qp": 15,
  36. "frame_qp_step": 3,
  37. "gop_qp_step": 15,
  38. "h264vbr_settings": {
  39. "statistics_interval": 1,
  40. "max_bitrate": 500,
  41. "change_pos": 50
  42. },
  43. "h264cbr_settings": {
  44. "bitrate": 500,
  45. "max_fps": 100,
  46. "min_fps": 1,
  47. "ibiaslvl": 2,
  48. "adaptive_mode": 0,
  49. "gop_relation": 0
  50. }
  51. },
  52. {
  53. "channel": 1,
  54. "v4l2_device_path": "/dev/video4",
  55. "payload_type": "PT_JPEG",
  56. "buffer_size": 0,
  57. "profile": 2,
  58. "mode": "ENC_RC_MODE_H264VBR",
  59. "frame_rate_numerator": 25,
  60. "frame_rate_denominator": 1,
  61. "max_group_of_pictures": 10,
  62. "max_qp": 38,
  63. "min_qp": 15,
  64. "frame_qp_step": 3,
  65. "gop_qp_step": 15,
  66. "h264vbr_settings": {
  67. "statistics_interval": 1,
  68. "max_bitrate": 500,
  69. "change_pos": 50
  70. },
  71. "h264cbr_settings": {
  72. "bitrate": 500,
  73. "max_fps": 100,
  74. "min_fps": 1,
  75. "ibiaslvl": 2,
  76. "adaptive_mode": 0,
  77. "gop_relation": 0
  78. }
  79. }]
  80. },
  81. {
  82. "name": "secondary",
  83. "enabled": false,
  84. "v4l2_device_path": "/dev/video4",
  85. "payload_type": "PT_H264",
  86. "buffer_size": 0,
  87. "profile": 0,
  88. "pic_width": 640,
  89. "pic_height": 480,
  90. "mode": "ENC_RC_MODE_H264VBR",
  91. "frame_rate_numerator": 25,
  92. "frame_rate_denominator": 1,
  93. "max_group_of_pictures": 10,
  94. "max_qp": 38,
  95. "min_qp": 15,
  96. "statistics_interval": 1,
  97. "max_bitrate": 500,
  98. "change_pos": 50,
  99. "frame_qp_step": 3,
  100. "gop_qp_step": 15,
  101. "channel": 1,
  102. "group": 1,
  103. "pixel_format": "PIX_FMT_NV12",
  104. "video_buffers": 3,
  105. "channel_type": "FS_PHY_CHANNEL",
  106. "crop_enable": 0,
  107. "crop_top": 0,
  108. "crop_left": 0,
  109. "crop_width": 0,
  110. "crop_height": 0,
  111. "scaling_enable": 1,
  112. "scaling_width": 640,
  113. "scaling_height": 480
  114. }
  115. ]
  116. }
  117. #
  118.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement