Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix FourCC in docs #164

Merged
merged 1 commit into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion articles/hardware/ucla-miniscope-v4/camera.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,14 @@ The <xref:OpenEphys.Onix1.UclaMiniscopeV4CameraData> operator generates a sequen
The relevant members are selected from the `UclaMiniscopeV4CameraFrame` by right-clicking the
`UclaMiniscopeV4CameraData` operator and choosing the following Output members: `Camera`, and `Clock`. The
[VideoWriter](xref:Bonsai.Vision.VideoWriter) saves the `Camera` to a files with the following format:
`ucla-miniscope-v4-video_.avi` with "GREY" FourCC. The [MatrixWriter](xref:Bonsai.Dsp.MatrixWriter) saves the `Clock` to a
`ucla-miniscope-v4-video_.avi` with "DIB " FourCC. The [MatrixWriter](xref:Bonsai.Dsp.MatrixWriter) saves the `Clock` to a
files with the following format: `ucla-miniscope-v4-clock_.raw`.

> [!NOTE]
> - If you edit the FourCC property yourself and want to use "DIB ", take care to include a space as the fourth character.
> - You can also use the "FMP4" FourCC which compresses the video data into smaller file sizes. However, "FMP4" can only
> be used with 8-bit data.

Try adjusting the `FrameRate`, `SensorGain`, `LEDBrightness`, and `LiquidLensVoltage` properties while the workflow is
running and observing the camera data. Follow our <xref:visualize-data> guide if you are not sure how to observe the
camera data.
2 changes: 1 addition & 1 deletion workflows/hardware/ucla-miniscope-v4/camera.bonsai
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<cv:Suffix>FileCount</cv:Suffix>
<cv:Buffered>true</cv:Buffered>
<cv:Overwrite>false</cv:Overwrite>
<cv:FourCC>GREY</cv:FourCC>
<cv:FourCC>DIB </cv:FourCC>
<cv:FrameRate>30</cv:FrameRate>
<cv:FrameSize>
<cv:Width>0</cv:Width>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@
<cv:Suffix>FileCount</cv:Suffix>
<cv:Buffered>true</cv:Buffered>
<cv:Overwrite>false</cv:Overwrite>
<cv:FourCC>GREY</cv:FourCC>
<cv:FourCC>DIB </cv:FourCC>
<cv:FrameRate>30</cv:FrameRate>
<cv:FrameSize>
<cv:Width>0</cv:Width>
Expand Down
Loading