Python¶
Python utilities cover camera decoding, audio handling, GPIO logging, and validation after SD-card export.
Scripts¶
| Script | Purpose |
|---|---|
WILD_VideoDecodewAudio.py |
Decode camera data with audio handling. |
WILD_VideoDecodewAudio_v2.py |
Alternative video decode pipeline. |
WILD_VideoDecodewAudio_folder.py |
Batch folder processing. |
WILD_GPIO_Logger.py |
GPIO logging utility. |
Typical Use¶
- Decode camera or audio files after exporting a recording folder.
- Batch-process multiple recording folders with the folder variants.
- Log GPIO or serial events during synchronization validation.
- Keep generated media and logs separate from the raw SD export.
Interactive Commands¶
Run the Python tools from the repository Code folder:
cd C:\code\github\Neurologger\Code
python .\WILD_VideoDecodewAudio.py
python .\WILD_VideoDecodewAudio_folder.py
python .\WILD_GPIO_Logger.py
WILD_VideoDecodewAudio.pyopens a file picker for onemisc.datrecording and expects the matchingadc.datfile when audio is present.WILD_VideoDecodewAudio_folder.pyopens a folder picker and recursively processesmisc.datfiles below that root.WILD_GPIO_Logger.pyprompts for a COM port and output folder, then writes a timestamped text log.
Expected Outputs¶
Output names depend on the script path and whether audio is present, but the public decoder workflow writes reviewable media next to the source export by default.