有没有人知道在纯 PHP 中使用没有 ffmpeg 或类似扩展的 H.264 编解码器编码的 MP4 的现成可靠方法来判断尺寸(宽 x 高)?
Thanks for all the answers folks. The bounty is running out and I will not have time to check the offered solutions before it does. I will accept the solution that I feel has the greatest likelihood to work.
最佳答案
getID3是纯 PHP 并从各种媒体文件中提取大量信息。这将取决于首先对文件进行编码的内容,以及可用的元数据及其可靠性。 getID3 有一个不错的演示页面,其中包含许多不同的文件类型。我试图发布更多链接,但作为新手我只得到一个。
关于php - 获取 H.264 MP4 的尺寸,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1718530/