ONVIF::...bilities(3)

πŸ“¦ version 1.38.6, in nixpkgs unstable

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

okay bestie, so this page is straight out of the User Contributed Perl Documentation (iykyk, the classic perl v5.42.3 joint from way back on 1980-01-01 β€” we'll get to that at the end πŸŽ€). The full title vibe is ONVIF::...bilities(3) but the actual class is ONVIF::PTZ::Types::CodingCapabilities and yes, it's exactly as niche as it sounds. Let's go ✨


✨ NAME ✨

ONVIF::PTZ::Types::CodingCapabilities β€” say it three times fast, I dare you πŸ¦‹


🌸 DESCRIPTION 🌸

So this is a Perl data type class for the XML Schema defined complexType CodingCapabilities, and it lives in the namespace http://www.onvif.org/ver10/schema. Very demure, very ONVIF.

What does it actually do? It's your little container for the Audio and Video coding capabilities of a display service. That's the whole vibe β€” a capabilities holder. Iconic, honestly πŸ‘‘


πŸŽ€ PROPERTIES πŸŽ€

The following properties may be accessed using get_PROPERTY / set_PROPERTY methods. Yes, the method names are literally get_ and set_ glued onto the property name β€” no cap, that's the pattern πŸ’…

  • AudioEncodingCapabilities β€” the audio encoding side of things 🎧
  • AudioDecodingCapabilities β€” the audio decoding side πŸ”Š
  • VideoDecodingCapabilities β€” and the video decoding side πŸ“Ή

πŸ¦‹ METHODS πŸ¦‹

⭐ new ⭐

Constructor! Main character energy. The following data structure may be passed to new() β€” and bestie, it's a big one, so buckle up and keep every brace exactly where it is:

 { # ONVIF::PTZ::Types::CodingCapabilities
  AudioEncodingCapabilities =>  { # ONVIF::PTZ::Types::AudioEncoderConfigurationOptions
    Options =>  { # ONVIF::PTZ::Types::AudioEncoderConfigurationOption
      Encoding => $some_value, # AudioEncoding
      BitrateList =>  { # ONVIF::PTZ::Types::IntList
        Items =>  $some_value, # int
      },
      SampleRateList =>  { # ONVIF::PTZ::Types::IntList
        Items =>  $some_value, # int
      },
    },
  },
  AudioDecodingCapabilities =>  { # ONVIF::PTZ::Types::AudioDecoderConfigurationOptions
    AACDecOptions =>  { # ONVIF::PTZ::Types::AACDecOptions
      Bitrate =>  { # ONVIF::PTZ::Types::IntList
        Items =>  $some_value, # int
      },
      SampleRateRange =>  { # ONVIF::PTZ::Types::IntList
        Items =>  $some_value, # int
      },
    },
    G711DecOptions =>  { # ONVIF::PTZ::Types::G711DecOptions
      Bitrate =>  { # ONVIF::PTZ::Types::IntList
        Items =>  $some_value, # int
      },
      SampleRateRange =>  { # ONVIF::PTZ::Types::IntList
        Items =>  $some_value, # int
      },
    },
    G726DecOptions =>  { # ONVIF::PTZ::Types::G726DecOptions
      Bitrate =>  { # ONVIF::PTZ::Types::IntList
        Items =>  $some_value, # int
      },
      SampleRateRange =>  { # ONVIF::PTZ::Types::IntList
        Items =>  $some_value, # int
      },
    },
    Extension =>  { # ONVIF::PTZ::Types::AudioDecoderConfigurationOptionsExtension
    },
  },
  VideoDecodingCapabilities =>  { # ONVIF::PTZ::Types::VideoDecoderConfigurationOptions
    JpegDecOptions =>  { # ONVIF::PTZ::Types::JpegDecOptions
      ResolutionsAvailable =>  { # ONVIF::PTZ::Types::VideoResolution
        Width =>  $some_value, # int
        Height =>  $some_value, # int
      },
      SupportedInputBitrate =>  { # ONVIF::PTZ::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
      SupportedFrameRate =>  { # ONVIF::PTZ::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
    },
    H264DecOptions =>  { # ONVIF::PTZ::Types::H264DecOptions
      ResolutionsAvailable =>  { # ONVIF::PTZ::Types::VideoResolution
        Width =>  $some_value, # int
        Height =>  $some_value, # int
      },
      SupportedH264Profiles => $some_value, # H264Profile
      SupportedInputBitrate =>  { # ONVIF::PTZ::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
      SupportedFrameRate =>  { # ONVIF::PTZ::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
    },
    Mpeg4DecOptions =>  { # ONVIF::PTZ::Types::Mpeg4DecOptions
      ResolutionsAvailable =>  { # ONVIF::PTZ::Types::VideoResolution
        Width =>  $some_value, # int
        Height =>  $some_value, # int
      },
      SupportedMpeg4Profiles => $some_value, # Mpeg4Profile
      SupportedInputBitrate =>  { # ONVIF::PTZ::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
      SupportedFrameRate =>  { # ONVIF::PTZ::Types::IntRange
        Min =>  $some_value, # int
        Max =>  $some_value, # int
      },
    },
    Extension =>  { # ONVIF::PTZ::Types::VideoDecoderConfigurationOptionsExtension
    },
  },
},
ngl that's a lot of nesting β€” but every $some_value and every # int comment is doing its job, so just copy the shape and slay 🫢

πŸ‘‘ AUTHOR πŸ‘‘

  • Generated by SOAP::WSDL β€” that's the whole author line, and honestly? It's giving "the machine wrote me and I'm thriving" πŸ€–βœ¨

aaaaand scene πŸ’– that footer you saw lurking? It's perl v5.42.3, dated 1980-01-01, stamped onto the User Contributed Perl Documentation page for ONVIF::...bilities(3) β€” and now it's a cute little sign-off instead of a boring last line. bye bestie, go decode some video πŸŒˆπŸ¦‹πŸŽ€

πŸ“¦ where this page comes from