美文网首页AVFoundationAVFoundataon
AVFoundation框架解析(十二)—— AVFoundat

AVFoundation框架解析(十二)—— AVFoundat

作者: 刀客传奇 | 来源:发表于2017-09-01 12:51 被阅读391次

    版本记录

    版本号 时间
    V1.0 2017.09.01

    前言

    AVFoundation框架是ios中很重要的框架,所有与视频音频相关的软硬件控制都在这个框架里面,接下来这几篇就主要对这个框架进行介绍和讲解。感兴趣的可以看我上几篇。
    1. AVFoundation框架解析(一)—— 基本概览
    2. AVFoundation框架解析(二)—— 实现视频预览录制保存到相册
    3. AVFoundation框架解析(三)—— 几个关键问题之关于框架的深度概括
    4. AVFoundation框架解析(四)—— 几个关键问题之AVFoundation探索(一)
    5. AVFoundation框架解析(五)—— 几个关键问题之AVFoundation探索(二)
    6. AVFoundation框架解析(六)—— 视频音频的合成(一)
    7. AVFoundation框架解析(七)—— 视频组合和音频混合调试
    8. AVFoundation框架解析(八)—— 优化用户的播放体验
    9. AVFoundation框架解析(九)—— AVFoundation的变化(一)
    10. AVFoundation框架解析(十)—— AVFoundation的变化(二)
    11. AVFoundation框架解析(十一)—— AVFoundation的变化(三)

    AVFoundation的变化

    我写这篇文章的时候是2017-09-01,文档中列出了AVFoundation框架的更新和改变,下面我就给大家列出来一下。


    AVPlayerItemTrack.h

    Added AVPlayerItemTrack
    Added AVPlayerItemTrack.assetTrack
    Added AVPlayerItemTrack.enabled


    AVPlayerLayer.h

    Added AVPlayerLayer
    Added AVPlayerLayer.player
    Added +[AVPlayerLayer playerLayerWithPlayer:]
    Added AVPlayerLayer.readyForDisplay
    Added AVPlayerLayer.videoGravity


    AVSynchronizedLayer.h

    Added AVSynchronizedLayer
    Added AVSynchronizedLayer.playerItem
    Added +[AVSynchronizedLayer synchronizedLayerWithPlayerItem:]


    AVTime.h

    Added -[NSCoder decodeCMTimeForKey:]
    Added -[NSCoder decodeCMTimeMappingForKey:]
    Added -[NSCoder decodeCMTimeRangeForKey:]
    Added -[NSCoder encodeCMTime:forKey:]
    Added -[NSCoder encodeCMTimeMapping:forKey:]
    Added -[NSCoder encodeCMTimeRange:forKey:]
    Added -[NSValue CMTimeMappingValue]
    Added -[NSValue CMTimeRangeValue]
    Added -[NSValue CMTimeValue]
    Added +[NSValue valueWithCMTime:]
    Added +[NSValue valueWithCMTimeMapping:]
    Added +[NSValue valueWithCMTimeRange:]
    Added NSCoder(AVTimeCoding)
    Added NSValue(NSValueAVFoundationExtensions)


    AVTimedMetadataGroup.h

    Added AVMutableTimedMetadataGroup
    Added AVMutableTimedMetadataGroup.items
    Added AVMutableTimedMetadataGroup.timeRange
    Added AVTimedMetadataGroup
    Added -[AVTimedMetadataGroup initWithItems:timeRange:]
    Added AVTimedMetadataGroup.items
    Added AVTimedMetadataGroup.timeRange


    AVUtilities.h

    Added AVMakeRectWithAspectRatioInsideRect()


    AVVideoComposition.h

    Added -[AVAsset unusedTrackID]
    Added AVMutableVideoComposition
    Added AVMutableVideoComposition.animationTool
    Added AVMutableVideoComposition.frameDuration
    Added AVMutableVideoComposition.instructions
    Added AVMutableVideoComposition.renderScale (no architecture available)
    Added AVMutableVideoComposition.renderSize
    Added +[AVMutableVideoComposition videoComposition]
    Added AVMutableVideoCompositionInstruction
    Added AVMutableVideoCompositionInstruction.backgroundColor
    Added AVMutableVideoCompositionInstruction.enablePostProcessing
    Added AVMutableVideoCompositionInstruction.layerInstructions
    Added AVMutableVideoCompositionInstruction.timeRange
    Added +[AVMutableVideoCompositionInstruction videoCompositionInstruction]
    Added AVMutableVideoCompositionLayerInstruction
    Added -[AVMutableVideoCompositionLayerInstruction setOpacity:atTime:]
    Added -[AVMutableVideoCompositionLayerInstruction setOpacityRampFromStartOpacity:toEndOpacity:timeRange:]
    Added -[AVMutableVideoCompositionLayerInstruction setTransform:atTime:]
    Added -[AVMutableVideoCompositionLayerInstruction setTransformRampFromStartTransform:toEndTransform:timeRange:]
    Added AVMutableVideoCompositionLayerInstruction.trackID
    Added +[AVMutableVideoCompositionLayerInstruction videoCompositionLayerInstruction]
    Added +[AVMutableVideoCompositionLayerInstruction videoCompositionLayerInstructionWithAssetTrack:]
    Added AVVideoComposition
    Added AVVideoComposition.animationTool
    Added AVVideoComposition.frameDuration
    Added AVVideoComposition.instructions
    Added AVVideoComposition.renderScale (no architecture available)
    Added AVVideoComposition.renderSize
    Added AVVideoCompositionCoreAnimationTool
    Added +[AVVideoCompositionCoreAnimationTool videoCompositionCoreAnimationToolWithAdditionalLayer:asTrackID:]
    Added +[AVVideoCompositionCoreAnimationTool videoCompositionCoreAnimationToolWithPostProcessingAsVideoLayer:inLayer:]
    Added AVVideoCompositionInstruction
    Added AVVideoCompositionInstruction.backgroundColor
    Added AVVideoCompositionInstruction.enablePostProcessing
    Added AVVideoCompositionInstruction.layerInstructions
    Added AVVideoCompositionInstruction.timeRange
    Added AVVideoCompositionLayerInstruction
    Added -[AVVideoCompositionLayerInstruction getOpacityRampForTime:startOpacity:endOpacity:timeRange:]
    Added -[AVVideoCompositionLayerInstruction getTransformRampForTime:startTransform:endTransform:timeRange:]
    Added AVVideoCompositionLayerInstruction.trackID
    Added AVAsset(AVAssetVideoCompositionUtility)


    AVVideoSettings.h

    Added AVVideoAverageBitRateKey
    Added AVVideoCleanApertureHeightKey
    Added AVVideoCleanApertureHorizontalOffsetKey
    Added AVVideoCleanApertureKey
    Added AVVideoCleanApertureVerticalOffsetKey
    Added AVVideoCleanApertureWidthKey
    Added AVVideoCodecAppleProRes422
    Added AVVideoCodecAppleProRes4444
    Added AVVideoCodecH264
    Added AVVideoCodecJPEG
    Added AVVideoCodecKey
    Added AVVideoColorPrimariesKey
    Added AVVideoColorPrimaries_EBU_3213
    Added AVVideoColorPrimaries_ITU_R_709_2
    Added AVVideoColorPrimaries_SMPTE_C
    Added AVVideoColorPropertiesKey
    Added AVVideoCompressionPropertiesKey
    Added AVVideoHeightKey
    Added AVVideoMaxKeyFrameIntervalKey
    Added AVVideoPixelAspectRatioHorizontalSpacingKey
    Added AVVideoPixelAspectRatioKey
    Added AVVideoPixelAspectRatioVerticalSpacingKey
    Added AVVideoQualityKey
    Added AVVideoScalingModeFit
    Added AVVideoScalingModeKey
    Added AVVideoScalingModeResize
    Added AVVideoScalingModeResizeAspect
    Added AVVideoScalingModeResizeAspectFill
    Added AVVideoTransferFunctionKey
    Added AVVideoTransferFunction_ITU_R_709_2
    Added AVVideoTransferFunction_SMPTE_240M_1995
    Added AVVideoWidthKey
    Added AVVideoYCbCrMatrixKey
    Added AVVideoYCbCrMatrix_ITU_R_601_4
    Added AVVideoYCbCrMatrix_ITU_R_709_2
    Added AVVideoYCbCrMatrix_SMPTE_240M_1995

    后记

    未完,待续~~~~

    相关文章

      网友评论

        本文标题:AVFoundation框架解析(十二)—— AVFoundat

        本文链接:https://www.haomeiwen.com/subject/mlnhjxtx.html