Skip to content

Commit

Permalink
Merge pull request #694 from bpali/patch-1
Browse files Browse the repository at this point in the history
update usage code sample in python
  • Loading branch information
themarpe authored Oct 27, 2022
2 parents 472bc41 + 8956620 commit 10c05bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/components/nodes/video_encoder.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Usage
# Create ColorCamera beforehand
# Set H265 encoding for the ColorCamera video output
videoEncoder = pipeline.create(dai.node.VideoEncoder)
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)
Expand Down

0 comments on commit 10c05bc

Please sign in to comment.