AVAsset(AliyunSDKInfo)

@interface AVAsset (AliyunSDKInfo)

AVAsset扩展Category

  • 获取asset显示的宽高

    Declaration

    Objective-C

    - (CGSize)aliyunNaturalSize;

    Return Value

    size

  • 获取asset帧率

    Declaration

    Objective-C

    - (CGFloat)aliyunFrameRate;

    Return Value

    帧率

  • 获取asset码率

    Declaration

    Objective-C

    - (CGFloat)aliyunBitrate;

    Return Value

    码率,单位:bps

  • 获取asset时长

    Declaration

    Objective-C

    - (CGFloat)aliyunDuration;

    Return Value

    时长,单位:秒

  • 获取asset视频流时长

    Declaration

    Objective-C

    - (CGFloat)aliyunVideoDuration;

    Return Value

    时长,单位:秒

  • 获取asset音频流时长

    Declaration

    Objective-C

    - (CGFloat)aliyunAudioDuration;

    Return Value

    时长,单位:秒

  • Deprecated

    deprecated

    获取关键帧间隔

    该方法耗时

    Declaration

    Objective-C

    - (CGFloat)aliyunEstimatedKeyframeInterval;

    Return Value

    关键帧间隔