diff --git a/docs/source/components/bootloader.rst b/docs/source/components/bootloader.rst index 2f90b22d1..1cee9e809 100644 --- a/docs/source/components/bootloader.rst +++ b/docs/source/components/bootloader.rst @@ -102,4 +102,11 @@ Depthai application package (**.dap**) consists of: - Assets structure (section “assets”) - Asset storage (section “asset_storage”) +MAC address +########### + +All OAK PoE cameras have a unique MAC address which is used to identify the device on the network. It is calculated from the +MxID of the device, see `logic here `__. +The MAC address is stored in the DeviceBootloader configuration. + .. include:: ../includes/footer-short.rst diff --git a/docs/source/components/nodes/script.rst b/docs/source/components/nodes/script.rst index 45efcf6db..96564fa37 100644 --- a/docs/source/components/nodes/script.rst +++ b/docs/source/components/nodes/script.rst @@ -217,6 +217,8 @@ Examples of functionality - :ref:`Script camera control` - Controlling the camera - :ref:`Script get local IP` - Get local IP - :ref:`Script HTTP client` - Send HTTP request +- `Script TCP streaming `__ - TCP communication from within Script node, either in host or client mode +- `Script MQTT publishing `__ - MQTT publishing from within Script node - :ref:`Script HTTP server` - still image over HTTP - :ref:`Script MJPEG server` - MJPEG video stream over HTTP - :ref:`Script NNData example` - Constructs :ref:`NNData` diff --git a/docs/source/components/nodes/video_encoder.rst b/docs/source/components/nodes/video_encoder.rst index 89fb48f0b..060d36c1c 100644 --- a/docs/source/components/nodes/video_encoder.rst +++ b/docs/source/components/nodes/video_encoder.rst @@ -1,7 +1,8 @@ VideoEncoder ============ -VideoEncoder node is used to encode :ref:`image frames ` into H264/H265/JPEG. +VideoEncoder node is used to encode :ref:`ImgFrame` into either H264, H265, or MJPEG streams. Only NV12 or GRAY8 (which gets converted to NV12) format is +supported as an input. .. include:: /includes/container-encoding.rst @@ -36,7 +37,7 @@ Inputs and Outputs **Message types** -- :code:`input` - :ref:`ImgFrame` +- :code:`input` - :ref:`ImgFrame` (NV12/GRAY8) - :code:`bitstream` - :ref:`ImgFrame` Usage @@ -55,7 +56,7 @@ Usage # Create MJPEG encoding for still images stillEncoder = pipeline.create(dai.node.VideoEncoder) - stillEncoder.setDefaultProfilePreset(cam.getStillSize(), 1, dai.VideoEncoderProperties.Profile.MJPEG) + stillEncoder.setDefaultProfilePreset(1, dai.VideoEncoderProperties.Profile.MJPEG) cam.still.link(stillEncoder.input) cam.video.link(videoEncoder.input) @@ -67,11 +68,11 @@ Usage // Create ColorCamera beforehand // Set H265 encoding for the ColorCamera video output auto videoEncoder = pipeline.create(); - videoEncoder->setDefaultProfilePreset(cam->getVideoSize(), cam->getFps(), dai::VideoEncoderProperties::Profile::H265_MAIN); + videoEncoder->setDefaultProfilePreset(cam->getFps(), dai::VideoEncoderProperties::Profile::H265_MAIN); // Create MJPEG encoding for still images stillEncoder = pipeline.create(dai.node.VideoEncoder); - stillEncoder->setDefaultProfilePreset(cam->getStillSize(), 1, dai::VideoEncoderProperties::Profile::MJPEG); + stillEncoder->setDefaultProfilePreset(1, dai::VideoEncoderProperties::Profile::MJPEG); cam->still.link(stillEncoder->input); cam->video.link(videoEncoder->input);