ONVIF:...ptions(3pm)
π ONVIF::Media::Types::OSDConfigurationOptions π
okay bestie, so this is the ONVIF:...ptions(3pm) page β it lives in the User Contributed Perl Documentation section of the manual, and it's all about one very specific little Perl data type class. no cap, it's niche, but it's our niche. β¨
πΈ NAME πΈ
ONVIF::Media::Types::OSDConfigurationOptions β that's the whole name, that's the whole vibe. π
π¦ DESCRIPTION π¦
So like⦠this is a Perl data type class for the XML Schema defined complexType OSDConfigurationOptions, and it comes from the namespace http://www.onvif.org/ver10/schema.
That's it. That's the description. Short and iconic, honestly. π
β¨ PROPERTIES β¨
These are the properties you can get at with the get_PROPERTY / set_PROPERTY methods. Read the list, it's giving very structured:
MaximumNumberOfOSDsTypePositionOptionTextOptionImageOptionExtension
six of them, all lined up, all accounted for. slay. π«Ά
π METHODS π
π new π
Constructor, babes. Here's the data structure you're allowed to pass to new(), and I am pasting it exactly because messing with it would be a crime:
{ # ONVIF::Media::Types::OSDConfigurationOptions
MaximumNumberOfOSDs => ,
Type => $some_value, # OSDType
PositionOption => $some_value, # string
TextOption => { # ONVIF::Media::Types::OSDTextOptions
Type => $some_value, # string
FontSizeRange => { # ONVIF::Media::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
DateFormat => $some_value, # string
TimeFormat => $some_value, # string
FontColor => { # ONVIF::Media::Types::OSDColorOptions
Color => { # ONVIF::Media::Types::ColorOptions
# One of the following elements.
# No occurrence checks yet, so be sure to pass just one...
ColorList => ,
ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange
X => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Y => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Z => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Colorspace => $some_value, # anyURI
},
},
Transparent => { # ONVIF::Media::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
Extension => { # ONVIF::Media::Types::OSDColorOptionsExtension
},
},
BackgroundColor => { # ONVIF::Media::Types::OSDColorOptions
Color => { # ONVIF::Media::Types::ColorOptions
# One of the following elements.
# No occurrence checks yet, so be sure to pass just one...
ColorList => ,
ColorspaceRange => { # ONVIF::Media::Types::ColorspaceRange
X => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Y => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Z => { # ONVIF::Media::Types::FloatRange
Min => $some_value, # float
Max => $some_value, # float
},
Colorspace => $some_value, # anyURI
},
},
Transparent => { # ONVIF::Media::Types::IntRange
Min => $some_value, # int
Max => $some_value, # int
},
Extension => { # ONVIF::Media::Types::OSDColorOptionsExtension
},
},
Extension => { # ONVIF::Media::Types::OSDTextOptionsExtension
},
},
ImageOption => { # ONVIF::Media::Types::OSDImgOptions
ImagePath => $some_value, # anyURI
Extension => { # ONVIF::Media::Types::OSDImgOptionsExtension
},
},
Extension => { # ONVIF::Media::Types::OSDConfigurationOptionsExtension
},
},
ok so real talk for a sec π β see where it says# One of the following elements.and# No occurrence checks yet, so be sure to pass just one...? That's a genuine warning, not a cute aside. There are no occurrence checks yet, so you have to be the responsible one and pass just one. the code will not hold your hand here, bestie. π
π AUTHOR π
Generated by SOAP::WSDL. it made itself, basically. main character energy fr fr. β¨
perl v5.40.1 Β· 2026-02-01 Β· and we were hanging out in the ONVIF:...ptions(3pm) corner of the User Contributed Perl Documentation section this whole time π
that's the page!! go forth and configure your OSDs, you absolute icon π¦π mwah π
π¦ where this page comes from
- ubuntu resolute: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- ubuntu stonking: zoneminder 1.36.37+dfsg1-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms