ONVIF::...uration(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’… ONVIF::PTZ::Types::VideoEncoderConfiguration πŸ’…

okay hi bestie 🫢 welcome to the glow-up of ONVIF::...uration(3) β€” yes that's the manual name, and yes it's a mouthful, but we move. this is the man page for ONVIF::PTZ::Types::VideoEncoderConfiguration, and it's literally about making your video encoder config not be a mess. let's get into it ✨


🌸 NAME 🌸

ONVIF::PTZ::Types::VideoEncoderConfiguration

it's a Perl data type class for the XML Schema defined complexType VideoEncoderConfiguration, and it comes from the namespace http://www.onvif.org/ver10/schema. periodt. πŸ‘‘


πŸ¦‹ DESCRIPTION πŸ¦‹

so basically: this class exists so Perl can handle VideoEncoderConfiguration as a proper data type. no cap, that's the whole vibe. it's a typed little container, and the complexType it maps to is the one living at http://www.onvif.org/ver10/schema.

πŸŽ€ PROPERTIES πŸŽ€

these are the properties you can get at with get_PROPERTY / set_PROPERTY methods. like, that's the access pattern, that's the lore:

  • Encoding
  • Resolution
  • Quality
  • RateControl
  • MPEG4
  • H264
  • Multicast
  • SessionTimeout

πŸ”₯ METHODS πŸ”₯

πŸ’– new

the constructor, the main character, the moment everything begins. ✨ here's the data structure you may pass to new() β€” read it slow, bestie, it's nested like a set of matryoshka dolls:

 { # ONVIF::PTZ::Types::VideoEncoderConfiguration
   Encoding => $some_value, # VideoEncoding
   Resolution =>  { # ONVIF::PTZ::Types::VideoResolution
     Width =>  $some_value, # int
     Height =>  $some_value, # int
   },
   Quality =>  $some_value, # float
   RateControl =>  { # ONVIF::PTZ::Types::VideoRateControl
     FrameRateLimit =>  $some_value, # int
     EncodingInterval =>  $some_value, # int
     BitrateLimit =>  $some_value, # int
   },
   MPEG4 =>  { # ONVIF::PTZ::Types::Mpeg4Configuration
     GovLength =>  $some_value, # int
     Mpeg4Profile => $some_value, # Mpeg4Profile
   },
   H264 =>  { # ONVIF::PTZ::Types::H264Configuration
     GovLength =>  $some_value, # int
     H264Profile => $some_value, # H264Profile
   },
   Multicast =>  { # ONVIF::PTZ::Types::MulticastConfiguration
     Address =>  { # ONVIF::PTZ::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, Resolution has its own Width and Height, RateControl brings FrameRateLimit, EncodingInterval and BitrateLimit, MPEG4 and H264 each have a GovLength plus their own profile field, and Multicast goes full nesting mode with an Address block holding Type, IPv4Address and IPv6Address, plus Port, TTL and AutoStart. and don't forget SessionTimeout, which is a duration. it's giving organizational queen. 🧚


🌈 AUTHOR 🌈

Generated by SOAP::WSDL β€” shoutout to the generator, it did that. πŸ’œ


aaaand that's a wrap, bestie! πŸŽ€ this page is perl v5.42.3, dated 1980-01-01, brought to you under the manual name ONVIF::...uration(3) β€” iconic numbers honestly, we love a timestamp that predates us all 😭✨ go forth and encode responsibly. πŸ¦‹

πŸ“¦ where this page comes from