AMF可以来查询支持的编解码能力

发布于 2020-11-08  275 次阅读


  1. 解码
  2. 编码

2.1 H264 AVC

  1. support AVC
  2. accelerationtype:
    AMF_ACCEL_NOT_SUPPORTED
    AMF_ACCEL_HARDWARE
    AMF_ACCEL_GPU
    AMF_ACCEL_SOFTWARE
  3. max profile:
    amf_uint32
  4. max level:
    amf_uint32
  5. max temporal layers:
    amf_uint32
  6. support b frame
    bool
  7. max num of streams
    amf_uint32
  8. num of hw instances
    amf_uint32
  9. input caps
    (1) min width
    (2) max width
    (3) min height
    (4) max height
    (5) vert align
    (6) support interlaced
    (7) num of formats
    (8) formats
    (9) native
    (10) num of memory
    (11) memory
    (12) native
  10. output caps
    与input caps一致

2.2 H264 SVC

2.3 H265

  1. support HEVC
  2. accelerationtype:
    AMF_ACCEL_NOT_SUPPORTED
    AMF_ACCEL_HARDWARE
    AMF_ACCEL_GPU
    AMF_ACCEL_SOFTWARE
  3. max profile:
    amf_uint32
  4. max tier
    amf_uint32
  5. max level:
    amf_uint32
  6. max num of streams
    amf_uint32
  7. input caps
    (1) min width
    (2) max width
    (3) min height
    (4) max height
    (5) vert align
    (6) support interlaced
    (7) num of formats
    (8) formats
    (9) native
    (10) num of memory
    (11) memory
    (12) native
  8. output caps
    与input caps一致

3 转换


朝闻道,夕死可矣