简体   繁体   中英

How can I determine the pixel aspect ratio of a media file using AVFoundation on Lion?

As part of a 64 bit Objective-C program I need to determine some parameters of media files on Lion. For example for a video file, what is the pixel aspect ratio and is the video anamorphic? I've been searching the AVFoundation API with no luck. Any ideas on how to determine this information?

Thanks,

Barrie

尽管我不是AVFoundation专家,但我将开始在视频设置中查看AVVideoWidthKey和AVVideoHeightKey字典键。.请参阅http://developer.apple.com/library/IOs/#documentation/AVFoundation/Reference/AVFoundation_Constants/Reference/reference .html

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM