ONVIF:...ration(3pm)
π NAME π
ok so bestie, this is ONVIF::Device::Elements::VideoEncoderConfiguration β it's a Perl data type class, and it lives in the 3pm manual section (yes that's the "Perl module" section, iykyk). Basically it's the little Perl buddy that represents the XML Schema element VideoEncoderConfiguration from the http://www.onvif.org/ver10/schema namespace. That's the whole vibe. π
β¨ DESCRIPTION β¨
okay so real talk: this is a Perl data type class for the XML Schema defined element VideoEncoderConfiguration, and that element comes straight from the namespace http://www.onvif.org/ver10/schema. It's giving "SOAP-adjacent, very structured, extremely XML" and honestly? we love a well-defined schema moment. π
πΈ METHODS πΈ
π¦ new
my $element = ONVIF::Device::Elements::VideoEncoderConfiguration->new($data);
so this is the constructor, bestie β you call it to make a whole new element. and here's the tea: the following data structure may be passed to new(), so peek at the shape of it below before you go building one, fr fr π
{ # ONVIF::Device::Types::VideoEncoderConfiguration
Encoding => $some_value, # VideoEncoding
Resolution => { # ONVIF::Device::Types::VideoResolution
Width => $some_value, # int
Height => $some_value, # int
},
Quality => $some_value, # float
RateControl => { # ONVIF::Device::Types::VideoRateControl
FrameRateLimit => $some_value, # int
EncodingInterval => $some_value, # int
BitrateLimit => $some_value, # int
},
MPEG4 => { # ONVIF::Device::Types::Mpeg4Configuration
GovLength => $some_value, # int
Mpeg4Profile => $some_value, # Mpeg4Profile
},
H264 => { # ONVIF::Device::Types::H264Configuration
GovLength => $some_value, # int
H264Profile => $some_value, # H264Profile
},
Multicast => { # ONVIF::Device::Types::MulticastConfiguration
Address => { # ONVIF::Device::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
},
like, look at all those nested hashes β it's giving family tree π§ every one of those keys is exactly as written, no cap, so don't go renaming GovLength or SessionTimeout or anything, okay? π the comments next to each one tell you the type, and you can trust them π
π AUTHOR π
Generated by SOAP::WSDL. iconic behavior honestly, it just generates the whole thing for you and dips π«Ά
okay that's the page!! π one last thing before you go, bestie β this lil doc is from perl v5.40.1, dated 2026-02-01, and it's filed under ONVIF:...ration(3pm) in the User Contributed Perl Documentation. slay, go forth and encode some video configs β¨π
π¦ 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