-
Notifications
You must be signed in to change notification settings - Fork 28
Add mono support for GenTL #91
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
Open
Open
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
77f7510
Improve processor discovery and logging
C-Achard 596edc8
Add processors package exports
C-Achard 726c44e
Move example socket processors to examples module
C-Achard df298c4
Skip socket base module in processor scan
C-Achard e6805be
Update processor_utils.py
C-Achard 9a529d0
Warn on duplicate processor registration
C-Achard 667b0be
Extract processor registry into new module
C-Achard d5d9904
Normalize recording container handling
C-Achard 36f7d18
Add DLC timing instrumentation in GUI path
C-Achard fb458bc
Prioritize latest frame when queue is full
C-Achard 97cedb2
Lower camera backend logs to debug
C-Achard 4332e4c
Harden DLC worker startup and timing logs
C-Achard b963f3e
Disable pose latency debug logging
C-Achard 780caef
Fix shutdown order in camera preview stop
C-Achard 77de572
Add mono-preserving output mode to GenTL
C-Achard eef61c2
Async recording stop and queued frame dispatch
C-Achard 4408960
Update recording_manager.py
C-Achard 3f0dc3b
Use runner pose directly in DLC processor
C-Achard 4f88ca7
Split timing loggers across worker thread
C-Achard 2bab3c0
pre-commit
C-Achard df25eee
Remove duplicate node value reader
C-Achard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,12 +25,16 @@ | |
| GUI_MAX_DISPLAY_FPS: float = 30.0 | ||
| ## Recording | ||
| DEFAULT_RECORDING_FPS: float = 30.0 | ||
| ALLOWED_VIDEO_CONTAINERS: set[str] = {"mp4", "avi", "mov"} | ||
| DEFAULT_RECORDING_CONTAINER: str = "mp4" | ||
|
|
||
|
|
||
| ## Debug | ||
| ### Timing logs | ||
| SINGLE_CAMERA_WORKER_DO_LOG_TIMING: bool = False | ||
| MULTI_CAMERA_WORKER_DO_LOG_TIMING: bool = False | ||
| REC_DO_LOG_TIMING: bool = False | ||
| DLC_DO_LOG_TIMING: bool = True | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reminder |
||
| ### Trigger debug logging | ||
| DEBUG_TRIGGER_LOGS = False | ||
| # MAIN_WINDOW_DO_LOG_TIMING: bool = False | ||
|
|
@@ -508,7 +512,7 @@ class RecordingSettings(BaseModel): | |
| enabled: bool = False | ||
| directory: str = Field(default_factory=lambda: str(Path.home() / "Videos" / "deeplabcut-live")) | ||
| filename: str = "session.mp4" | ||
| container: Literal["mp4", "avi", "mov"] = "mp4" | ||
| container: Literal["mp4", "avi", "mov"] = DEFAULT_RECORDING_CONTAINER | ||
| codec: str = "libx264" | ||
| crf: int = Field(default=23, ge=0, le=51) | ||
| fast_encoding: bool = False | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.