ONVIF::...uration(3)
π ONVIF::Analytics::Types::VideoEncoderConfiguration π
okay bestie, so this is a page from the User Contributed Perl Documentation and honestly? it's serving very specific cpan energy. we're talking about ONVIF::Analytics::Types::VideoEncoderConfiguration β a whole Perl data type class, no cap. π
β¨ DESCRIPTION β¨
So like, this class is the Perl data type class for the XML Schema defined complexType VideoEncoderConfiguration, and it lives in the namespace http://www.onvif.org/ver10/schema. that's the whole vibe. iykyk. π
πΈ PROPERTIES πΈ
these are the properties you can touch, and the way you touch them is with the get_PROPERTY / set_PROPERTY methods. slay, consistent queen:
EncodingResolutionQualityRateControlMPEG4H264MulticastSessionTimeout
like, all eight of them. nobody left behind. π«Ά
π¦ METHODS π¦
new
the constructor, obviously. it's giving main character. π
here's the data structure you're allowed to pass to new(), copied exactly so you don't have to guess (and pls don't guess, bestie, the schema will not forgive you):
{ # ONVIF::Analytics::Types::VideoEncoderConfiguration
Encoding => $some_value, # VideoEncoding
Resolution => { # ONVIF::Analytics::Types::VideoResolution
Width => $some_value, # int
Height => $some_value, # int
},
Quality => $some_value, # float
RateControl => { # ONVIF::Analytics::Types::VideoRateControl
FrameRateLimit => $some_value, # int
EncodingInterval => $some_value, # int
BitrateLimit => $some_value, # int
},
MPEG4 => { # ONVIF::Analytics::Types::Mpeg4Configuration
GovLength => $some_value, # int
Mpeg4Profile => $some_value, # Mpeg4Profile
},
H264 => { # ONVIF::Analytics::Types::H264Configuration
GovLength => $some_value, # int
H264Profile => $some_value, # H264Profile
},
Multicast => { # ONVIF::Analytics::Types::MulticastConfiguration
Address => { # ONVIF::Analytics::Types::IPAddress
Type => $some_value, # IPType
IPv4Address => $some_value, # IPv4Address
IPv6Address => $some_value, # IPv6Address
},
Port => $some_value, # int
TTL => $some_value, # int
AutoStart => $some_value, # boolean
},
SessionTimeout => $some_value, # duration
},
look at all those nested hashes. it's giving russian nesting dolls but make it video encoding. π₯ the comments on the right are the types each value expects β VideoEncoding, int, float, Mpeg4Profile, H264Profile, IPType, IPv4Address, IPv6Address, boolean, duration β keep an eye on those, fr fr. π
π AUTHOR π
Generated by SOAP::WSDL. that's it, that's the author. iconic minimalism. β
so yeah, that's the whole page bestie. go forth and configure your video encoders. π
π§ signing off β this was perl v5.42.3, dated 1980-01-01, page ONVIF::...uration(3). yes the date is older than everyone alive, don't ask, periodt. ππΈ
π¦ where this page comes from
- nixpkgs unstable: zoneminder 1.38.6
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms