Skip to content

Commit 540d190

Browse files
authored
Fix FourCC in docs (#164)
1 parent 17e8852 commit 540d190

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed

articles/hardware/ucla-miniscope-v4/camera.md

+6-1
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,14 @@ The <xref:OpenEphys.Onix1.UclaMiniscopeV4CameraData> operator generates a sequen
2121
The relevant members are selected from the `UclaMiniscopeV4CameraFrame` by right-clicking the
2222
`UclaMiniscopeV4CameraData` operator and choosing the following Output members: `Camera`, and `Clock`. The
2323
[VideoWriter](xref:Bonsai.Vision.VideoWriter) saves the `Camera` to a files with the following format:
24-
`ucla-miniscope-v4-video_.avi` with "GREY" FourCC. The [MatrixWriter](xref:Bonsai.Dsp.MatrixWriter) saves the `Clock` to a
24+
`ucla-miniscope-v4-video_.avi` with "DIB " FourCC. The [MatrixWriter](xref:Bonsai.Dsp.MatrixWriter) saves the `Clock` to a
2525
files with the following format: `ucla-miniscope-v4-clock_.raw`.
2626

27+
> [!NOTE]
28+
> - If you edit the FourCC property yourself and want to use "DIB ", take care to include a space as the fourth character.
29+
> - You can also use the "FMP4" FourCC which compresses the video data into smaller file sizes. However, "FMP4" can only
30+
> be used with 8-bit data.
31+
2732
Try adjusting the `FrameRate`, `SensorGain`, `LEDBrightness`, and `LiquidLensVoltage` properties while the workflow is
2833
running and observing the camera data. Follow our <xref:visualize-data> guide if you are not sure how to observe the
2934
camera data.

workflows/hardware/ucla-miniscope-v4/camera.bonsai

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<cv:Suffix>FileCount</cv:Suffix>
2323
<cv:Buffered>true</cv:Buffered>
2424
<cv:Overwrite>false</cv:Overwrite>
25-
<cv:FourCC>GREY</cv:FourCC>
25+
<cv:FourCC>DIB </cv:FourCC>
2626
<cv:FrameRate>30</cv:FrameRate>
2727
<cv:FrameSize>
2828
<cv:Width>0</cv:Width>

workflows/hardware/ucla-miniscope-v4/ucla-miniscope-v4.bonsai

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@
152152
<cv:Suffix>FileCount</cv:Suffix>
153153
<cv:Buffered>true</cv:Buffered>
154154
<cv:Overwrite>false</cv:Overwrite>
155-
<cv:FourCC>GREY</cv:FourCC>
155+
<cv:FourCC>DIB </cv:FourCC>
156156
<cv:FrameRate>30</cv:FrameRate>
157157
<cv:FrameSize>
158158
<cv:Width>0</cv:Width>

0 commit comments

Comments
 (0)