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

Add option --duration also to base logger #997

Merged
merged 1 commit into from
May 22, 2024
Merged

Conversation

m3d
Copy link
Member

@m3d m3d commented May 21, 2024

Add the same --duration option also to osgar.logger (next to osgar.record and osgar.replay). The code was already there (needed for replay), so now it is just public. Motivation is creation H264 video for YouTube from OAK-D camera where interesting is only the first part. An example:

python -m osgar.logger /data/pat/2024_05_18/pat-go-314-240518_082742.log --stream oak.color --raw --duration 300 > roro24-pat-1st-round.h264

was used to generate https://youtu.be/UKBNOBJEYZU

@m3d m3d requested a review from tajgr May 21, 2024 03:23
@m3d m3d merged commit 3737a2d into master May 22, 2024
6 checks passed
@m3d m3d deleted the feature/logger-duration branch May 22, 2024 17:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants