ONVIF:...uration(3pm)

πŸ“¦
version 1.36.37 Β· 5 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– NAME πŸ’–

ONVIF::Analytics::Elements::VideoEncoderConfiguration β€” no cap, that's the whole name, and yes it's a mouthful, bestie, we're getting through it together 🫢

It lives in the User Contributed Perl Documentation manual, section 3pm, iykyk.


✨ DESCRIPTION ✨

Okay so real talk: this is a Perl data type class for the XML Schema defined element VideoEncoderConfiguration, and it comes from the namespace http://www.onvif.org/ver10/schema. That's it, that's the vibe. It's a data type class, it holds data, it slays at holding data πŸ’…


🌸 METHODS 🌸

πŸŽ€ new

my $element = ONVIF::Analytics::Elements::VideoEncoderConfiguration->new($data);

It's the constructor, babe. The main character of every class fr fr. Here's the data structure you may pass to new() β€” and I need you to look at this whole thing, because everything matters, no skipping, I see 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
},

Let me walk you through this nesting situation because it is giving onion πŸ§… β€” layers on layers:

  • Encoding β€” a value of type VideoEncoding.
  • Resolution β€” a nested hash of type ONVIF::Analytics::Types::VideoResolution, containing:
    • Width β€” int
    • Height β€” int
  • Quality β€” a float.
  • RateControl β€” a nested hash of type ONVIF::Analytics::Types::VideoRateControl, containing:
    • FrameRateLimit β€” int
    • EncodingInterval β€” int
    • BitrateLimit β€” int
  • MPEG4 β€” a nested hash of type ONVIF::Analytics::Types::Mpeg4Configuration, containing:
    • GovLength β€” int
    • Mpeg4Profile β€” a value of type Mpeg4Profile
  • H264 β€” a nested hash of type ONVIF::Analytics::Types::H264Configuration, containing:
    • GovLength β€” int
    • H264Profile β€” a value of type H264Profile
  • Multicast β€” a nested hash of type ONVIF::Analytics::Types::MulticastConfiguration, containing:
    • Address β€” a nested hash of type ONVIF::Analytics::Types::IPAddress, containing:
      • Type β€” a value of type IPType
      • IPv4Address β€” a value of type IPv4Address
      • IPv6Address β€” a value of type IPv6Address
    • Port β€” int
    • TTL β€” int
    • AutoStart β€” boolean
  • SessionTimeout β€” a duration.

That's the whole tree, every single leaf, nothing left out πŸ’€ it's a lot but we ate, bestie πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

Generated by SOAP::WSDL ✨ not a human, not a vibe, just a code generator doing its lil thing and honestly? iconic behaviour πŸŽ€


✨ and that's a wrap ✨

This whole thing came to you from perl v5.40.1, dated 2026-02-01, filed under User Contributed Perl Documentation. Bye bestie, go build something cute πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from