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

custom text and time stamp together as an annotation? #45

Closed
chetanbnaik opened this issue Jan 10, 2016 · 2 comments
Closed

custom text and time stamp together as an annotation? #45

chetanbnaik opened this issue Jan 10, 2016 · 2 comments

Comments

@chetanbnaik
Copy link

hi, is it possible to overlay a text that contains both custom text and time stamp together?

@thaytan
Copy link
Owner

thaytan commented Jan 11, 2016

The annotation-mode property is a bitmask. You can set any of custom-text (0x1) and date (0x4) and/or time (0x8) simultaneously by or'ing the values, or setting a string like 'annotation-mode=custom-text+date+time'

The actual custom text is set in the annotation-text property.

@chetanbnaik
Copy link
Author

thanks a lot. I am using gstreamer through python. so the following works:
rpisrc.set_property("annotation-mode",0x1 + 0x4 + 0x8)

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

No branches or pull requests

2 participants