Tagged articles
AVFoundation
10 articles · Page 1 of 1
The article explains iOS FairPlay DRM implementation, detailing the encryption workflow, SPC/CKC exchange, and key terminology, and compares two key‑management methods—AVAssetResourceLoader and the newer AVContentKeySession—while covering usage scenarios such as on‑demand, pre‑warming, offline playback, persistable keys, and video downloading via AVAssetDownloadTask.
AVFoundationContentKeyDRM
0 likes · 21 min read

This article explains the fundamentals of audio‑video concepts and demonstrates how to use Android's MediaCodec, EGL, MediaMuxer and iOS's AVAssetWriter, GPUImage, and related native APIs to render OpenGL transition effects on images and combine them with audio into a final video file.
AVFoundationAndroidMediaCodec
0 likes · 23 min read

This tutorial walks through adding sound effects with AVFoundation, creating an AudioPlayer helper, implementing navigation to a custom settings view, and using SwiftUI bindings, forms, and modifiers to build a fully functional iOS “Electronic Wooden Fish” application.
AVFoundationAudio PlaybackSettings
0 likes · 9 min read

This article provides a comprehensive overview of the iOS live‑streaming workflow, detailing the six stages—capture, processing, encoding, packaging, network transmission, and playback—along with sample code for video/audio capture, encoding settings, and RTMP transmission.
AVFoundationRTMPVideo Capture
0 likes · 18 min read

This article explains the complete live‑streaming workflow—from video/audio capture on the broadcaster side, through encoding, transmission, server processing, and playback—while comparing third‑party services with self‑built solutions and providing concrete iOS code examples using AVFoundation, LFLiveKit and GPUImage.
AVFoundationGPUImageLFLiveKit
0 likes · 20 min read

This article explains how MaFengWo’s iOS app implements a flexible video editing framework that supports custom editing and template‑based creation, detailing the requirement analysis, architecture design, AVFoundation‑based implementation, performance optimizations, and future directions for short‑video content.
AVFoundationframeworkiOS
0 likes · 17 min read

This article introduces the fundamentals of video compression, analyzes the shortcomings of traditional iOS compression methods, explains H.264 profile and level concepts, examines device support, and provides a step‑by‑step custom iOS solution for controlling bitrate, resolution and frame rate.
@ProfileAVFoundationH.264
0 likes · 10 min read

This article explains how to employ Apple's AVFoundation framework to capture camera images on iOS, initialize the necessary device input, session, and output components, and then use CoreImage's CIDetector to perform face detection, including code snippets and a practical demo.
AVFoundationCameraCoreImage
0 likes · 6 min read

This technical guide demonstrates how to configure an iOS audio capture session using Swift, implement a custom multiplexer class to safely route microphone input to multiple processing destinations, and efficiently handle real-time audio data streams for language learning applications.
AVFoundationAudio CaptureSwift Programming
0 likes · 7 min read

This article examines the requirements for small video playback and recording in WeChat 6.0, compares four implementation approaches—including MPMoviePlayerController, AVPlayer, and custom AVAssetReader/AVAssetWriter solutions—analyzes their pros, cons, performance and power consumption, and presents the optimal strategy for smooth, low‑latency mobile video handling.
AVFoundationiOSvideo playback
0 likes · 14 min read
