Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
假设我有一个 iPhone 可以播放的视频,我想获得这些信息:
codec format demuxer duration h264 profile h264 level FPS width in pixel height in pixel audio format audio bitrate audio channel count
我相信在 iOS 中有一些类或框架,但我找不到它。
你正在寻找AVFoundation. 查看AVAsset.
AVFoundation
AVAsset