ONVIF::...uration(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

πŸ’– 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:

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

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